Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default IF and OR functions to obtain text descriptions

I am trying to set up a formula so that when I input a specific alpha numeric
product number in b9 a text description is automatically input by excel into
c9 for that item. I can get it to work with one part number and description
but is it possible to have multiple choices for the same cell range? I have
tried but I get the #Value code.

An example of the current formula I have been using in C9 is:

=if(b9="ABC123Q","Nissan Terrano II Gear Box")

Can anyone advise me if I can add to this e.g.

=if(b9="ABC123Q","Nissan Terrano II Gear Box")or(if(b9="QZF99t","Fiat Thrust
Bearing")

Or is there an alternative to the OR function? There will usually be 1 of 5
possible codes input in each cell.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default IF and OR functions to obtain text descriptions

Create a table of part numbers and descriptions in say M1:N10 and use

=VLOOKUP(B9,$M$1:$N$10,2,False)


--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Terranoman" wrote in message
...
I am trying to set up a formula so that when I input a specific alpha

numeric
product number in b9 a text description is automatically input by excel

into
c9 for that item. I can get it to work with one part number and

description
but is it possible to have multiple choices for the same cell range? I

have
tried but I get the #Value code.

An example of the current formula I have been using in C9 is:

=if(b9="ABC123Q","Nissan Terrano II Gear Box")

Can anyone advise me if I can add to this e.g.

=if(b9="ABC123Q","Nissan Terrano II Gear Box")or(if(b9="QZF99t","Fiat

Thrust
Bearing")

Or is there an alternative to the OR function? There will usually be 1 of

5
possible codes input in each cell.



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
Chart data won't accept text functions in series name [email protected] Excel Worksheet Functions 3 October 9th 06 07:10 PM
How to trim spaces from entered text in cell using exisiting functions? rj Excel Worksheet Functions 4 April 19th 06 08:40 PM
How do I display "Help" Text in my own functions Gazzr Excel Worksheet Functions 1 February 23rd 06 07:46 PM
Improvements for text finding functions yarp Excel Discussion (Misc queries) 2 August 8th 05 04:01 PM
Formulas dealing with text data Bagia Excel Worksheet Functions 6 June 20th 05 10:29 PM


All times are GMT +1. The time now is 04:51 AM.

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

About Us

"It's about Microsoft Excel"