Multiple IF Statement - Where am I going wrong?!

tlc53

Active Member
Joined
Jul 26, 2018
Messages
399
Hi there,

Can anyone tell me why the following IF statement is not working? Regardless of the values in cells G51 and H51 (which are formulated) the IF statement result doesn't change from "Total Under Claimed".

=IF(G51>0,"Total Under Claimed",IF(H51>0,"Total Over Claimed",""))

Thank you! :oops:
 
Lovely, thank you so much!! :)
I think I get the hang of it now and I can see it's going to come in very handy. Thanks for the tip and your help!
 
Upvote 0

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
You're welcome, thanks for the feedback.

Post back if you need additional assistance.
 
Upvote 0
I am currently running into a similar issue as the OP. New to the forum, apologies if a new thread is required.

Attempting to return the value of 1 of 3 prioritized cells... A1 (which contains "" within the formula), B1 and C1.
Whereas I would only want the value of C1 returned IF B1 and A1 are blank. And would only want B1 IF A1 is blank.
This is my current formula:
=IF(A1>0,IF(B1>0,B1,IF(C1>0,C1,A1)))

It works when value present in B1 and/or C1, but once A1 populates it still returns B1.
Please advise what I could be missing here
 
Upvote 0

Forum statistics

Threads
1,215,373
Messages
6,124,562
Members
449,171
Latest member
jominadeo

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top