hello. i have a dropdown menu with these values in it:
5
23
56
235
when i pick 23 in the dropdown menu, excel shows 2 in the linked cell. same for others, it shows 4 when i pick 235.
how can i make excel show the value, not the row number?
hello. i have a dropdown menu with these values in it:
5
23
56
235
when i pick 23 in the dropdown menu, excel shows 2 in the linked cell. same for others, it shows 4 when i pick 235.
how can i make excel show the value, not the row number?
Sounds like u use Combobox (Form Control). This is proper behaviour of this control. It returns an index of selected item...
U can use this function say in D1
=index(A1:A4,B1)
Where B1 is your linked cell and A1:A4 is the range where numbers are stroed
Last edited by contaminated; 05-03-2010 at 04:02 PM. Reason: add
Люди, питающие благие намерения, как раз и становятся чудовищами.
Regards, ?Born in USSR?
Vusal M Dadashev
Baku, Azerbaijan
Why not just use a Data Validation drop down using the list option then you can directly reference the drop down cell value? It is simpler to and doesn't require any extra formulas or cells.
Palmetto
Do you know . . . ?
You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.
Hi again redbullah,
in the attached document I show you how data validation works.
In this link you can find more on Excel data validation.
regards,
P.
See this Introduction to Data Validation
In Excel 2007, with cell selection which will hold the Data Validation, click on the Data tab in the ribbon menu, then click on Data Validation and choose the List option under the "Allow" drop down.
In the "Source" box, enter the list of values you want displayed in the list with each value separated by a comma. Click OK. Now the cell has a data validation list that uses the numbers you entered.
Explore the link to gain more understanding. The above is very basic.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks