how to make a formula in excel

sweisberg

New Member
Joined
Sep 6, 2023
Messages
1
Hi I am trying to figure out what formula i would need if B2 is the main date (for example 7/1/2023), i would like:
- B3 to turn green if today is equal or greater than 3 months from B2 and red if it is less than 3 months away from B2
- then C3 to turn green 4 weeks after a date is inputed in B3

Let me know if this is possible
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
I suppose you are looking for Conditional formatting rules

B3 to turn green if today is equal or greater than 3 months from B2
Excel Formula:
=B3>B2+90

red if it is less than 3 months away from B2
Excel Formula:
=B3<B2+90

C3 to turn green 4 weeks after a date is inputed in B3
Excel Formula:
=Today()>B3+28
 
Upvote 0
Conditional formatting rules for B3

B3 to turn green if today is equal or greater than 3 months from B2
Excel Formula:
=TODAY()>=EDATE(B2,3)
red if today is less than 3 months away from B2
Excel Formula:
=TODAY()<EDATE(B2,3)
 
Upvote 0

Forum statistics

Threads
1,223,904
Messages
6,175,295
Members
452,633
Latest member
DougMo

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