View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
TammyS TammyS is offline
external usenet poster
 
Posts: 19
Default Negative numbers in an IF formula

I'm working on an IF formula:

=IF(D9="","",IF(AND(G90,G100),"",IF(G9=G10,G9,G 10))+IF(E10=0,"",E10))

G9 and G10 can be positive or negative. If G9 or G10 is a negative number,
I want the greater of the two to be used and then to be added to E10. But
right now, Excel is saying -20 (which is G10) is greater than zero. I'm
getting a VALUE error.
Thanks.

TammyS