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

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
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,214
Messages
6,170,772
Members
452,353
Latest member
strainu

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