Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 367
Default can I create an "if" formula with an external list?

I'm doing an extract from our system & can only extract a 2 digit code.
There is a description that goes along with the code, but I'm not able to
pull that part out, so I need to duplicate it in Excel. Example - type of
account is defined by a 2 digit number--

41 revocable
43 irrevocable
61 agency

I need to add a column to insert a description that matches up with the
code. In the past I've used an IF function, but because these can change, it
would be easier to maintain a separate list & add the description based on
the lst.

Is this possible?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default can I create an "if" formula with an external list?

Suppose your separate list of codes and corresponding descriptions
occupies columns A and B of Sheet2, and suppose that the codes that
you have extracted are in column C of Sheet1. Put this in D1 of
Sheet1:

=VLOOKUP(C1,Sheet2!A:B,2,0)

and copy this down as far as you need to.

Hope this helps.

Pete



On Dec 8, 7:09*pm, jason wrote:
I'm doing an extract from our system & can only extract a 2 digit code. *
There is a description that goes along with the code, but I'm not able to
pull that part out, so I need to duplicate it in Excel. *Example - type of
account is defined by a 2 digit number--

41 *revocable
43 irrevocable
61 agency

I need to add a column to insert a description that matches up with the
code. *In the past I've used an IF function, but because these can change, it
would be easier to maintain a separate list & add the description based on
the lst.

Is this possible?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 561
Default can I create an "if" formula with an external list?

The Natural replacement for the growing nested IFs is: VLOOKUP.
Study it in Excels help.
Micky


"jason" wrote:

I'm doing an extract from our system & can only extract a 2 digit code.
There is a description that goes along with the code, but I'm not able to
pull that part out, so I need to duplicate it in Excel. Example - type of
account is defined by a 2 digit number--

41 revocable
43 irrevocable
61 agency

I need to add a column to insert a description that matches up with the
code. In the past I've used an IF function, but because these can change, it
would be easier to maintain a separate list & add the description based on
the lst.

Is this possible?

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
Is there a "create List dialog box" in Excel 2007 ? Newbee New Users to Excel 5 April 29th 08 11:48 AM
How Do I Get Out Of "DATA" ~ "CREATE LIST"? Gatsby Excel Discussion (Misc queries) 6 January 28th 07 07:01 PM
How do i create a "by date" dropdown list from other excel docs Supported by a wire Excel Worksheet Functions 0 December 29th 06 03:29 PM
cannot use "Create List" and "Share Workbook" same time Devendra Excel Discussion (Misc queries) 0 October 26th 06 06:05 AM
create links to check boxes marked "good" fair"and "bad" pjb Excel Worksheet Functions 3 April 20th 06 02:17 AM


All times are GMT +1. The time now is 01:38 PM.

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"