On your worksheet, right click the tab and select 'View Code...'
Paste the following code in the Macroeditor that opens.
You will have to change the input ranges to be checked as required. (in my example checked input ranges are D1:D5 and F3:F5)
You can now switch off the sheet validation.