Hello,
I have a row of 4 cells each containing an "if formula" to get information from another worksheet. An example of the formula in these cells is: =IF('2009'!E2>0,'2009'!E2,""). My problem is trying to find the total of these cells. I'm adding 3 and subtracting 1. The formula I'm using is: =IF(SUM(C2,E2:F2)>0,SUM(C2-D2+E2+F2),""). The formula works great if all 4 cells have a value in it; however, if one is blank, #VALUE! shows in the cell. Is it possible to do what I'm trying to?
Thanks for any help.
Configuration: Windows XP Internet Explorer 8.0
Here i used N() to convert the text into value "0". Below example will explain remain usage of N()
A2=7
A3=Hello
A4=TRUE
A5=4/17/2008
Formula Description (Result)
=N(A2) Because A2 contains a number, it is returned (7)
=N(A3) Because A3 contains text, 0 is returned (0, see above)
=N(A4) Because A4 is the logical value TRUE, 1 is returned (1, see above)
=N(A5) Because A5 is a date, the serial number is returned (varies with the date system used)
=N("7") Because "7" is text, 0 is returned (0, see above)
Never ashamed to get or give Advise. Muhammad Mubashir Aziz , Lodhran, Pakistan |