Excel Date greater than another date

italy16

New Member
Joined
May 9, 2014
Messages
34
Hello everyone - I'm trying to input an If statement that says if date XXX PLUS 30 days is greater than date YYY, if true say "good", if false "Not good")

For example
cell A1 = 12/3/18
cell B1 = 12/15/18

So if cell B1 Plus 30 days (1/15/19) is greater than cell A1.....
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
How about
=IF(B1+30>A1,"good","not good")
 
Upvote 0
Alternatively if you want B1 +1month try
=IF(EDATE(B1,1)>A1,"good","not good")
 
Upvote 0
Slightly similar question - how would I say if the date in cell B1 is within 1 month of the date in cell a1?
 
Upvote 0
Is this what you mean?
=IF(AND(A1<=B1,EDATE(A1,1)>=B1),"good","not good")
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,239
Members
452,621
Latest member
Laura_PinksBTHFT

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