Data Validation with two criteria's

tlc53

Active Member
Joined
Jul 26, 2018
Messages
409
Office Version
  1. 365
Platform
  1. Windows
Hi,

I can not for the life of me work out why this data validation code is not working?!?

=OR(F8="Enter YE Date",F8=EOMONTH(F8,0))

The second part works, allowing only a month end date to be entered, but it will not let you enter text "Enter YE Date". I'm setting this under Custom/Formula under Data Validation.

Thanks :)
 
its the F8=EOMONTH(F8,0)) part , as that will return value error , when NOT a date entry

=OR(F8="Enter YE Date",IF(ISNUMBER(F8),F8=EOMONTH(F8,0)))
 
Upvote 0

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