Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 21
Default Lookup function one row at a time

I have the following data:

Sheet 1
A B C D
1 1-most 2 3 5-least
2 Traction Flexibility Durability Weight
3 Weight Flexibility Flat sole Traction
4 Weight Flexibility Shock ab Support
5 Traction Flexibility Durability Weight


Sheet 2

A B C D
1 Flexibility Flat sole Arch S Support
2
3
4

In sheet 2 A2 I want I need a formula that looks up sheet 2 A1 in Sheet 1 A2
to D2 and returns the corresponding value from sheet 1 A1 to D1. So in this
case the answer would be 2. The result for Sheet 2 B3 will be 3.
I have 309 rows of data. So I need to be able to just drag the formula into
the rest of the cells.



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Lookup function one row at a time

In Sheet2 A2:
=IF(ISNA(MATCH(Sheet2!A$1,Sheet1!$A2:$D2,0)),"",IN DEX(Sheet1!$A$1:$D$1,MATCH(Sheet2!A$1,Sheet1!$A2:$ D2,0)))

copy across from A2 to D2 and down as far as needed


"Sojo" wrote:

I have the following data:

Sheet 1
A B C D
1 1-most 2 3 5-least
2 Traction Flexibility Durability Weight
3 Weight Flexibility Flat sole Traction
4 Weight Flexibility Shock ab Support
5 Traction Flexibility Durability Weight


Sheet 2

A B C D
1 Flexibility Flat sole Arch S Support
2
3
4

In sheet 2 A2 I want I need a formula that looks up sheet 2 A1 in Sheet 1 A2
to D2 and returns the corresponding value from sheet 1 A1 to D1. So in this
case the answer would be 2. The result for Sheet 2 B3 will be 3.
I have 309 rows of data. So I need to be able to just drag the formula into
the rest of the cells.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 21
Default Lookup function one row at a time

Fabulous!!!! Thanks a million!

"Teethless mama" wrote:

In Sheet2 A2:
=IF(ISNA(MATCH(Sheet2!A$1,Sheet1!$A2:$D2,0)),"",IN DEX(Sheet1!$A$1:$D$1,MATCH(Sheet2!A$1,Sheet1!$A2:$ D2,0)))

copy across from A2 to D2 and down as far as needed


"Sojo" wrote:

I have the following data:

Sheet 1
A B C D
1 1-most 2 3 5-least
2 Traction Flexibility Durability Weight
3 Weight Flexibility Flat sole Traction
4 Weight Flexibility Shock ab Support
5 Traction Flexibility Durability Weight


Sheet 2

A B C D
1 Flexibility Flat sole Arch S Support
2
3
4

In sheet 2 A2 I want I need a formula that looks up sheet 2 A1 in Sheet 1 A2
to D2 and returns the corresponding value from sheet 1 A1 to D1. So in this
case the answer would be 2. The result for Sheet 2 B3 will be 3.
I have 309 rows of data. So I need to be able to just drag the formula into
the rest of the cells.



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
verify use of TIME Function, Find Quantity Level compare to time-d nastech Excel Discussion (Misc queries) 9 July 11th 07 01:58 PM
how to combine an IF Function with a lookup function to determine [email protected] Excel Worksheet Functions 1 December 5th 06 06:09 AM
Lookup function with condition in time series data Tomas Excel Worksheet Functions 0 June 21st 06 06:33 PM
time lookup armyaviatr New Users to Excel 2 October 8th 05 02:40 PM
Pivot table doing a lookup without using the lookup function? NGASGELI Excel Discussion (Misc queries) 0 August 2nd 05 05:08 AM


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