LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Will G.
 
Posts: n/a
Default formula to find and flag dates older than 30 days

What I need is function/formula that will look at a column of dates (format
is 99/99/99), compare each cell's value to a cell containing a report date
(or todays date), and then mark the cell thats 30 days older or more out of
range in a color, preferrably salmon.
Then I need another formula that will total up the number of cells in that
column that are out of the date range (and will be a salmon color) at the
bottom of the column

I can also add a column just to the right of the data to use as a marking
"out of 30 day range" indicator and use the counta function on that column.

I was thinking about something like the following:

if celldate <= (todaysdate - 31), then adjcolumncell = x, else
adjcolumncell = blank
but that will only put an x in the appropriate adjacent column (if I
could get the proper syntax worked out) - I would still have to do the counta
on the adj column. And im not sure if I can compare dates like numbers - I
dont know how to do a conversion on a cell containing a date to the numeric
value of the date.
 
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



All times are GMT +1. The time now is 01:13 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"