Thread: Sum IF
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
JulieD JulieD is offline
external usenet poster
 
Posts: 618
Default Sum IF

Hi Darin

just a IF function for this on
=IF(H1+I10,G1/H1+I1,IF(H1+I1=0,"OK","Something else"))

as you've not specified what happens if H1 + I1 is less than 0 i've put the
text "something else" in - which you can change as required. If there's
never any possibility of H1+I1 being less than 0 the formula could be
=IF(H1+I10,G1/H1+I1,"OK")

Cheers
JulieD

"Darin Kramer" wrote in message
...

Howdie

I need a formulae to say if h1+i1 is greater than 0, then take
g1/h1+i1.If it is zero then put "ok".

Sumif doesnt seem to be able to do it.... or maybe its me who cant!


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!