If/Then Statement - Date Greater Than or Less Than 30 Days

juleskaynel

New Member
Joined
Mar 14, 2014
Messages
9
I have a column of Dates (example below). In a separate field, I need to identify which dates are greater than or less than 30 days. I need help writing this statement.

Created
06/20/2017 10:21 AM
06/01/2017 07:36 AM
06/01/2017 06:36 AM
06/08/2017 10:20 AM

<colgroup><col></colgroup><tbody>
</tbody>

Thanks in advance for the help!
Julie
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Something like this?


Excel 2013/2016
AB
1Date ListResult
26/20/2017 10:21Over or equal to 30 days
36/1/2017 7:36Over or equal to 30 days
46/1/2017 6:36Over or equal to 30 days
56/8/2017 10:20Over or equal to 30 days
67/24/2017Less than 30 days
77/4/2017Less than 30 days
Sheet1
Cell Formulas
RangeFormula
B2=IF(TODAY()-A2>=30,"Over or equal to 30 days","Less than 30 days")
 
Upvote 0

Forum statistics

Threads
1,215,943
Messages
6,127,826
Members
449,411
Latest member
adunn_23

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