I need formatting to highlight the dates in Column H if they are a greater than a week or more from Column G. Tried some different ways of doing this with the conditional formatting but cannot get it to work yet
I need formatting to highlight the dates in Column H if they are a greater than a week or more from Column G. Tried some different ways of doing this with the conditional formatting but cannot get it to work yet
Select the dates in column H, goto Conditional formatting...New Rule, select use a formula to determine..., enter this formula,
=$H2>$G2+7
format as required.
Note, change 2 to the first row of the dates in column H.
If posting code please use code tags, see here.
I want it to search through all of column H so would I use $H:H>$G:G+7?
No, you would select column H and change the 2 to a 1.
Excel will increment the row in the formula just like it does when you copy a formula down.
'greater than a week or more' sounds like more than a weeek/7 days to me.![]()
'greater than a week' would sound like that, but adding 'or more' to it suggests otherwise to me
On the other hand, who am I to disagree with someone who réálly speaks English :P
"On the other hand, who am I to disagree with someone who réálly speaks English :P"
You obviously haven't been to Scotland!!![]()
Hahahah :D
(Sorry, Norie!)
Thanks guys. Think I got it sorted with the formula. Had to change the cell from H to M as M was the date I was supposed to be looking at.Formula:
Please Login or Register to view this content.
You could just change H2 to M2 in the formula I posted - no need for an If as long as the expression you use returns TRUE/FALSE.
Another formula entered in Conditional Formatting that will give you the same results is:
Formula:
Please Login or Register to view this content.
Select column H where you want the formatting applied then create the rule. If you want to change the range that the formatting is applied to, click on Conditional Formatting, Manage Rules. Click on Worksheet to show all the rules if the rule you want isn't showing when your first open Manage Rules. Select the rule that you want to modify, click in Applies To press F2 to enter editing mode and change the cell references using ABSOLUTE references.
<---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.Ron W
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks