Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I'm trying to use the IF function to return either a 0 or the result of a
forumla. See example below. col. A Col. B col. c (Formula) col. C result 8 $18 =IF (A1<20,"0", A120,"result of B1*24") 0 22 $84 =IF (A2<20,"0", A220,"result of B2*24") $2,016 How can I write the formula so that result in Col C. is can return the result of a formula? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=IF(A1<20,0,B1*24)
Copy down -- Kind regards, Niek Otten "AKlein" wrote in message ... I'm trying to use the IF function to return either a 0 or the result of a forumla. See example below. col. A Col. B col. c (Formula) col. C result 8 $18 =IF (A1<20,"0", A120,"result of B1*24") 0 22 $84 =IF (A2<20,"0", A220,"result of B2*24") $2,016 How can I write the formula so that result in Col C. is can return the result of a formula? |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I think you need the formula
=IF(A1<20,0,IF(A120,B1*24,FALSE)) -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "AKlein" wrote in message ... I'm trying to use the IF function to return either a 0 or the result of a forumla. See example below. col. A Col. B col. c (Formula) col. C result 8 $18 =IF (A1<20,"0", A120,"result of B1*24") 0 22 $84 =IF (A2<20,"0", A220,"result of B2*24") $2,016 How can I write the formula so that result in Col C. is can return the result of a formula? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
VBA | Excel Worksheet Functions | |||
Valid formula result in Function Box but Cell displays #VALUE | Excel Discussion (Misc queries) | |||
Formula checking multiple worksheets | Excel Worksheet Functions | |||
Amount or Numbers in Words | New Users to Excel | |||
GET.CELL | Excel Worksheet Functions |