Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,670
Default How do I substitute text for numbers

I would like to multiply 2 cells, the first contains a drop down list of
product numbers and the second cell contains a different list of product
numbers.

each product number needs to be replaced with an efficiency and then
multiplied.

For example

=SPR-205 * SPR-3300x

Should be

=189 * .945

I thought of an IF statement but it would be way to long. Right now I have
all the product numbers listed in one Column and the Efficiencies in another
Column.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,355
Default How do I substitute text for numbers

You could do a VLOOKUP to get the efficiency andfor each product number.

Let's say you have your first product # in A1 and your second product # in
B1 and your range of Product Number and Efficiencies is in say F1:G10 on
sheet1.

in C1 put the following
=vlookup(A1,Sheet1!$F$1:$G$10,2,false)+vlookup(A2, Sheet1!$F$1:$G$10,2,false)

IF THERE IS no match for either one, the result will be #N/A

"Eric" wrote:

I would like to multiply 2 cells, the first contains a drop down list of
product numbers and the second cell contains a different list of product
numbers.

each product number needs to be replaced with an efficiency and then
multiplied.

For example

=SPR-205 * SPR-3300x

Should be

=189 * .945

I thought of an IF statement but it would be way to long. Right now I have
all the product numbers listed in one Column and the Efficiencies in another
Column.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to extract numbers from imported cell with text and numbers? jyin Excel Discussion (Misc queries) 3 March 28th 07 01:14 PM
Substitute text with assigned values TD Excel Discussion (Misc queries) 2 July 7th 06 10:28 PM
VLOOKUP should compare numbers stored as text to plain numbers. VLOOKUP - Numbers stored as text Excel Worksheet Functions 0 March 31st 06 05:53 PM
Convert numbers stored as text to numbers Excel 2000 Darlene Excel Discussion (Misc queries) 6 January 31st 06 08:04 PM
How do I convert numbers stored as text with spaces to numbers Baffuor Excel Discussion (Misc queries) 1 May 24th 05 07:39 AM


All times are GMT +1. The time now is 07:05 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"