How to use conditional formula to change color when a field is less than other and contains Name

SooKim

New Member
Joined
Aug 21, 2019
Messages
1
[FONT=&quot]Hello,[/FONT]
[FONT=&quot]I need help using the conditional formatting colors on Close Date.[/FONT]
[FONT=&quot]When Close Date is less than (270 days, 180 days , 120 days, or 60 days) from As of Date from the NAME (e.g., Introduction, Meeting Scheduled, Meeting Confirmed, and Sales closed) I want the close date cell to change color.[/FONT]
[FONT=&quot]Introduction Stage is Close Date (< =270 days) from As of Date change color Yellow[/FONT]
[FONT=&quot]Meeting Scheduled Stage is Close Date (< =180 days) from As of Date change color Yellow[/FONT]
[FONT=&quot]Meeting Confirmed Stage is Close Date (<= 120days) from As of Date change color Yellow[/FONT]
[FONT=&quot]Sale closed Stage is Close Date (< =60days) from As of Date change color Yellow[/FONT]
[FONT=&quot]
[/FONT]

[FONT=&quot]The formula I have doesn't work correctly, will you tell me what I did wrong and provide me a better formula?[/FONT]
[FONT=&quot]=COUNTIFS($b2,"Introduction",$c2,">="&$A2,$c2,"<="&EDATE($A2,270))+ COUNTIFS($B2,"Meeting Scheduled ",$c2,">="&$A2,$c2,"<="&EDATE($A2,180))+ COUNTIFS($E2,"Meeting Confirmed",$c2,">="&$A2,$c2,"<="&EDATE($A2,120))+ COUNTIFS($E2,"Sale Closed",$c2,">="&$A2,$c2,"<="&EDATE($A2,60))https://docs.google.com/spreadsheets/d/1K5YRI3olKNtuTF8rZgBkrvqAiScCwr9ges2oKsfOPPE/edit#gid=0[/FONT]
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Hi & welcome to MrExcel.
You're link has not been marked for sharing & is therefore asking me to sign-in.
Can you please mark the file for sharing & provide a new link.
 
Upvote 0

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top