ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Sum IF (https://www.excelbanter.com/excel-programming/325848-sum-if.html)

Darin Kramer

Sum IF
 

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!

JulieD

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!




Darin Kramer

Sum IF
 

Thanks Julie!

Works like a charm... appreciate it!!

Just the User limited access sheet and Im out of here :)




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

JulieD

Sum IF
 
you're welcome and thanks for the feedback

"Darin Kramer" wrote in message
...

Thanks Julie!

Works like a charm... appreciate it!!

Just the User limited access sheet and Im out of here :)




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





All times are GMT +1. The time now is 10:48 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com