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 / New Users / February 2008

Tip: Looking for answers? Try searching our database.

Max Value in Year

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jan Kronsell - 08 Feb 2008 15:20 GMT
I have a column containing dates, (European date format)

01-05-2006
07-09-2006
01-12-2007
07-12-2007
31-12-2007
01-01-2008
03-02-2008
...
...
Date are not always sorted.

How can I find the max date in 2006, 2007 2008 and so on?

In 2006 that would be 07-09-2006, in 2007 31-12-2007

Jan
Gary''s Student - 08 Feb 2008 15:31 GMT
Excellent question!  Try this array formula:

=MAX(IF(YEAR(A1:A7=2007),A1:A7))

insert this with CNTRL-SHIFT-ENTER rather than just the ENTER key
Signature

Gary''s Student - gsnu2007d

> I have a column containing dates, (European date format)
>
[quoted text clipped - 14 lines]
>
> Jan
Ron Coderre - 08 Feb 2008 15:35 GMT
Try this:

=MAX(INDEX((YEAR(A1:A60)=2007)*A1:A60,0))

Is that something you can work with?
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)

>I have a column containing dates, (European date format)
>
[quoted text clipped - 14 lines]
>
> Jan
Jan Kronsell - 08 Feb 2008 15:40 GMT
Thank you very much to both of you.

Jan

> Try this:
>
[quoted text clipped - 27 lines]
>>
>> Jan
 
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.