Formula or Formatting to return a value based on a date and 18 weeks in the future from that date

TThorn

New Member
Joined
Jan 30, 2019
Messages
5
Hi All,

I am new here and admittingly not the greatest using excel.

I am having some issues with a workbook that I am currentlyworking on.
I need a formula that looks between 2 date ranges to returna value.
E.G - If the received date is 18 weeks from the running timethe value is compliant, if it is before 18 weeks the value is non compliant
Would appreciate any insight on how I go about achievingthis

Thanks :)
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
B1 will be the received date and A1 will be the start date, based on what you said about being 18 weeks or more its compliant and less than 18 weeks its non compliant

=IF((DAYS(B1,A1))/7>=18,"Compliant","Non compliant")
 
Upvote 0
=IF(DAYS(TODAY(),A2)>126,"Non-Compliant","Compliant")
 
Upvote 0

Forum statistics

Threads
1,223,703
Messages
6,173,971
Members
452,540
Latest member
haasro02

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