Number format in Excel drop down lists?

iswarya

New Member
Joined
Apr 20, 2010
Messages
18
I have 2 list of numbers in a drop down list in a cell in Excel. The problem is Excel does not allow me to "type in" these values from the keyboard for the list that has numbers (but I'm able to type in the list that has "names"). I'm guessing this is because lists are "text" by nature in Excel? I want to be able to type in as well as choose in both the lists. Is there a solution/workaround to this?

Cross Posted:
http://www.excelforum.com/excel-gen...mat-in-excel-drop-down-lists.html#post2300717
 
Last edited:

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Where is your drop down list from (Control Toolbox, Formas Toolbar or Data Validation)? You are right that the list is text, but I had no problem typing numbers in a ComboBox from the Control Toolbox.
 
Upvote 0
I had no problem typing a number in a data validation cell that was bound to a list, provided that the number was in the list. Can you give a specific example?
 
Upvote 0
Okay so I have this cell which has data validation bound to a list of numbers (say $B$1:$B$100). I am able to choose from the list of numbers I have, but when I try to key in a number (which is present in the list), it still gives me a validaton error alert.

Btw, the list of numbers in B1:B100 are themselves output of formulas from another column - I don't know if this is relevant, but I thought I'll state it anyways.
 
Upvote 0
If the number range is formatted as text, then you will have this problem if you type in a number.

If you can type a number that is within the list preceded with an apostrophe and it works, then that is the problem

If you have formulas in those cells in the list, make sure that if you have them returning numbers, that they are not enclosed in double quotes.

e.g. =IF(A1="X",1,2) not =IF(A1="X","1","2")

otherwise, select the list and go to Data|Text to Columns and simply click Finish... then reselect the range and Format as General or Number...
 
Upvote 0
[SOLVED] Number format in Excel drop down lists?

Thank you guys for your valuable help! We found a way to work around the issue, and not type numbers at all.
 
Upvote 0
Care to share?

May help future users with similar problems.
 
Upvote 0
It's a kind of a work around to the project, rather than a solution to the issue itself. As there were two columns, one for number and another for name, we decided to allow the users to type names, but only choose the numbers. Turns out more often they need to type names than numbers. Yeah, I know, it's kind of like running away from the problem, but our end user okayed this.
 
Upvote 0

Forum statistics

Threads
1,215,186
Messages
6,123,537
Members
449,106
Latest member
techog

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