PC Review


Reply
Thread Tools Rate Thread

Asigning a numeric value to text.

 
 
skyriakidis
Guest
Posts: n/a
 
      24th Aug 2004
Hi All,

I need to assign a numeric value to a text string, so when the end use
selects a particular text from a dropdown list it returns a numeri
value to be used in a formula. Tried everything I know, need help
please

--
Message posted from http://www.ExcelForum.com

 
Reply With Quote
 
 
 
 
CLR
Guest
Posts: n/a
 
      24th Aug 2004
Select some out of the way cells and assign RangeNames to them that are the
same at the TEXT selections in your dropdown list. Then type the numbers in
each box you wish each of them to represent.

Then a formula like =A1+RangeName would use the RangeName in the
formula, but return the number in the result.

hth
Vaya con Dios,
Chuck, CABGx3




"skyriakidis >" <<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi All,
>
> I need to assign a numeric value to a text string, so when the end user
> selects a particular text from a dropdown list it returns a numeric
> value to be used in a formula. Tried everything I know, need help,
> please.
>
>
> ---
> Message posted from http://www.ExcelForum.com/
>



 
Reply With Quote
 
JulieD
Guest
Posts: n/a
 
      24th Aug 2004
Hi

if you set up a table on another sheet with your text string and the numeric
equivalent, you can use the vlookup function to return the associated
value - either to a cell or directly into the formula

say your drop down list is in sheet 1 A1 and the table is in sheet 2 A1:B100
and you want the numeric value returned to sheet 1 B1, in sheet 1 B1 type
=IF(A1="","",VLOOKUP(A1,Sheet2!$A$1:$B$100,2,0))

or if you want the put the numeric in a formula in B1 you can do something
similar to this
=IF(A1="","",VLOOKUP(A1,Sheet2!A1:B3,2,0)*1.1)

or whatever the formula is

hope this helps
Cheers
JulieD

"skyriakidis >" <<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi All,
>
> I need to assign a numeric value to a text string, so when the end user
> selects a particular text from a dropdown list it returns a numeric
> value to be used in a formula. Tried everything I know, need help,
> please.
>
>
> ---
> Message posted from http://www.ExcelForum.com/
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to separate text and numeric data in the excel or text file. lonkar Microsoft Excel Programming 2 5th May 2009 05:57 AM
Asigning a value to words =?Utf-8?B?VGlt?= Microsoft Excel Misc 10 6th Jul 2007 05:46 PM
Asigning a task Fred Microsoft Outlook Discussion 0 17th Jan 2007 11:05 PM
Numeric in Text to convert back to the form of Numeric for VLookup Purposes achilles Microsoft Excel Misc 4 6th Feb 2006 07:05 AM
Asigning colour to charts Lynxbci3 Microsoft Excel Misc 1 22nd Sep 2004 06:11 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:09 AM.