Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / May 2006

Tip: Looking for answers? Try searching our database.

Index Match Two columns Find Last Bottom

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
henryriver1 - 26 May 2006 15:19 GMT
Thanks for all your help in the past, I have a list of data containing lets
say two columns.  I need to find the bottom or last which meets the criteria
of column A.  For instance,  
Column A         Column B
134                    Jack
168                    Frank
170                    Sally
134                    Rod
170                    Amy
What I need is where A = 134, I want to find the last used cell where A =134
in which the answer is "Rod".  I have searched for a while with other type
solutions but none for exactly what I need.  Thanks in advance.  My data
contains about 100 rows sometimes the data is the same 134 = Rod, but all I
want is the last cell entry where A =134.  
Domenic - 26 May 2006 15:29 GMT
Assuming that A2:B6 contains the data, try...

=LOOKUP(2,1/($A$2:$A$6=134),$B$2:$B$6)

or

=LOOKUP(2,1/($A$2:$A$6=D2),$B$2:$B$6)

...where D2 contains 134.

Hope this helps!

> Thanks for all your help in the past, I have a list of data containing lets
> say two columns.  I need to find the bottom or last which meets the criteria
[quoted text clipped - 10 lines]
> contains about 100 rows sometimes the data is the same 134 = Rod, but all I
> want is the last cell entry where A =134.
henryriver1 - 26 May 2006 15:46 GMT
Thanks, works like a dream.  I am using this for a Real Time Reporting for
our production and they want to know what product is being ran at the current
time.  

> Assuming that A2:B6 contains the data, try...
>
[quoted text clipped - 22 lines]
> > contains about 100 rows sometimes the data is the same 134 = Rod, but all I
> > want is the last cell entry where A =134.
Bob Phillips - 26 May 2006 15:48 GMT
=INDEX(A1:A20,IF(B1:B20="Rod",A1:A20),ROW(A1:A20))

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.

Signature

HTH

Bob Phillips

(replace somewhere in email address with googlemail if mailing direct)

> Thanks for all your help in the past, I have a list of data containing lets
> say two columns.  I need to find the bottom or last which meets the criteria
[quoted text clipped - 10 lines]
> contains about 100 rows sometimes the data is the same 134 = Rod, but all I
> want is the last cell entry where A =134.
Bob Phillips - 26 May 2006 16:49 GMT
Don't know what happened there, should have been

=INDEX(B1:B20,MAX(IF(A1:A20=D2,ROW(A1:A20))))

still array formula.

Signature

HTH

Bob Phillips

(replace somewhere in email address with googlemail if mailing direct)

> =INDEX(A1:A20,IF(B1:B20="Rod",A1:A20),ROW(A1:A20))
>
[quoted text clipped - 19 lines]
> I
> > want is the last cell entry where A =134.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.