LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default Vlookup return most recent date (value)

You are correct. I had an issue with Text vs Numbers...
--
HTH...

Jim Thomlinson


"Jacob Skaria" wrote:

Jim, could you please try again..with the alternate query IDs in cell c1...

Col A Col B Col C
1 7:21 PM 3
1 7:22 PM
2 8:05 PM
2 8:06 PM
3 9:06 PM
3 9:07 PM


--
Jacob (MVP - Excel)


"Jim Thomlinson" wrote:

I could not get that to work... In it's current form it just returned zero. I
tried

=SUMPRODUCT(MAX(--($A$2:$A$100=C1), $B$2:$B$100))

But that just returned the max date regardless of the ID selected. Here is
what I ended up with...

=MAX(IF($A$2:$A$100=C1, $B$2:$B$100))

***Note this is an array formula and MUST be committed using
Shift + Ctrl + <Enter

--
HTH...

Jim Thomlinson


"Jacob Skaria" wrote:

With your data in ColA/B and the query ID in cell C1 try the below

=SUMPRODUCT(MAX(($A$2:$A$100=C1)*$B$2:$B$100))

--
Jacob (MVP - Excel)


"ryanholliday" wrote:

Hello,

I have a set of data where Column A contains an personal ID# (001). Column
B contains a timestamp. My table has multiple entries for each ID# and
different timestamps for each entry. I want to use a vlookup to find the
MOST RECENT timestamp for EACH ID. Any help would be greatly appreciated.

Thanks,
Ryan



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
lookup part number in a vertical list and return the most recent . James T[_2_] Excel Discussion (Misc queries) 4 August 28th 07 09:07 PM
formula to return date of most recent update Paul Excel Worksheet Functions 0 March 29th 07 02:10 AM
most recent date excelFan Excel Discussion (Misc queries) 1 December 21st 06 02:57 PM
VLOOKUP return text not date Paul Dennis Excel Worksheet Functions 3 September 28th 06 12:11 PM
Looking up the most recent date CatatonicBug Excel Worksheet Functions 3 September 8th 06 08:46 PM


All times are GMT +1. The time now is 04:18 AM.

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

About Us

"It's about Microsoft Excel"