D
Darin Spence
I have 12 columns with dates in each cell (1 row).
I'd like to write a formula that would look at row of
dates (12 cells worth), determine which date is the most
recent based on "today," then calculate the number of
weeks that have passed since the most recent date
to "today".
Some of the cells will be empty, and not have any dates.
The result could be "0" Weeks have passed (i.e. a date
that is less than one week old).
I'm thinking about looking into arrays for determining
the most recent date, but I'm not familiar with them.
Anyone have any idea how I can accomplish this? Feel
free to post a formula if it's easy for you.
My sheet basically looks like this:
Date1, Date2, Date3, Date4, Date5, Date6, Date7, Date8,
Date9, Date 10, Date 11, Date 12
Then there is a cell that says:
"Weeks since last visit:" 0 Weeks
or
1 Week
etc.
Thanks!
-Darin
I'd like to write a formula that would look at row of
dates (12 cells worth), determine which date is the most
recent based on "today," then calculate the number of
weeks that have passed since the most recent date
to "today".
Some of the cells will be empty, and not have any dates.
The result could be "0" Weeks have passed (i.e. a date
that is less than one week old).
I'm thinking about looking into arrays for determining
the most recent date, but I'm not familiar with them.
Anyone have any idea how I can accomplish this? Feel
free to post a formula if it's easy for you.
My sheet basically looks like this:
Date1, Date2, Date3, Date4, Date5, Date6, Date7, Date8,
Date9, Date 10, Date 11, Date 12
Then there is a cell that says:
"Weeks since last visit:" 0 Weeks
or
1 Week
etc.
Thanks!
-Darin