Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2001-07-27
3
Medium Priority
?
191 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 17

Accepted Solution

by:
calacuccia earned 400 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

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

My attempt to use PowerShell and other great resources found online to simplify the deployment of Office 365 ProPlus client components to any workstation that needs it, regardless of existing Office components that may be needing attention.
Outlook for dependable use in a very small business   This article is about using the Outlook application (part of Microsoft Office) in a very small business, or for homeowners where dependability and reliability are critical requirements. This …
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 …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

688 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