I want to use data validation in cell B2 based on cell A1, such that If A1 (reference cell) is blank prompt the message "Enter value to A1 first", otherwise accept the input value in B2. Anybody could help? I am using Excel 2010.
I want to use data validation in cell B2 based on cell A1, such that If A1 (reference cell) is blank prompt the message "Enter value to A1 first", otherwise accept the input value in B2. Anybody could help? I am using Excel 2010.
I don't have Excel 2010 but this should be about the same as it is in Excel 2007.
Select cell B2
Goto the Data tab>Data Tools group>Data Validation
Allow: Custom
Formula: =A1<>""
Uncheck Ignore Blank
Click on the Error Alert tab
Under Title enter something like: Invalid Entry
In the Error message box enter something like: Enter a value in cell A1 first.
OK out
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.