Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Lew
 
Posts: n/a
Default Find a value in a cell and return another value in a differant cel

I have a list in column A and another list in column B:

A B
Eagle EAG
Lonely LNY
Bradys BRY

The list in column A is 35 names long. The list in column B is also 35
names long. Cell C1 contains a validation dropdown box which is the list in
column A. If "Eagle" is selected and put into cell C1, "EAG " should
automaticly be put into cell C2; if "Lonely" is selected and put into cell
C1,"LNY" should automaticly be put into cell C2; etc. Since the lists each
contain 35 entries the "IF" function will not work since "IF" can only
contain 7 statements. Any ideas
  #2   Report Post  
Posted to microsoft.public.excel.misc
bpeltzer
 
Posts: n/a
Default Find a value in a cell and return another value in a differant cel

In C2, use the vlookup function to find the corresponding entry from column
B: =vlookup(c1,a:b,2,false).

"Lew" wrote:

I have a list in column A and another list in column B:

A B
Eagle EAG
Lonely LNY
Bradys BRY

The list in column A is 35 names long. The list in column B is also 35
names long. Cell C1 contains a validation dropdown box which is the list in
column A. If "Eagle" is selected and put into cell C1, "EAG " should
automaticly be put into cell C2; if "Lonely" is selected and put into cell
C1,"LNY" should automaticly be put into cell C2; etc. Since the lists each
contain 35 entries the "IF" function will not work since "IF" can only
contain 7 statements. Any ideas

  #3   Report Post  
Posted to microsoft.public.excel.misc
Lew
 
Posts: n/a
Default Find a value in a cell and return another value in a differant

Thanks, works great


"bpeltzer" wrote:

In C2, use the vlookup function to find the corresponding entry from column
B: =vlookup(c1,a:b,2,false).

"Lew" wrote:

I have a list in column A and another list in column B:

A B
Eagle EAG
Lonely LNY
Bradys BRY

The list in column A is 35 names long. The list in column B is also 35
names long. Cell C1 contains a validation dropdown box which is the list in
column A. If "Eagle" is selected and put into cell C1, "EAG " should
automaticly be put into cell C2; if "Lonely" is selected and put into cell
C1,"LNY" should automaticly be put into cell C2; etc. Since the lists each
contain 35 entries the "IF" function will not work since "IF" can only
contain 7 statements. Any ideas

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
Return entry in column above/below cell TheRobsterUK Excel Worksheet Functions 2 November 17th 05 03:34 PM
return zero from a blank cell Eric Excel Worksheet Functions 5 July 15th 05 11:23 PM
Possible Lookup Table Karen Excel Worksheet Functions 5 June 8th 05 09:43 PM
up to 7 functions? ALex Excel Worksheet Functions 10 April 12th 05 06:42 PM
Syntax for inferred cell references donesquire Excel Worksheet Functions 4 April 4th 05 09:29 PM


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