Conditional Formatting for Word and Date [Solved/Closed]

Tiffanypoche - Dec 31, 2016 at 05:51 PM - Latest reply: Mazzaropi 1826 Posts Monday August 16, 2010Registration dateContributorStatus April 15, 2018 Last seen
- Jan 1, 2017 at 10:06 AM
Hello,
I am trying to make a cell turn a different color depending on if another cell has a word in it and if the date of a third cell is between two dates. I have for formula for adding them up, but now I want them to be a specific color. This is the formula I have for the sum.

How can I make these cells a specific color?

=SUMIFS(G2:G173,B2:B173,"*DTC*",D2:D173,">=10/1/2014",D2:D173,"<=10/03/2015")


See more 

3 replies

Mazzaropi 1826 Posts Monday August 16, 2010Registration dateContributorStatus April 15, 2018 Last seen - Jan 1, 2017 at 09:12 AM
+1
Helpful
1
Tiffanypoche, Good morning.

Try to use this formula at Conditional Formatting:

=AND(ISNUMBER(MATCH("*DTC*", $B2, 0)), $D2>=DATEVALUE("10/01/2014"), $D2<=DATEVALUE("10/03/2015"))

Format color you desire;

Applies to: $G$2:$G$173
OK

Is that what you want?
I hope it helps.
--
Belo Horizonte, Brasil.
Marcílio Lobão
Was this answer helpful?  
Tiffanypoche 1 Posts Saturday December 31, 2016Registration date January 1, 2017 Last seen - Jan 1, 2017 at 09:23 AM
Thank you so much!!! That worked perfect!
Mazzaropi 1826 Posts Monday August 16, 2010Registration dateContributorStatus April 15, 2018 Last seen - Jan 1, 2017 at 10:06 AM
0
Helpful
Thanks for the feedback.

I'm glad to have helped.

I wish a year of great health and accomplishments for you and your family.
--
Belo Horizonte, Brasil.
Marcílio Lobão