Difficulty With Formula

GoingPlaces

New Member
Joined
Oct 4, 2013
Messages
3
Good morning. I am trying to write ONE formula that will do the following:

if F3="No" and F26 is blank then "Not yet approved" otherwise F26
if F3="Yes" and F30 is blank then "Not yet approved" otherwise F30

I've tried several techniques and have failed. I would appreciate any assistance.

Thank you.
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Welcome to the Board!
Try:
=IF(F3="No",IF(F26="","Not yet approved",F26),IF(F3="Yes",IF(F30="","Not yet approved",F30),""))
 
Upvote 0
Thank you but it doesn't seem to be working. I had tried
=IF(F3="No",IF(F26="","Not yet approved",F26),IF(F30="","Not yet approved",F30)) but it only works if F3=Yes. If f3=No then it is always "Not yet approved" unless there is a value in F30 at which point it reflects that value.
 
Upvote 0
Thank you but it doesn't seem to be working. I had tried
=IF(F3="No",IF(F26="","Not yet approved",F26),IF(F30="","Not yet approved",F30)) but it only works if F3=Yes. If f3=No then it is always "Not yet approved" unless there is a value in F30 at which point it reflects that value.
You might want to check your formula again to make sure you typed it correctly and didn't confuse F26 and F30.

If I use the formula and enter "No" in F3, and anything in F26, it returns the value from F26 (the "No" clause doesn't even look at the value in F30!).
That is what you requested, is it not?

If you think you have case that is not working, let us know exactly what you have in F3, F26, and F30 in your example, and what is being returned.
Also, if you haven't already done so, use Copy and Paste to copy my formula instead of trying to type it directly. That should eliminate any chance of keying errors when trying to type my formula.
 
Last edited:
Upvote 0
It is working. Thank you so much. I had added a line to the sheet and didn't account for that in the formula. (Yes, I feel foolish).
Best regards.
Robyn
 
Upvote 0

Forum statistics

Threads
1,223,243
Messages
6,170,964
Members
452,371
Latest member
Frana

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