A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

look ups



 
 
Thread Tools Display Modes
  #1  
Old September 3rd, 2008, 02:23 PM posted to microsoft.public.excel.worksheet.functions
chrisgoods
external usenet poster
 
Posts: 2
Default look ups

hi
im looking for a formula that will let me look up two values in one table
array and return one value.
For example: How would i look up a numerical value for product c that is in
the column for 15/01/08

DATE
01/01/08 08/01/08 15/01/08 22/01/08 29/01/08
product a
product b
product c
product d
product e

Ive tried Vlookup with a Hlookup in it and it only searches based on one
criteria. The table will be very large, from colum b to cl and rows 42 to 374.

Any help with this will be greatly appreciated as i have been working on it
for a few weeks and made no headway.



  #2  
Old September 3rd, 2008, 02:32 PM posted to microsoft.public.excel.worksheet.functions
Max
external usenet poster
 
Posts: 8,574
Default look ups

One way is an index/match ..

Assume table as posted is within A1:F6
B1:F1 are dates
A2:A6 are products

Inputs
In A9: 15/01/08
In B9: product c

Then in C9:
=INDEX(B2:F6,MATCH(B9,A2:A6,0),MATCH(A9,B1:F1,0))
will return the intersection value. Adapt to suit
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:17,700 Files:359 Subscribers:55
xdemechanik
---
"chrisgoods" wrote:
im looking for a formula that will let me look up two values in one table
array and return one value.
For example: How would i look up a numerical value for product c that is in
the column for 15/01/08

DATE
01/01/08 08/01/08 15/01/08 22/01/08 29/01/08
product a
product b
product c
product d
product e

Ive tried Vlookup with a Hlookup in it and it only searches based on one
criteria. The table will be very large, from colum b to cl and rows 42 to 374.

Any help with this will be greatly appreciated as i have been working on it
for a few weeks and made no headway.


  #3  
Old September 3rd, 2008, 02:39 PM posted to microsoft.public.excel.worksheet.functions
Pete_UK
external usenet poster
 
Posts: 8,780
Default look ups

Try this:

=INDEX(B42:CL374,MATCH(A1,B42:B374,0),MATCH(B1,B41 :CL41,0))

Put the product you are searching for in A1 and the date in B1.
Assumes your dates are on row 41.

Hope this helps.

Pete

On Sep 3, 2:23*pm, chrisgoods
wrote:
hi
im looking for a formula that will let me look up two values in one table
array and return one value.
For example: How would i look up a numerical value for product c that is in
the column for 15/01/08

* * * * * * * *DATE * * * * * * * * * *
* * * * * * * *01/01/08 * 08/01/08 *15/01/08 *22/01/08 *29/01/08 *
product a * *
product b
product c
product d
product e

Ive tried Vlookup with a Hlookup in it and it only searches based on one
criteria. The table will be very large, from colum b to cl and rows 42 to 374.

Any help with this will be greatly appreciated as i have been working on it
for a few weeks and made no headway.


  #4  
Old September 3rd, 2008, 02:49 PM posted to microsoft.public.excel.worksheet.functions
chrisgoods
external usenet poster
 
Posts: 2
Default look ups

That worked perfectly. thank you very much

"Max" wrote:

One way is an index/match ..

Assume table as posted is within A1:F6
B1:F1 are dates
A2:A6 are products

Inputs
In A9: 15/01/08
In B9: product c

Then in C9:
=INDEX(B2:F6,MATCH(B9,A2:A6,0),MATCH(A9,B1:F1,0))
will return the intersection value. Adapt to suit
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:17,700 Files:359 Subscribers:55
xdemechanik
---
"chrisgoods" wrote:
im looking for a formula that will let me look up two values in one table
array and return one value.
For example: How would i look up a numerical value for product c that is in
the column for 15/01/08

DATE
01/01/08 08/01/08 15/01/08 22/01/08 29/01/08
product a
product b
product c
product d
product e

Ive tried Vlookup with a Hlookup in it and it only searches based on one
criteria. The table will be very large, from colum b to cl and rows 42 to 374.

Any help with this will be greatly appreciated as i have been working on it
for a few weeks and made no headway.


  #5  
Old September 3rd, 2008, 11:52 PM posted to microsoft.public.excel.worksheet.functions
Max
external usenet poster
 
Posts: 8,574
Default look ups

Chris, you're welcome.
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:17,700 Files:359 Subscribers:55
xdemechanik
---
"chrisgoods" wrote in message
...
That worked perfectly. thank you very much



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:40 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.