Deadline Reminder

SSr00

New Member
Joined
Jul 14, 2023
Messages
13
Office Version
  1. 2016
Platform
  1. Windows
I am trying to make a user friendly deadline reminder for the shared drive at work, I got it to work with Microsoft 365 but we only have Excel 2016 at work and that does not have the =TEXTJOIN function.
I need whatever course is listed in B Column, to show up on either the "Due Today" or "Due Tomorrow" based on the deadline date set in column C.

Any help is greatly appreciated, thanks.

CourseAuto.xlsx
ABCEF
5
6Due TodayDriver's Cse, Mod3B
7
8
9Due TomorrowCEF
10
11
12Course Unit - NLT
13
14Driver's Cse11/09/2023
15CEF12/09/2023
16CommOP02/09/2023
17BTA31/08/2023
18GAA Coaching27/09/2023
19Mod2B01/09/2023
20Mod3B11/09/2023
21
22
23
24
25
26
27
28
29
30
31
32
Sheet1
Cell Formulas
RangeFormula
F6F6=TEXTJOIN(", ", TRUE, IF(C13:C39 = TODAY(), IF(B13:B39<>"", B13:B39, ""), ""))
F9F9=TEXTJOIN(", ", TRUE, IF(C13:C39 = TODAY() +1, IF(B13:B39<>"", B13:B39, ""), ""))
Cells with Conditional Formatting
CellConditionCell FormatStop If True
C25:C43,B13:C24Expression=ISBLANK(C13)textNO
C25:C43,B13:C24Expression=TODAY()>= B13textNO
C25:C43,B13:C24Expression=TODAY()>=B13 -1textNO
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
I know this is not ideal, but it will give you want you want. The code below is a UDF. It must be copied into a Standard VBA module

Book2
BCDEFGHI
2Due TodayDriver's Cse, Mod3BDriver's Cse, Mod3B
3
4
5Due Tomorrow CEF
6
7
8Course Unit - NLT
9
10Driver's Cse9/11/2023
11CEF9/12/2023
12CommOP9/2/2023
13BTA8/31/2023
14GAA Coaching9/27/2023
15Mod2B9/1/2023
16Mod3B9/11/2023
Sheet2
Cell Formulas
RangeFormula
F2F2=TEXTJOIN(", ", TRUE, IF(C10:C36 = TODAY(), IF(B10:B36<>"", B10:B36, ""), ""))
H2H2=JoinText(B10:B16,C10:C16,TODAY())
F5F5=TEXTJOIN(", ", TRUE, IF(C13:C39 = TODAY() +1, IF(B13:B39<>"", B13:B39, ""), ""))
H5H5=JoinText(B10:B16,C10:C16,TODAY()+1)


VBA Code:
Function JoinText(Rng1 As Range, Rng2 As Range, DC As Date) As String

  Dim Cel As Range
  Dim Cel2 As Range
  Dim Val1 As String
  Dim Dt As Date
  Dim j As String
  
  For Each Cel In Rng1
    Val1 = Cel.Value
    If Val1 <> "" Then
      Dt = Intersect(Cel.EntireRow, Rng2).Value
      If Dt = DC Then
        If Len(j) > 0 Then
          j = j & ", " & Val1
        Else
          j = Val1
        End If
      End If
    End If
  Next Cel
  JoinText = j
  
    
End Function
 
Upvote 1
Solution
Oooh, a legend. That either implies I have skills or I'm old. Both actually might apply relative to your skills and age! ;)
 
Upvote 1

Forum statistics

Threads
1,223,896
Messages
6,175,260
Members
452,627
Latest member
KitkatToby

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