Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 27
Default linking certain instances

If I have a possible 300 different instances in column "a" and column "b" is
always the same entry depending on what the instance is in the same row in
column "a", how can I create a function to automatically put the appropriate
entry into column "b" depending on what is in column "a"? The IF statement
would be way too large.
--
RedFive
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default linking certain instances

Hi,

Somewhere out of the way build a table of your related values something like
this

cat dog
House caravan
This That

the in b1 enter the formula and drag down as required
=VLOOKUP(A1,L1:M3,2,FALSE)

this looks at the value in A1 finds it in column 1 of your table and returns
column 2

Mike
"RedFive" wrote:

If I have a possible 300 different instances in column "a" and column "b" is
always the same entry depending on what the instance is in the same row in
column "a", how can I create a function to automatically put the appropriate
entry into column "b" depending on what is in column "a"? The IF statement
would be way too large.
--
RedFive

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 27
Default linking certain instances

Thanks Mike, exactly what I needed!
--
RedFive


"Mike H" wrote:

Hi,

Somewhere out of the way build a table of your related values something like
this

cat dog
House caravan
This That

the in b1 enter the formula and drag down as required
=VLOOKUP(A1,L1:M3,2,FALSE)

this looks at the value in A1 finds it in column 1 of your table and returns
column 2

Mike
"RedFive" wrote:

If I have a possible 300 different instances in column "a" and column "b" is
always the same entry depending on what the instance is in the same row in
column "a", how can I create a function to automatically put the appropriate
entry into column "b" depending on what is in column "a"? The IF statement
would be way too large.
--
RedFive

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
linking certain instances RedFive Excel Discussion (Misc queries) 0 September 19th 08 03:45 PM
Create list of unique instances from list of multiple Instances Dishon Excel Worksheet Functions 0 March 3rd 08 10:46 AM
Number of instances louiscourtney Excel Discussion (Misc queries) 4 July 13th 07 11:26 PM
Multiple instances Neil Levy Excel Discussion (Misc queries) 2 June 23rd 07 01:13 AM
How to get two instances of Excel Fred Holmes Excel Discussion (Misc queries) 3 May 23rd 05 04:52 PM


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