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
Solved

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

Posted on 2001-07-27
3
179 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 Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Microsoft Office Picture Manager is not included in Office 2013. This comes as a shock to users upgrading from earlier versions of Office, such as 2007 and 2010, where Picture Manager was included as a standard application. This article explains how…
Outlook Free & Paid Tools
This video shows where to find templates, what they are used for, and how to create and save a custom template using Microsoft Word.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

790 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