Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I am trying to find the row number, to use in a formula, of a row with
a date 365 days or 1 year ago. I need this to perform some cacluations on the last 12 months worth of data. Is there a simple excel function to do this or will I need a makro? Thanks |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=match(today()-365,rng,0)
-- --- HTH Bob (change the xxxx to gmail if mailing direct) wrote in message oups.com... I am trying to find the row number, to use in a formula, of a row with a date 365 days or 1 year ago. I need this to perform some cacluations on the last 12 months worth of data. Is there a simple excel function to do this or will I need a makro? Thanks |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
In case there is not an exact matching date try:
=MIN(IF(F1:F31=DATE(YEAR(TODAY())-1,MONTH(TODAY()),DAY(TODAY())),F1:F31)) Array entered with Control + Shift + Enter instead of just Enter otherwise you will get a date of January 1 1900 -- HTH Sandy In Perth, the ancient capital of Scotland and the crowning place of kings with @tiscali.co.uk wrote in message oups.com... I am trying to find the row number, to use in a formula, of a row with a date 365 days or 1 year ago. I need this to perform some cacluations on the last 12 months worth of data. Is there a simple excel function to do this or will I need a makro? Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Date formulas | Excel Discussion (Misc queries) | |||
Mileage Claim Formula | New Users to Excel | |||
Need help to find a date (latest date) from a column | Excel Worksheet Functions | |||
Excel: I enter date and format for date, but shows as number | Excel Discussion (Misc queries) | |||
NETWORKDAYS - Multiple Date Selection | Excel Discussion (Misc queries) |