Excel formula

T

Tom Rasch

I am trying to do a formula that says if H5 = 0 then H7 should display 0,
however if H5 >0 run the following formula in H7, (H5-$H$2)*10000

To complicate matters i also need for the above formula to run if E2 is
true. If E2 is false the formula needs to be ($H$2-H5)*10000.

I am pretty good with Excel and figuring out what i need but i may have gone
overboard on this one.
 
J

Jacob Skaria

Do you mean

=IF(OR(H5+0<>0,E2=FALSE),(H5-$H$2)*10000,IF(E2=FALSE,(H2-$H$5)*10000,0))

If this post helps click Yes
 
J

Jacob Skaria

Should be

=IF(OR(H5+0<>0,E2=TRUE),(H5-$H$2)*10000,IF(E2=FALSE,(H2-$H$5)*10000,0))


If this post helps click Yes
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

formula problem 4
Excel formula, sum the value cell and if empty cell left blank 0
An easier way? 9
Help !!! 2
Simplifying formula 1
worksheet_calculate 2
HELLO and HELP 5
DIV % FORMULA 6

Top