Excel Data Validation on selection of values in one other cell

JABurger

New Member
Joined
Aug 10, 2017
Messages
2
Hi

I have a list in A1 (New, Quoted, Won, Lost, cancelled) etc. In A2 I want to enter the date this quote has been closed. It must be validated by looking at A1 and can only accept the date if A1 is either Won, Lost or Cancelled. I tried the =And(A1="Won",A1="Lost",A1="Cancelled") and replaced the AND with OR but it doesn't work. Please assist.
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
replaced the AND with OR but it doesn't work.

Hi, this works for me using custom data validation on cell A2 with the "Ignore Blank" checkbox not checked.

=OR(A1="Won",A1="Lost",A1="Cancelled")
 
Upvote 0
Thank you. Seems like the Regional list seperator set as ; created the issue. I set it to , and now it works.
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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