Thread
:
IF statements
View Single Post
#
5
Posted to microsoft.public.excel.misc
Sandy Mann
external usenet poster
Posts: 2,345
IF statements
Just another option,
=((A1+B1)<0)*MAX(A1,B1,0)
--
HTH
Sandy
Retired for Work
But hopefully not from Life
with @tiscali.co.uk
"profmorse" wrote in message
...
how can I build an If statement that answers the following; If A+B<0 then
chose A only if A is greater than 0, otherwise chose B, only if B is
greater
than zero, otherwise 0.
Reply With Quote
Sandy Mann
View Public Profile
Find all posts by Sandy Mann