We’d like to remind Forumites to please avoid political debate on the Forum.
This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
Help with drop down box in Excel

shopndrop
Posts: 3,548 Forumite

in Techie Stuff
I have a spreadsheet that various staff need to input information into, but I want them all to use the correct spelling of people and places. I thought about using a drop down box for them to choose from which I have set up, but you are able to either choose from the drop down box or type in any text you want into the spreadsheet. I don't want them to be able to put anything other than what is in the drop down box. When I go to data validation, error alert tab, the box is ticked so I thought this would stop anything else being typed in but it isn't. Can anyone tell me what I am doing wrong please?
0
Comments
-
You're right to be using Data/validation. Make a list of the entries you want people to use in a (hidden) column(s).
Then go to Data/Validation and choose "List", you'll need to do one for each type of entry.
Then select the cells you want for that particular list and make sure the "In-cell dropdown" box is ticked.
Should solve your problems.:wall: Flagellation, necrophilia and bestiality - Am I flogging a dead horse? :wall:
Any posts are my opinion and only that. Please read at your own risk.0 -
Will give that a try now. Thanks.0
-
Thanks. This has worked. What I had done previously was to have the lists on another worksheet in same spreadsheet and named the cells but this wasn't working - presumably if I do this again, I need to have the lists on the same worksheet as the drop down box?0
-
Unfortnately yes. Validation only works on the cells on the same worksheet. I have tried finding ways round it, but no luck so far.:wall: Flagellation, necrophilia and bestiality - Am I flogging a dead horse? :wall:
Any posts are my opinion and only that. Please read at your own risk.0 -
Just put the values in one of the far corners and set text colour to white, no-one need know they are there!0
-
Create your list in another worksheet and give the range a name, say Mylist.
Now select the cell where you want the dropdown list
Data/validation/setting--validation criteria List and in source box type =Mylist.
Hope this helpsMore0 -
Create your list in another worksheet and give the range a name, say Mylist.
Now select the cell where you want the dropdown list
Data/validation/setting--validation criteria List and in source box type =Mylist.
Hope this helps
Good point, never thought of using a named range. Could be a little akward updating it if you need to add something, though.:wall: Flagellation, necrophilia and bestiality - Am I flogging a dead horse? :wall:
Any posts are my opinion and only that. Please read at your own risk.0 -
Create your list in another worksheet and give the range a name, say Mylist.
Now select the cell where you want the dropdown list
Data/validation/setting--validation criteria List and in source box type =Mylist.
Hope this helps
This is what I did originally, but it would let me either type in what I wanted or choose from the drop down box. The error message did not appear as I expected it to when I didn't choose something from the dropdown list.0 -
The named range list should work the same way as the cell reference.
Be aware that neither are full proof as you can still copy and paste any value you like into the cells0
This discussion has been closed.
Confirm your email address to Create Threads and Reply

Categories
- All Categories
- 352K Banking & Borrowing
- 253.5K Reduce Debt & Boost Income
- 454.2K Spending & Discounts
- 245K Work, Benefits & Business
- 600.6K Mortgages, Homes & Bills
- 177.4K Life & Family
- 258.8K Travel & Transport
- 1.5M Hobbies & Leisure
- 16.2K Discuss & Feedback
- 37.6K Read-Only Boards