LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 60
Default Find row of date of previous year

Thanks Tom,

Neat and instructive.

Michael

"Tom Ogilvy" wrote:

Sure. My formula assumed they were sorted ascending.

A slight adjustment and it returns 4 for your test data:

=MATCH(DATE(YEAR(TODAY())-1,12,31),A1:A17,-1)+ISERROR(MATCH(DATE(YEAR(TODAY(
))-1,12,31),A1:A17,0))*1


 
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
Keep a previous year when entering down a column Karlene Excel Discussion (Misc queries) 1 February 25th 10 05:30 PM
How to find the year from a given date User Excel Discussion (Misc queries) 3 December 29th 08 12:50 PM
Calulate Sales for Previous Year CaptainPugwash Excel Worksheet Functions 4 August 14th 08 01:32 PM
Use year and weeknr to find date?? ElFrodo Excel Discussion (Misc queries) 2 February 5th 07 04:19 AM
Previous year data into chart dietmarhannam Excel Discussion (Misc queries) 0 November 25th 05 01:13 PM


All times are GMT +1. The time now is 02:41 AM.

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"