Data validation

Damo10

Active Member
Joined
Dec 13, 2010
Messages
460
Hi,

I have a workbook that a other people enter data in, there are issues if they dont add the correct data.

Is it possible to have data validation check to see if a valid date has been entered or "N/A" as these are the only 2 things that should be entered?

I can do the data validation for the date but dont know how to incorporate the "N/A"

Regards,

Damian
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
.
.

I take it that your data validation rule uses a formula to check whether or not a date has been entered.

Perhaps you can incorporate Excel's ISNA function into your formula to check if it contains the #N/A error value...
 
Upvote 0
I can do the data validation for the date but dont know how to incorporate the "N/A"
Why don't you show it to us then so we know what it is that needs to be modified and/or supplemented?
 
Upvote 0
Hi,

I have just been using the Data Validation from the ribbon to select a date greater than the required minimum date, but i would also like the validation rule to accept "N/A" as a input.

Regards,
 
Upvote 0
You may try sth like:

Assume A1 is the active cell, In DV,
Allow: Custom
Formula:
=OR(AND(A1>=1,A1<=2958465),A1="N/A")

where 1 is replaceable with a minimum date; 2958465 is the largest date Excel recognizes (31/12/9999)

Nevertheless, coz there are too many "different" habits in inputting date across the globe, suggest you to include guidelines in the Input Message.





Hi,

I have just been using the Data Validation from the ribbon to select a date greater than the required minimum date, but i would also like the validation rule to accept "N/A" as a input.

Regards,
 
Upvote 0

Forum statistics

Threads
1,214,644
Messages
6,120,709
Members
448,983
Latest member
Joaquim_Baptista

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