Data Validation - Formula for Number and Text dropdown.

Newbienew

Active Member
Joined
Mar 17, 2017
Messages
376
Office Version
  1. 2016
Platform
  1. Windows
Hello Again,

I am looking for a formula to put in a data validation dropdown, if there is one, that will allow the selection of 1-50 & N/a. Some one at work mentioned 1,2,3,4,5,6,7,8,9,10... ,N/A under custom. But doing that all the way up to 50 seems like a lot. Someone said columnize it, 1-50 in a column and add N/a so its like a source. But I am not trying to do that as some rows might get deleted. Is there a better way about doing this. Thank you in advance.
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
You can use a custom formula that will enforce the rule.

=OR(AND(H4>1,H4<50),H4="N/a")

If you want to see a dropdown list, you have to have the entire list someplace, as described by your two suggestions above. If you are worried about rows getting deleted, just put it on another sheet that won't be used for anything else. You can even hide the sheet to get it out of the way.
 
Upvote 0

Forum statistics

Threads
1,215,059
Messages
6,122,918
Members
449,094
Latest member
teemeren

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