Home |
Search |
Today's Posts |
#10
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Assuming that that others have been saying about the additional comma,
because you are referencing the same set of cell in all three options the formula can be shortened to: =IF(B28="cash",0,SUM(E2,E3,E5,K49)+IF(B28="no",E4, IF(B28="neither",SUM(E4,B19,B22),0))) Note however that it will return SUM(E2,E3,E5,K49) for "yes" or any other entry in B28 except "no" or "neither" If this is not acceptable then add another IF before the SUM(E2,E3,E5,K49) -- HTH Sandy with @tiscali.co.uk "bmccabe" wrote in message ... I am having a difficult time getting this if formula to work. All of the individual pieces work fine and three pieces work as a three-argument statement. When I add the last argument ... IF(B28="neither",E2+e3+e4+E5+B19+B22+k49 ... I get this error: "You've entered too many arguments for this function." Here is the whole formula: =IF(B28="cash",0,IF(B28="yes",E2+E3+E5+K49,IF(B28= "no",E2+E3+E4,+E5+K49,IF(B28="neither",E2+E3+E4+E5 +B19+B22+k49)))) |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Count occurances of multiple arguments | Excel Discussion (Misc queries) | |||
Please, need help with multiple "if" conditions | Excel Discussion (Misc queries) | |||
Multiple vlookup arguments | Excel Worksheet Functions | |||
Can I get the mode, min, and max with multiple criteria? | Excel Discussion (Misc queries) | |||
XML / parent with multiple children and with multiple children | Excel Discussion (Misc queries) |