Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
sansk_23
 
Posts: n/a
Default Multiple lookup in a single formula ..

Can we use hlookup & vlookup in a single formula ?
If i have the data on the Product monthly wise sales in the form of an array.
jan / feb / mar / apr / may..........
Prod a
Prod b
Prod c
Prod e
.......and so on.
How do i retrieve the value of Product c in the month of Apr ?
This would mean we would require to use hlookup as well as vlookup formulae.

Pls. help.

br, Sk.
  #2   Report Post  
Niek Otten
 
Posts: n/a
Default

With the date you look for in a20 and the product in A21:

=VLOOKUP(A21,A2:M15,MONTH(A20),FALSE)

So don't include the month headers in the area in the formula and do include
the FALSE argument, otherwise it will return the wrong result if the product
can not be found, instead of an error value.

--

Kind Regards,

Niek Otten

Microsoft MVP - Excel

"sansk_23" wrote in message
...
Can we use hlookup & vlookup in a single formula ?
If i have the data on the Product monthly wise sales in the form of an
array.
jan / feb / mar / apr / may..........
Prod a
Prod b
Prod c
Prod e
......and so on.
How do i retrieve the value of Product c in the month of Apr ?
This would mean we would require to use hlookup as well as vlookup
formulae.

Pls. help.

br, Sk.



  #3   Report Post  
Bob Phillips
 
Posts: n/a
Default

=INDEX(B2:M10,MATCH("Prod c",A2:A10,0),MATCH("Apr",B1:M1,0))

--
HTH

Bob Phillips

"sansk_23" wrote in message
...
Can we use hlookup & vlookup in a single formula ?
If i have the data on the Product monthly wise sales in the form of an

array.
jan / feb / mar / apr / may..........
Prod a
Prod b
Prod c
Prod e
......and so on.
How do i retrieve the value of Product c in the month of Apr ?
This would mean we would require to use hlookup as well as vlookup

formulae.

Pls. help.

br, Sk.



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
Creating a check mark box MarthaSue Setting up and Configuration of Excel 18 April 28th 05 12:31 AM
Multiple Condition Sumif Formula momtoaj Excel Worksheet Functions 3 April 6th 05 04:06 PM
Multiple reference for lookup in excel Andrew Excel Worksheet Functions 0 March 17th 05 01:36 PM
copying LOOKUP formula R Birk Excel Worksheet Functions 3 February 3rd 05 01:05 AM
Can vlookup return multiple matches in a single cell? cchristensen Excel Discussion (Misc queries) 3 December 2nd 04 01:56 AM


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