PRIMA,
A quick search turned this up: multiple validation in a single cell A far as I know, only 1 validation is allowed per range, but you can fool the validation into validating multiple things with formulas.
I think it will depend on what you want to do for your multiple data validation...depend on whether a formula can be written for it or not. What specifically do you want to validate?
The Range object of Excel (which is any cell or combination of cells) contains only a single Validation object, and that Validation object contains a single validation type (such as List, Date, Whole Number, Custom, etc).
Therefore, it is only possible to assign a single validation rule to any cell or range.
However, if you really need multiple validations, you could develop some VBA code to do so. You would have to monitor worksheet changes, check whether any changed cells are within your validation range, and then execute code to ensure the data being entered/modified is valid.
Of course, pleeseemailme is also correct - you can create a more sophisticated formula to check for multiple conditions.
pleeseemailme, thank you so much for your quick reply. I've got the first custom formula above, and the other is I want to limit the cell from entering only the "Whole Number" from 1 to 999. Is that possible Sir? Thanks again
Where range A1:A20 is the data you are trying to validate and A1 is the first cell. Fill this all the way down. Then, select the data you want to validate (A1:A20). Select data validation -> Custom and for the formula input: =F1=1 . Where F1 is the first cell of the helper column. Make sure that the active cell is the top cell in the list. In other words, when you select the cell range to validate, make sure you select from the top down and not the bottom up.
Let me know if this works.
For what it's worth, you can place the above formula directly into the data validation custom formula and it will work, but you can test it out first with the helper column.
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.