The first instance in which axis? Is there more than 2 instances? Is the
table sorted so that all instances are grouped together?
--
Biff
Microsoft Excel MVP
"Don Murray" <Don Mur...@discussions.microsoft.com> wrote in message
news:BDE833B4-F157-4EF5...@microsoft.com...
Try
=INDEX(Info!$A$1:$H$101,(MATCH(B15,OFFSET(Info!$F$1:$F$101,MATCH(B15,$F$1:$F$101,FALSE),0)))+MATCH(B15,$F$1:$F$101,FALSE),MATCH("Total",Info!$A$1:$H$1,))
HTH,
Bernie
MS Excel MVP
"Don Murray" <Don Mur...@discussions.microsoft.com> wrote in message
news:BDE833B4-F157-4EF5...@microsoft.com...
=INDEX(Info!A1:H101,LOOKUP(2,1/(Info!F1:F101=B15),ROW(Info!F1:F101)),MATCH("Total",Info!A1:H1,0))
--
Biff
Microsoft Excel MVP
"Don Murray" <DonM...@discussions.microsoft.com> wrote in message
news:59BC3A60-8E3B-45A6...@microsoft.com...
I left out a false, which wasn't needed for my sample data set.
=INDEX(Info!$A$1:$H$101,(MATCH(B15,OFFSET(Info!$F$1:$F$101,MATCH(B15,Info!$F$1:$F$101,FALSE),0),FALSE))+MATCH(B15,Info!$F$1:$F$101,FALSE),MATCH("Total",Info!$A$1:$H$1,))
HTH,
Bernie
MS Excel MVP
"Don Murray" <DonM...@discussions.microsoft.com> wrote in message
news:23F941A6-2026-45B0...@microsoft.com...
Both of the formulas suggested by Bernie and myself do work.
Here's small sample that demonstrates this (with both formulas):
xLookupLast.xls
http://www.freefilehosting.net/download/3eilb
I put everything on the same sheet.
--
Biff
Microsoft Excel MVP
"Don Murray" <DonM...@discussions.microsoft.com> wrote in message
news:6FB64978-3AEB-46D8...@microsoft.com...