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 / September 2007

Tip: Looking for answers? Try searching our database.

MATCH & LOOKUP functions

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Graham - 27 Sep 2007 17:33 GMT
Hi, I'm trying to calculate how far from the bottom (last entry) of a table
other last column entries are.
LOOKUP is locating the last value in any given column for me, and by then
applying MATCH, which generates a ROW number, I take this away from the last
row number of the table (remotely referenced in A2) to give me the distance
from the bottom e.g. 12 rows;

=SUM($A$2-MATCH(LOOKUP(100,CT:CT),CT:CT,0))

However if the last value is duplicated in the same column, MATCH is giving
me the row number for that entry rather than the final entry.
How can I force it to give me the row number for the final entry for that
value ?
Or is there a better way to achieve what I'm doing ?
Any advice appreciated!
T. Valko - 27 Sep 2007 18:42 GMT
Try this:

=$A$2-LOOKUP(100,CT:CT,ROW(CT:CT))

Signature

Biff
Microsoft Excel MVP

> Hi, I'm trying to calculate how far from the bottom (last entry) of a
> table
[quoted text clipped - 15 lines]
> Or is there a better way to achieve what I'm doing ?
> Any advice appreciated!
Graham - 27 Sep 2007 19:16 GMT
Once again you've been a great help, Many thanks

> Try this:
>
[quoted text clipped - 19 lines]
> > Or is there a better way to achieve what I'm doing ?
> > Any advice appreciated!
T. Valko - 27 Sep 2007 19:25 GMT
You're welcome. Thanks for the feedback!

Signature

Biff
Microsoft Excel MVP

> Once again you've been a great help, Many thanks
>
[quoted text clipped - 23 lines]
>> > Or is there a better way to achieve what I'm doing ?
>> > Any advice appreciated!
 
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.