View Single Post
  #7   Report Post  
Posted to microsoft.public.excel.programming
Michael Singmin Michael Singmin is offline
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