Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-24-2019, 11:13 AM
p45cal's Avatar
p45cal p45cal is offline Conditional Formatting date change "Y" Windows 10 Conditional Formatting date change "Y" Office 2016
Expert
 
Join Date: Apr 2014
Posts: 956
p45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond repute
Default



Quote:
Originally Posted by lolla70 View Post
I want to do a conditional formatting that every time a number change in G column to highlight that cell
You're going to struggle with that one because you haven't said how long you want the highlighting to show. From the formula I guess each cell in column G is going to change once a year, so how long after that change has happened do you want to stop highlighting?


You could conditionally highlight those cells which have changed since a certain date of your choosing; in the attached I've put such a date in cell K1 and conditional formatting in column G. Change the date manually in K1 and see different cells being highlighted yellow.


You might want to highlight those cells which have changed in the last 90 days, in which case instead of manually adjusting cell K1, put a formula in there such as:
=TODAY()-90


Of course, if you're sure you'll always want only to see changes in the last ninety days, you can incorporate that into the conditional formatting formula:
=(DATEDIF($H2,TODAY()-90,"Y")+I2)<>$G2
and dispense with the K1 cell.


In column N, I've put the formulae I used for conditional formatting. It's just for your information, they should be deleted since they're not needed.



Note that none of this will highlight changes due to a change in column H and/or I, only changes due to the passage of time. You'll need VBA (macros) to do that.
Attached Files
File Type: xlsx msofficeForums42335Test Excel Date.xlsx (14.2 KB, 9 views)
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help with conditional formatting & returning "Pass" / "Fail Results" in a Column N mikey386 Excel 2 12-11-2014 01:14 PM
Conditional Formatting date change &quot;Y&quot; Numbering format not "tracked" in track changes w/ formatting "on." Velocitydreamer Word 1 05-26-2013 07:04 AM
Conditional formatting - "From" - Why does it recognise only names and not emails ghumdinger Outlook 0 09-18-2011 01:28 AM
How do I change the "and" to "or" with multiple Rules (and Alerts)? bschimmel Outlook 0 11-16-2009 05:26 AM
Conditional Formatting date change &quot;Y&quot; I need help with "Conditional Formatting" tgorrie Excel 1 02-28-2006 12:18 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:08 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft