LEFT LOOKUP IN A ROW

M

Morton Detwyler

I have rows of product data with monthly column headings. Each month, new
data is added. I already have the current month number, but need to extract
the previous month's number but can not use the monthly headings as a
reference. If I have the number "57" for Prod 3, from Nov. 08, what formula
can be used to find the number "12" also from Prod 3, from Oct. 08. Again, I
can not use the monthly column headings as a reference for extraction. Thanks
much for the help!

Aug 08 Sep 08 Oct 08 Nov 08
Prod 1 14 16 9 17
Prod 2 23 42 37 14
Prod 3 37 16 12 57
 
S

smartin

Morton said:
I have rows of product data with monthly column headings. Each month, new
data is added. I already have the current month number, but need to extract
the previous month's number but can not use the monthly headings as a
reference. If I have the number "57" for Prod 3, from Nov. 08, what formula
can be used to find the number "12" also from Prod 3, from Oct. 08. Again, I
can not use the monthly column headings as a reference for extraction. Thanks
much for the help!

Aug 08 Sep 08 Oct 08 Nov 08
Prod 1 14 16 9 17
Prod 2 23 42 37 14
Prod 3 37 16 12 57

Question for you: how do you know which column the Nov 08 result came from?
 
T

T. Valko

Perhaps a better question:
Again, I can not use the monthly column headings as a reference for
extraction

Why can't you use the column headers to find the data you're looking for?
 
M

Max

Maybe you intended to do something like this ?

Assuming your table as posted is in A1:E4
Beginning with 2 related variables,
ie a product: Prod 3,
and a certain known value for the product: 57

To get that product's value in the table just to the left of that known value:
=INDEX(OFFSET(B1:E1,MATCH("Prod
3",A2:A4,0),),MATCH(57,OFFSET(B1:E1,MATCH("Prod 3",A2:A4,0),),0)-1)

p/s: Don't use all caps even in your subject line
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:21,000 Files:370 Subscribers:66
xdemechanik
 
M

Morton Detwyler

Hello Max,
Thank you so much for your help....this worked perfectly.....

And, I do apologize for the caps....wasn't aware of the decorum. I'll avoid
all caps in the future.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top