Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default How to find the latest date?

Hi,

As you can see below, I have some data as below. Now I would like to find
the latest date for each name. May I ask which formula I can use? The result
I want is
Anne - 2008/3/6, Bryan - 2008/6/7...etc. Thanks in advance.

Anne 2008/11/5
Anne 2008/1/15
Anne 2008/3/6
Bryan 2005/1/1
Bryan 2006/5/1
Bryan 2007/5/31
Bryan 2008/6/7
Cody 2001/8/1
Cody 2002/9/30
Cody 2006/7/8
Cody 2007/9/6
Cody 2008/8/15
David 2009/3/1
David 2009/5/1

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default How to find the latest date?

With the name in cell C1 use the below formula. Format formula cell to date...

Please note that this is an array formula. Within the cell in edit mode (F2)
paste this formula and press Ctrl+Shift+Enter to apply this formula. If
successful in 'Formula Bar' you can notice the curly braces at both ends like
"{=<formula}"

=MAX(IF((A1:A100=C1),B1:B100))

If this post helps click Yes
---------------
Jacob Skaria


"lalann" wrote:

Hi,

As you can see below, I have some data as below. Now I would like to find
the latest date for each name. May I ask which formula I can use? The result
I want is
Anne - 2008/3/6, Bryan - 2008/6/7...etc. Thanks in advance.

Anne 2008/11/5
Anne 2008/1/15
Anne 2008/3/6
Bryan 2005/1/1
Bryan 2006/5/1
Bryan 2007/5/31
Bryan 2008/6/7
Cody 2001/8/1
Cody 2002/9/30
Cody 2006/7/8
Cody 2007/9/6
Cody 2008/8/15
David 2009/3/1
David 2009/5/1

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default How to find the latest date?

Fantastic! Many thanks.

"Jacob Skaria" wrote:

With the name in cell C1 use the below formula. Format formula cell to date...

Please note that this is an array formula. Within the cell in edit mode (F2)
paste this formula and press Ctrl+Shift+Enter to apply this formula. If
successful in 'Formula Bar' you can notice the curly braces at both ends like
"{=<formula}"

=MAX(IF((A1:A100=C1),B1:B100))

If this post helps click Yes
---------------
Jacob Skaria


"lalann" wrote:

Hi,

As you can see below, I have some data as below. Now I would like to find
the latest date for each name. May I ask which formula I can use? The result
I want is
Anne - 2008/3/6, Bryan - 2008/6/7...etc. Thanks in advance.

Anne 2008/11/5
Anne 2008/1/15
Anne 2008/3/6
Bryan 2005/1/1
Bryan 2006/5/1
Bryan 2007/5/31
Bryan 2008/6/7
Cody 2001/8/1
Cody 2002/9/30
Cody 2006/7/8
Cody 2007/9/6
Cody 2008/8/15
David 2009/3/1
David 2009/5/1

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
How to find a row with latest date and its values MSSailor Excel Discussion (Misc queries) 1 March 12th 09 02:16 AM
find latest date in a row, when dates have apostrophes in it brakbek Excel Discussion (Misc queries) 3 January 19th 07 09:14 PM
Need help to find a date (latest date) from a column CraigNowell Excel Worksheet Functions 4 March 20th 06 10:47 PM
Need help to find a date (latest date) from a column Max Excel Worksheet Functions 0 March 20th 06 02:49 PM
code not unique find latest date Barbara Wiseman Excel Discussion (Misc queries) 3 December 11th 05 08:50 AM


All times are GMT +1. The time now is 10:06 PM.

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"