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

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).

Forum statistics

Threads
1,213,561
Messages
6,114,317
Members
448,564
Latest member
ED38

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