Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
dbs dbs is offline
external usenet poster
 
Posts: 18
Default Select the most recent date

I have an Excel file in which three columns contain dates. I would like a
function to select which date is the most recent. Any help you could provide
would be much appreciated. Thank you.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default Select the most recent date

If dates are in Columns A to C (100 rows):

=LARGE(A1:C100,1)

Format cell as DATE

will give latest ("largest") date

"dbs" wrote:

I have an Excel file in which three columns contain dates. I would like a
function to select which date is the most recent. Any help you could provide
would be much appreciated. Thank you.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,268
Default Select the most recent date

Try

=INDEX(Date_Range,MATCH(MAX(Date_Range),Date_Range ,0))

if you mean the latest date entry regardless of the date but entered like

date1
date2
and so on

=LOOKUP(99^99,Date_Range)

this assumes that your data are "real" Excel dates that is numerical


--
Regards,

Peo Sjoblom



"dbs" wrote in message
...
I have an Excel file in which three columns contain dates. I would like a
function to select which date is the most recent. Any help you could
provide
would be much appreciated. Thank you.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 37
Default Select the most recent date

Try the array formula

=INDEX(A1:A3,MATCH(SMALL(ABS(A1:A3)-NOW(),1),ABS(A1:A3)-NOW(),0),1)

Hope this can be helpful

--
Regards,

Sebation.G
"dbs" ...
I have an Excel file in which three columns contain dates. I would like a
function to select which date is the most recent. Any help you could
provide
would be much appreciated. Thank you.



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,124
Default Select the most recent date

Sub findmax()'chg date format to conform
x = Format(Application.Max(Columns("k:m")), "d-mmm")
Columns("k:m").Find(x, LookAt:=xlWhole, LookIn:=xlValues).Activate
End Sub


--
Don Guillett
SalesAid Software

"dbs" wrote in message
...
I have an Excel file in which three columns contain dates. I would like a
function to select which date is the most recent. Any help you could
provide
would be much appreciated. Thank you.


Reply
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
Produce the most recent date Julie Excel Worksheet Functions 6 February 22nd 07 01:07 AM
most recent date (correction) excelFan Excel Discussion (Misc queries) 6 December 21st 06 06:43 PM
most recent date excelFan Excel Discussion (Misc queries) 1 December 21st 06 02:57 PM
keep rows with most recent date Richard Excel Discussion (Misc queries) 0 December 4th 06 08:21 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 11:06 PM.

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

About Us

"It's about Microsoft Excel"