Solved

Excel 97 - Make a drop down selection, and then calculate on it

Posted on 2001-07-27
3
181 Views
Last Modified: 2006-11-17
Howdy Experts -

I want to make a field in Excel where users can select text values from a drop down list, and then that value will be used in 'if' formulas elsewhere in the sheet.  Is this possible?

-Thorin
0
Comment
Question by:Thorin
  • 2
3 Comments
 
LVL 17

Accepted Solution

by:
calacuccia earned 100 total points
ID: 6328470
Hi Thorin,

You can do what you want by using the 'Data Validation' feature. Try this:

1/ Select cell to put drop-down in
2/ Go to Data/Validation
3/ On Tab 'Settings', set the drop-down 'Allow' to 'List'
4/ Make sure that 'In-Cell dropdown' is checked
5/ In the Text Box 'Source', type the different text entries, just separated by commas, like below

one,two,three,four

6/ Determine value selected by using the cell address of the data validation just created, for example:

=If(C5="one",1,If(C5="two",2,If(C5="three",3,If(C5="four",4,"N/A"))))

Good Luck
Calacuccia
0
 
LVL 2

Author Comment

by:Thorin
ID: 6334884
I wasn't going to give you the points because I was working in cell C8....but I figured you were close enough!  Just kidding...  :-)

Thanks very much that was exactly right, and you explained it very well.  Keep an eye out for more questions because I am sure this particular project I am working on will create more!

Thanks again...

-Thorin
0
 
LVL 17

Expert Comment

by:calacuccia
ID: 6334906
You're welcome, Thorin.

Keep 'em coming ;-)

calacuccia
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
No matter the version of Windows you are using, you may have some problems with Windows Search running too slow or possibly not running at all. Before jumping into how you can solve this issue, just know there are many other viable alternative deskt…
This video shows the viewer how to set up and create Footnotes in their document. Click on the References tab: Select "Insert Footnote": Type in desired text:
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question