Message to user of which to select in 3 different drop downs.

Skiroy

New Member
Joined
May 8, 2017
Messages
6
Hello,

I'm currently working on trying to have a warning box that indicated when the drop downs have not been selected, but I'm coming back with too many formulas for this one box.

Currently I have:

=IF(AND(B4="Choose Current Grade", B6="Choose Proposed Grade", B8="Select Geographic Range"), "Error! Select Current Grade, Proposed Grade, and Geographic Range", IF(AND(B4<>"Choose Current Grade", B6="Choose Proposed Grade",B8="Select Geographic Range"), "Error! Select Proposed Grade and Geographic Range", IF(AND(B4<>"Choose Current Grade", B6<>"Choose Proposed Grade", B8="Select Geographic Range"),"Error! Select Geographic Range",IF(AND(B4<>"Choose Current Grade",B6<>"Choose Proposed Grade",B8<>"Select Geographic Range"),""))))

It works fine if you go in order B4 to B6 to B8, but if the drop downs are picked in a different order B8,B6 then B4 I'm getting false back. I want to cover all eventualities of this formula to indicate to the user which one needs to be completed.



Any help is always appreciated
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
See if this is what you want;

=IFERROR(CHOOSE(SUM(IF(B4="Choose Current Grade",1,0),IF(B6="Choose Proposed Grade",2,0),IF(B8="Select Geographic Range",4,0)),"Error! Please Select Current Grade, Proposed Grade, and Geographic Range","Error! Please Select, Proposed Grade","Error! Please Select Current Grade, Proposed Grade","Error! Please Select Geographic Range","Error! Please Select Current Grade, and Geographic Range","Error! Please Select Proposed Grade, and Geographic Range","Error! Please Select Current Grade, Proposed Grade, and Geographic Range"),"")
 
Upvote 0

Forum statistics

Threads
1,215,063
Messages
6,122,930
Members
449,094
Latest member
teemeren

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