Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I need a formula in Excel 2007 that says
=IF($A29=1),$B$2-$B$14*(C$16-$C$16) or (IF($A29=2),$B$2-$B$14*(E$16-$E$16) Else 0 Kindly help Thank you. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
HI
=IF($A29=1,$B$2-$B$14*(C$16-$C$16),IF($A29=2,$B$2-$B$14*(E$16-$E$16),0)) Regards, Per "Tiffany" skrev i meddelelsen ... I need a formula in Excel 2007 that says =IF($A29=1),$B$2-$B$14*(C$16-$C$16) or (IF($A29=2),$B$2-$B$14*(E$16-$E$16) Else 0 Kindly help Thank you. |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
This part of the formula always returns 0
(C$16-$C$16) So $B$14 * (C$16-$C$16) will always returns 0 Edit the below formula and use =IF(A29=1,truepartif1,IF(A29=2,truepartif2,0)) -- Jacob "Tiffany" wrote: I need a formula in Excel 2007 that says =IF($A29=1),$B$2-$B$14*(C$16-$C$16) or (IF($A29=2),$B$2-$B$14*(E$16-$E$16) Else 0 Kindly help Thank you. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
IF statements | Excel Worksheet Functions | |||
IF statements | Excel Worksheet Functions | |||
IF Statements (Mutliple Statements) | Excel Worksheet Functions | |||
If Statements: | Excel Discussion (Misc queries) | |||
if statements | Excel Discussion (Misc queries) |