Custom Data Validation Formula not working

laxminarayana

Board Regular
Joined
Nov 16, 2013
Messages
56
I am trying to restrict certain dates in a cell using the following custom Data validation formula

if(H2=12/10/2013,12/25/2013,False)

But unable to achieve the desired result. i am sure there is a problem in formula. Can some one please correct the formula.
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
If you have a list of dates, enter them in a range and then use:
=ISNA(MATCH(H2,your_date_cells,0))

when i use the following formula

=ISNA(MATCH(H7,SHEET2!B2:B16,0))

excel is showing the following message box.
"You cannot use references to other worksheets or workbooks for Data Validation"

So it is not possible to give a range from other sheets?

PS: i am using excel 2007

Thank you
 
Last edited:
Upvote 0
Name the other range using Name Manager (on the Formulas tab) and then use the name in the validation formula.
 
Upvote 0

Forum statistics

Threads
1,221,444
Messages
6,159,914
Members
451,603
Latest member
SWahl

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