View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CarlosAntenna CarlosAntenna is offline
external usenet poster
 
Posts: 22
Default IF Statements using BUT - is there such a thing

Cell XX can only assume two values, "blank" or "non blank" therefore you
only need to test for one condition.

=IF(XX="",SUM(XX:XX),SUM(YY:YY))

--
Carlos

"esulpher" wrote in
message ...

I am trying to use an IF statement involving two arguments - IF Cell XX
is = "blank" then bring back the SUM of Cells XX-XX BUT IF Cell XX
[this is the same cell as the first reference] is = "non blank" then
bring back the SUM of Cells YY-YY. Is this possible? If so how would
I do this?

Thank you


--
esulpher
------------------------------------------------------------------------
esulpher's Profile:

http://www.excelforum.com/member.php...o&userid=36606
View this thread: http://www.excelforum.com/showthread...hreadid=563477