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

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
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,223,236
Messages
6,170,915
Members
452,366
Latest member
TePunaBloke

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