Jump to content

Microsoft Excel again


367squadron

Recommended Posts

Cell value is less than NOW()-2557 using conditional formatting, where 2557 is 365.25 x 7years rounded.

 

If you want to pull the result into another column...=IF(NOW()-ROUND(7*365.25,0)>A1,"X","") where your date is in A1

Link to comment
Share on other sites

I was thinking more on the lines of using conditional formatting under the format tool bar to show the date in red where the date was greater than 7 years old. So much simpler. However, I've just produced the result but not sure how to explain it here, lol

Link to comment
Share on other sites

Cell value is less than NOW()-2557 using conditional formatting, where 2557 is 365.25 x 7years rounded.

 

If you want to pull the result into another column...=IF(NOW()-ROUND(7*365.25,0)>A1,"X","") where your date is in A1

 

Lol thanks, good idea but for some reason it is just putting all dates in red therefore not picking up the ones over 7years.

Link to comment
Share on other sites

I was thinking more on the lines of using conditional formatting under the format tool bar to show the date in red where the date was greater than 7 years old. So much simpler. However, I've just produced the result but not sure how to explain it here, lol

 

I know what you mean i have just put in a date that was 7 years ago and it did that fine but what i need is Excel to look at todays date and tomorrows when i open it again to automatically calculate that the date over 7 years old.

 

Its some file that i have to shred but an't do it until they are 7 years old, some are some arent that's why i need them highlighted.

Link to comment
Share on other sites

Lol thanks, good idea but for some reason it is just putting all dates in red therefore not picking up the ones over 7years.

 

Seems to be a formatting issue. If you select the cells, go into format cells and select the third line down for the date format, it works fine.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.