Need formula to distinguish is task date is due within the month

victoriar

New Member
Joined
Jun 3, 2024
Messages
9
Office Version
  1. 2013
Platform
  1. MacOS
Hello, I need a formula to identify if the task dates that have been entered are either "Past due", "Not due this month", or "Yes, due this month"
A little context, our Program Managers have monthly tasks that need to be completed each month. Program Managers input the dates within that month.

For example, for June 2024, all Program Mangers will enter June 2024 dates for different tasks. I would like help with generating a formula to indicate whether within the month of June 2024 the dates state "Past due", "Not due this month", or "Yes, due this month". We have 6 month authorizations and put future dates so that should reflect "Not due this month" and if dates within June should say Yes due this month. Etc.

This is what I have so far, I just cant figure out how to make a formula to say whether within the month of June it says "Yes, due this month".
=IF(C25="","Not due this month", If(C25<Today(),"Past due",IF(C25>Today(), "Not due this month")))
 

Attachments

  • Excel sheet.png
    Excel sheet.png
    233 KB · Views: 13

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
As you already have <today and > this month
then try

=IF(OR(C25="",C25>EOMONTH(TODAY(),0)),"Not due this month",IF(C25<TODAY(),"Past due","Due this month"))

Cell Formulas
RangeFormula
D25:D30D25=IF(OR(C25="",C25>EOMONTH(TODAY(),0)),"Not due this month",IF(C25<TODAY(),"Past due","Due this month"))
C30C30=TODAY()
 
Upvote 0

Forum statistics

Threads
1,224,774
Messages
6,180,879
Members
453,003
Latest member
SalihZekiKoni

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