Multiple data validation for group of cells

dkflameboy

New Member
Joined
Nov 28, 2016
Messages
22
Office Version
  1. 365
Hi,

Is it possible to create multiple data validations for a range of cells?

I want to ensure that cells B13-Q13 can only have a whole number between 0 and 100 entered, but the cells also need to accept the letter N to ensure that an IF formula further in the spreadsheet works.

I'm guessing it would be the custom option in validation but I can't even begin to figure out the formula.

Any help would be much appreciated.

Thank you.
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Hi, welcome to the forum.

I'm guessing it would be the custom option in validation but I can't even begin to figure out the formula.

Yes, you will need a custom formula, here is one option you could try.

=OR(B13="N",AND(B13>=0,B13<=100,MOD(N(B13),1)=0))
 
Upvote 0
Hi, thank you, I have previously used this forum to find answers but never registered, I'm glad I have now and will probably use this quite a lot.

I have tried this formula and it works perfectly, thank you very much for your speedy response and for stopping me from stressing out!
 
Upvote 0

Forum statistics

Threads
1,214,422
Messages
6,119,395
Members
448,891
Latest member
tpierce

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