LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Return Certain Text with IF function

I have 12 pieces of machinery that all have their own id #s. Whenever I enter
in an a certain ID # in a cell I want it to copy from my master list what the
description of the machinery is and past that in to this cell.

Therefore I would type 15001 in cell C and in cell B it would type the
description of the equipment. Unfortunately I have more than 7 arguements and
I cannot figure out how to get around this. I'm currently using the following
formula:

=IF(C6=15001,'Equip List'!B6,IF(C6=20001,'Equip List'!B7,IF(C6=20002,'Equip
List'!B8,IF(C6=20003,'Equip List'!B9,IF(C6=20004,'Equip
List'!B10,IF(C6=20006,'Equip List'!B11,IF(C6=20007,'Equip
List'!B12,IF(C6=43002,'Equip List'!B13,0))))))))

The formula does work and types in what I want but only for 7 pieces of
equipment.
 
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 convert function return value to text? merri Excel Worksheet Functions 3 November 22nd 07 11:04 PM
Need function to return text value sahafi Excel Worksheet Functions 4 March 18th 07 03:31 AM
Need Function to look up value and return a text value? Accestimator Excel Worksheet Functions 2 August 28th 06 01:36 PM
What function do I use to return a certain value for specific text marjoryann Excel Discussion (Misc queries) 4 June 30th 06 12:00 AM
Need subtotal function to return text as result Alby Excel Discussion (Misc queries) 0 February 15th 06 10:47 PM


All times are GMT +1. The time now is 03:06 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"