Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22
Default use Hlookup to look up two or more values

How do I use hlookup to look up two or more values on the top rows and return
a value in the same column from a row specified? (hlookup allows to look up
one value only!)

Please help. Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default use Hlookup to look up two or more values

Give us some examples.


"tywlam" wrote:

How do I use hlookup to look up two or more values on the top rows and return
a value in the same column from a row specified? (hlookup allows to look up
one value only!)

Please help. Thanks

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22
Default use Hlookup to look up two or more values

eg.
A B C
1 t r u
2 k w y
3 x t j
4 h g k

I want to lookup values "r" and "w" from the first two rows in the same
column and return value from row 4. In this example, the returned value
should be "g". How can I use hlookup or other functions to do it?

Thanks.



"Teethless mama" wrote:

Give us some examples.


"tywlam" wrote:

How do I use hlookup to look up two or more values on the top rows and return
a value in the same column from a row specified? (hlookup allows to look up
one value only!)

Please help. Thanks

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default use Hlookup to look up two or more values

Try this:

=INDEX(A1:C4,COUNTA(A1:A4),MATCH(1,INDEX((A1:C1="r ")*(A2:C2="w"),),))

Normally ENTER


"tywlam" wrote:

eg.
A B C
1 t r u
2 k w y
3 x t j
4 h g k

I want to lookup values "r" and "w" from the first two rows in the same
column and return value from row 4. In this example, the returned value
should be "g". How can I use hlookup or other functions to do it?

Thanks.



"Teethless mama" wrote:

Give us some examples.


"tywlam" wrote:

How do I use hlookup to look up two or more values on the top rows and return
a value in the same column from a row specified? (hlookup allows to look up
one value only!)

Please help. Thanks

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22
Default use Hlookup to look up two or more values

thanks. but where can i specify in this formula the row from which the value
is returned?

"Teethless mama" wrote:

Try this:

=INDEX(A1:C4,COUNTA(A1:A4),MATCH(1,INDEX((A1:C1="r ")*(A2:C2="w"),),))

Normally ENTER


"tywlam" wrote:

eg.
A B C
1 t r u
2 k w y
3 x t j
4 h g k

I want to lookup values "r" and "w" from the first two rows in the same
column and return value from row 4. In this example, the returned value
should be "g". How can I use hlookup or other functions to do it?

Thanks.



"Teethless mama" wrote:

Give us some examples.


"tywlam" wrote:

How do I use hlookup to look up two or more values on the top rows and return
a value in the same column from a row specified? (hlookup allows to look up
one value only!)

Please help. Thanks



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default use Hlookup to look up two or more values

replace COUNTA(A1:A4) to any row you want. If you want row 4 then enter 4


"tywlam" wrote:

thanks. but where can i specify in this formula the row from which the value
is returned?

"Teethless mama" wrote:

Try this:

=INDEX(A1:C4,COUNTA(A1:A4),MATCH(1,INDEX((A1:C1="r ")*(A2:C2="w"),),))

Normally ENTER


"tywlam" wrote:

eg.
A B C
1 t r u
2 k w y
3 x t j
4 h g k

I want to lookup values "r" and "w" from the first two rows in the same
column and return value from row 4. In this example, the returned value
should be "g". How can I use hlookup or other functions to do it?

Thanks.



"Teethless mama" wrote:

Give us some examples.


"tywlam" wrote:

How do I use hlookup to look up two or more values on the top rows and return
a value in the same column from a row specified? (hlookup allows to look up
one value only!)

Please help. Thanks

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
HLOOKUP with 2 values and choose 1 value Positive Excel Worksheet Functions 2 July 25th 07 08:18 PM
HLOOKUP and choose one value among 2 values Positive Excel Worksheet Functions 1 July 25th 07 08:04 PM
HLookup returning values searcherlady Excel Worksheet Functions 0 May 17th 07 06:55 PM
Summing HLookup Values TomCat Excel Worksheet Functions 16 July 24th 06 02:54 AM
Hlookup to return a sum of values Abe Excel Worksheet Functions 3 February 13th 05 08:40 PM


All times are GMT +1. The time now is 12:35 PM.

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"