Re: how do I lookup multiple values
- From: Domenic <domenic22@xxxxxxxxxxxx>
- Date: Mon, 19 Dec 2005 15:58:40 -0500
Assumptions:
B1:D1 contains the month
A2:A5 contains the product
B2:D5 contains your data
Formula:
=INDEX(B2:D5,MATCH(G1,A2:A5,0),MATCH(H1,B1:D1,0))
....where G1 contains the product of interest, and H1 contains the month
of interest.
Hope this helps!
In article <61CB16DF-A6D9-40A8-AAF6-F98B801E0D60@xxxxxxxxxxxxx>,
"Lisa" <Lisa@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> Trying to lookup a value based on both Horizon and Vertical columnsâ?¦.
>
> A B C
> 1 JAN FEB MAR
> 2 Ice-cream .5 .6 .7
> 3 Hot Cocoa 1.0 1.1 1.25
> 4 Coffee 1.5 1.3 1.0
> 5 Soda .8 .6 .9
>
>
> How do I look up the price of ice - cream in the month of Jan. or lookup the
> price of coffee in Mar based on an input from user on both product and month?
>
> I canâ??t figure out which function to use. Please advice.
.
- Prev by Date: Re: I cannot seem to print certain workbooks from Excel 2003
- Next by Date: Re: Hyperlinks
- Previous by thread: Re: how do I lookup multiple values
- Next by thread: Re: Macro for Finding account numbers
- Index(es):
Relevant Pages
|