Weird Data validation - not triggering

Spartan300

Board Regular
Joined
Jul 1, 2008
Messages
71
Hi,

I am experiencing something quite strange with data validation and am sure someone will know what I have done wrong.

I have a stock sheet and within this is a stock use sheet. In the stock use sheet the user chooses the stock item from a list, I then have a VLOOKUP formula that looks up the item in a stock table and checks it is in stock when the amount used is entered.
The formula for the validation is =AND($M1=TRUE), this validation is present on the entire column where the 'Amount of stock used' is entered.

This is where it gets weird. If the user hits return or tab, the validation works. If the user 'clicks' out of the cell with validation into another cell, the validation will allow the entry even if there is no stock (ie the relevant cell in column M=FALSE).

Is this a known problem or have I done something wrong?

Thanks
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.

Forum statistics

Threads
1,190,817
Messages
5,983,059
Members
439,818
Latest member
schizoid231

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
Top