Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I am getting #Name? using this formula
=iif(O455<0,0,(IF(N4550,(P455*M455),0)),((N455*M4 55)-(O455*M455))) I want to the cell to be 0 if the calculations are negative. Thanks |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Use IF, not IIF
IIF is for Access; IF is for Excel. Dave -- Brevity is the soul of wit. "JoeA2006" wrote: I am getting #Name? using this formula =iif(O455<0,0,(IF(N4550,(P455*M455),0)),((N455*M4 55)-(O455*M455))) I want to the cell to be 0 if the calculations are negative. Thanks |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Even with IF the formula still doesn't work as you have
=IF(condition1, action1,IF(condition2, action2_true,action2_false)),more code) it should stop before the more code, it will never get there. What are you trying too do? -- --- HTH Bob (change the xxxx to gmail if mailing direct) "Dave F" wrote in message ... Use IF, not IIF IIF is for Access; IF is for Excel. Dave -- Brevity is the soul of wit. "JoeA2006" wrote: I am getting #Name? using this formula =iif(O455<0,0,(IF(N4550,(P455*M455),0)),((N455*M4 55)-(O455*M455))) I want to the cell to be 0 if the calculations are negative. Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Nested Sub-Totals in Excel | Excel Discussion (Misc queries) | |||
Nested IF statement with VLOOKUP | Excel Discussion (Misc queries) | |||
Nested Subtotals in Excel 2002 | Excel Discussion (Misc queries) | |||
Why are my nested sub-totals are displaying incorrectly? | Excel Discussion (Misc queries) | |||
Nested IF statements | Excel Worksheet Functions |