Formula for Overdue based on > and < date

rajeshm28

New Member
Joined
Sep 12, 2024
Messages
8
Office Version
  1. 2021
Platform
  1. Windows
Good Day,

I have the below formula where the workday formula would return the 15th of a month.

What i am looking for is to update the cell with Overdue if the date range falls between >=15 and <=20 of the any given month.

=IF(TODAY()>=15,"Overdue",WORKDAY.INTL(EOMONTH(EDATE(TODAY(),1),-1),13,11))

please help.
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
Try this:
Excel Formula:
IF(AND(TODAY()>=15,TODAY()<=20),"Overdue",WORKDAY.INTL(EOMONTH(EDATE(TODAY(),1),-1),13,11))
 
Upvote 0
Try this:
Excel Formula:
IF(AND(TODAY()>=15,TODAY()<=20),"Overdue",WORKDAY.INTL(EOMONTH(EDATE(TODAY(),1),-1),13,11))
thank you, i tried to change today()<=30 and EOMONTH(EDATE(TODAY(),1),-2) to reflect current month but it did not give me overdue as output.
 
Upvote 0
How about
Excel Formula:
=LET(d,TODAY(),IF(AND(DAY(d)>=15,DAY(d)<=20),"Overdue",WORKDAY.INTL(EOMONTH(EDATE(d,1),-1),13,11)))
 
Upvote 0
Solution
Can you explain in words what your formula is supposed to do? The formula you gave in post #1 checks if today is greater or equal to than 15, which will always be true, because 15 as a date = Jan. 15, 1900. Today will never be less than or equal to 30, since that is Jan. 30, 1900.
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,224,748
Messages
6,180,721
Members
452,995
Latest member
isldboy

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