#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default Look Up Help!

Hello,
I have a table in worksheet 1 with Product Codes in every other column (A,
C, E, etc) and data related to those Product Codes residing in the adjacent
column (B, D, F etc).
I have another table on worksheet 2 where I have like Product Codes residing
all in column A. I want to be able to return cooresponding data into column
G of worksheet 2 from the data columns (B, D, F, etc) from worksheet 1.

How do I achieve this?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Look Up Help!

Try this:

=INDEX(Sheet1!A$1:H$1,MATCH(A1,Sheet1!A$1:H$1,0)+1 )

Copy down as needed.

--
Biff
Microsoft Excel MVP


"Eric H" wrote in message
...
Hello,
I have a table in worksheet 1 with Product Codes in every other column (A,
C, E, etc) and data related to those Product Codes residing in the
adjacent
column (B, D, F etc).
I have another table on worksheet 2 where I have like Product Codes
residing
all in column A. I want to be able to return cooresponding data into
column
G of worksheet 2 from the data columns (B, D, F, etc) from worksheet 1.

How do I achieve this?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default Look Up Help!

No luck... (??)

"T. Valko" wrote:

Try this:

=INDEX(Sheet1!A$1:H$1,MATCH(A1,Sheet1!A$1:H$1,0)+1 )

Copy down as needed.

--
Biff
Microsoft Excel MVP


"Eric H" wrote in message
...
Hello,
I have a table in worksheet 1 with Product Codes in every other column (A,
C, E, etc) and data related to those Product Codes residing in the
adjacent
column (B, D, F etc).
I have another table on worksheet 2 where I have like Product Codes
residing
all in column A. I want to be able to return cooresponding data into
column
G of worksheet 2 from the data columns (B, D, F, etc) from worksheet 1.

How do I achieve this?




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Look Up Help!

Sheet1:

...........A..........B..........C..........D
1....Code1.....C1.....Code2.....C2

A10 = Code2

=INDEX(Sheet1!A$1:D$1,MATCH(A10,Sheet1!A$1:D$1,0)+ 1)

Returns C2

That's how I interpret your layout. If that's not correct then describe in
more detail how your data is laid out.


--
Biff
Microsoft Excel MVP


"Eric H" wrote in message
...
No luck... (??)

"T. Valko" wrote:

Try this:

=INDEX(Sheet1!A$1:H$1,MATCH(A1,Sheet1!A$1:H$1,0)+1 )

Copy down as needed.

--
Biff
Microsoft Excel MVP


"Eric H" wrote in message
...
Hello,
I have a table in worksheet 1 with Product Codes in every other column
(A,
C, E, etc) and data related to those Product Codes residing in the
adjacent
column (B, D, F etc).
I have another table on worksheet 2 where I have like Product Codes
residing
all in column A. I want to be able to return cooresponding data into
column
G of worksheet 2 from the data columns (B, D, F, etc) from worksheet
1.

How do I achieve this?






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



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