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

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
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,223,888
Messages
6,175,205
Members
452,618
Latest member
Tam84

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