Solved

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

Posted on 2001-07-27
3
169 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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
My experience with Windows 10 over a one year period and suggestions for smooth operation
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …

746 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now