How to Create Notifications or Reminders in Excel (5 Methods)

If you want to create notifications or reminders in Excel, you have come to the right place. Here, we will walk you through 5 easy methods to do the task smoothly.


Create Notifications or Reminders in Excel: 5 Simple Methods

In the following dataset, you can see the Product and Supply Date columns. Here, we have several Supply Dates that include dates that are ahead of the present-day, and past-day dates. Further, using this dataset, we will go through 5 easy methods to create notifications or reminders in Excel.

Here, we use Microsoft Excel 365. You can use any available Excel version.

Dataset to Create Notifications or Reminders in Excel


1. Utilize Excel Conditional Formatting to Make Notification or Reminders

In this method, we will use the Conditional Formatting feature to create notifications or reminders in Excel. Using this method, we will mark the dates that are up to 30 days from today’s date.

Steps:

  • First of all, select cells C5:C9.
  • Here, you must select cells that you want to apply Conditional Formatting.
  • After that, go to the Home tab >> select Conditional Formatting.
  • This will bring out several Conditional Formatting options.
  • Then, we will select New Rule.

Using Conditional Formatting to Create Notifications or Reminders in Excel

  • At this point, a New Formatting Rule dialog box will appear.
  • Moreover, we will select Use a formula to determine which cells to format as the rule type.
  • In addition, in the Format values where this formula is true box, we will type the following formula.
=AND($C5>TODAY(),SA1-TODAY()<=30)
  • This formula will find out the dates that are up to 30 days from today’s date.
  • In addition, click on Format.

  • Furthermore, click on Fill.
  • In addition, select a color to format the cells.
  • Here, we selected Yellow color.
  • You can see the sample of the color.
  • Then, click OK.

Selecting Color to Create Notifications or Reminders in Excel

  • Afterward, you can see the Preview of the color in the New Formatting Rule dialog box.
  • In addition, click OK.

  • As a result, you can see the dates that are up to 30 days from today’s date have been marked with Yellow color.
  • Therefore, we can create notifications or reminders for supply dates.


2. Combine IF and TODAY Functions to Generate Notifications

In this method, we will use the combination of IF and TODAY functions to create notifications or due date reminders in Excel. Using this method, we will find out notifications for the dates that are less than today.

Steps:

  • In the first place, we will type the following formula in cell D5.
=IF(C5<TODAY(),"Date Expire","")

Combine IF and TODAY Function to Create Notifications or Reminders in Excel

Formula Breakdown

  • IF(C5<TODAY(),”Date Expire”,””) → the IF function makes a logical comparison between a given data and a data we expect.
  • The TODAY function returns the date of today.
    • Output: Date Expire
  • Explanation: Since the logical test of the IF function is true, it returns Date Expire.
  • After that, press ENTER.
  • Therefore, you can see the result in cell D5.
  • At this point, we will drag down the formula with a Fill Handle tool.

  • Therefore, you can see the notifications or reminders for the dates that are less than today’s date.

Read More: How to Set Due Date Reminder Formula in Excel


3. Merge IF, TODAY, and AND Functions to Create Reminders in Excel

In this method, we will merge IF, TODAY, and AND functions to create notifications or reminders in Excel. Here, we want notification or reminder No for the dates that are ahead of today and Yes for the dates that are behind today.

Steps:

  • In the beginning, we will type the following formula in cell D5.
=IF(AND(C5<>"",TODAY()+7>=C5),"Yes","No")

Merge IF, TODAY, AND Functions to Create Notifications or Reminders in Excel

Formula Breakdown

  • The TODAY function finds out the date for today.
  • The AND function finds out whether all conditions are true in a logical test.
  • The IF function makes a logical comparison between a given data and the data we expect.
  • IF(AND(C5<>””,TODAY()+7>=C5),”Yes”,”No”) becomes
    • Output: No.
  • Explanation: Since the logical test is not true, the formula returns No.
  • After that, press ENTER.
  • Hence, you can see the result in cell D5.
  • Furthermore, we will drag down the formula with the Fill Handle tool.

Applying Fill Handle Tool to Create Notifications or Reminders in Excel

  • Hence, you can see the notification or reminder No for the dates that are ahead of today and Yes for the dates that are behind today.


4. Apply Excel VBA Macros to Get Pop-Up Notification or Reminders

In this method, we will use VBA to create pop-up notifications or reminders in Excel.

Steps:

  • In the first place, we will right-click on the Sheet name >> select Visual Basic.
  • Here, we will right-click on the Sheet in which we want the notification to pop up.

  • At this point, a VBA Editor window will appear.
  • Furthermore, we will type the following code in the VBA Editor window.
Sub Reminder_date()
Dim date_col As Range
Dim due_date As Range
Dim pop_up_reminders As String
Set date_col = Range("D5:D9")
For Each due_date In date_col
    If due_date <> "" And Date >= due_date - Range("D11") Then
        pop_up_reminders = pop_up_reminders & " " & due_date.Offset(0, -2)
    End If
Next due_date
If pop_up_reminders = "" Then
    MsgBox "do not go for today"
Else: MsgBox "Contact these buyers " & pop_up_reminders
End If
End Sub

VBA code for due date reminder

Code Breakdown

  • Here, we declare the Reminder_date as the Sub.
  • We take Date_Col as Range, Due_date as Range, and pop_up_Reminders as String.
  • For loop is used to run the code until it finds the last date.
  • Else statement is used to set up a condition to show the notifications.
  • After that, Save the code >> Run the code.
  • Therefore, you can see the pop-up notification in the Worksheet.


5. Add New Ribbon and Insert VBA to Obtain Notifications in Excel

In this method, first, we will insert VBA, and then, we will create a customized ribbon to assign the VBA. Afterward, every time we click on the customized ribbon, a reminder will pop up.

Let’s go through the following steps to do the task.

Step-1: Insert VBA

  • In this step, we will insert VBA.
  • To do so, in the first place, go to the Developer tab >> select Visual Basic.
  • This will open the VBA Editor window.
  • Here, you can press the ALT+F11 keys to open the VBA Editor window.

  • At this point, from the Insert tab >> select Module.

Inserting Module to Create Notifications or Reminders in Excel

  • Moreover, we will type the following code in the Module.
Dim time As Double
Dim message As String
Sub Pop_up_Notifications()
Dim what_time As String
If time = 0 Then
what_time = InputBox("when you want the reminder to Popup?")
If what_time <> "" And what_time <> "False" Then
message = InputBox("enter notification message")
On Error Resume Next
time = Date + TimeValue(what_time)
On Error GoTo 0
Application.OnTime Alarm, "Pop_up_Notifications"
End If
Else
Beep
Application.Speech.Speak message
MsgBox message
message = " "
time = 0
End If
End Sub

Code Breakdown

  • We take Pop_up_Notifications as the Sub.
  • We take time as Double, message, and what_time as String.
  • An Input box is used to input the time for notifications.
  • If…Then statement is used to show the second message box.
  • onTime Alarm method is used to show the notifications on time.
  • Speech method is used to hear the notifications.
  • After that Save the code >> go back to the Worksheet.

Step-2: Add Customized Ribbon

In this step, we will add a customized ribbon to the Worksheet. Here, we want the customized ribbon in the View tab, beside the Macro group.

  • To do so, first, go to the File tab.

  • After that, from More >> select Options.

  • At this point, an Excel Options dialog box will appear.
  • Then, from the Customize Ribbon >> go to the View tab >> expand the View tab.
  • Furthermore, select Macros >> click on New Group.

Inserting Customized Ribbon to Create Notifications or Reminders in Excel

  • Therefore, you can see a New Group under the Macro group.
  • Next, we will rename this New Group.
  • To do so, we will click on Rename.
  • At this point, a Rename dialog box will appear.
  • Then, we will type Notifications in the Display Name box >> click OK.

  • Now, it is time to assign the macro to the new Notification ribbon.
  • Then, we will click on the drop-down icon in the Choose commands from box >> select Macros.

  • Then, we will select Pop_up_Notification which is the Sub of our code.
  • Click on Add >> select Rename.

  • Then, we will select a Symbol to show the ribbon.
  • Here, we select a Hand symbol.
  • You can select any symbol according to your wish.
  • In addition, click OK.

  • Therefore, you can see a Pop_up_Notifications ribbon in the View tab.
  • Furthermore, we will click on Pop_up_Notifications.

  • After that, an Input box will appear.
  • Here, we will input a time at which we want the notification >> click OK.

  • Along with that, another message box will appear.
  • Then, we will type the message >> click OK.

Created Mesage Box to Create Notifications or Reminders in Excel

  • Therefore, when the time of message comes, it pops up the message.
  • Along with that, you will hear an audio of the message.
  • Hence, we can create notifications or reminders in Excel.

Note: You must add the customized ribbon and assign the code if you want this method to work in your Excel sheet. Otherwise, downloading the above Excel file will not execute this method.

Practice Section

You can download the following Excel file and practice the explained methods.


Download Workbook

You can download the following Excel file and practice while reading this article.


Conclusion

Here, we show you 5 easy methods to create notifications or remainder in Excel. Thank you for reading this article. We hope it was helpful. If you have any queries, please let us know in the comment section.


Related Articles


<< Go Back to Alerts in Excel | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Afia Kona
Afia Kona

Afia Aziz Kona, a graduate of Civil Engineering from Khulna University of Engineering & Technology, Bangladesh, serves as a technical content creator in the ExcelDemy project. Possessing a passion for innovation and critical thinking, she actively embraces challenges. Beyond her engineering background, Afia exhibits a keen interest in Excel, having authored numerous articles on Excel & VBA-related issues to simplify the experience for users facing obstacles in Excel. Apart from creating Excel tutorials, she is also... Read Full Bio

6 Comments
  1. Good morning,

    Your VBA code for 4th example does not work.

    The Next Due line of code does not run.

    • Hello Rupert,
      Sorry to hear about your trouble. But this code is working for use. You can try the following steps to run this code successfully.
      • You can Right-click on the sheet name to open the code window for writing the code.

      1

      • After writing down the code in the window when you will try to run it, you will see the sheet name before the sub procedure name like below.

      2

      • After running the code in this way, we got the following result.

      3

      • Moreover, you can try to remove Option Explicit from the first line of the code.
      Hope this will work for you.

      Best Regards
      ExcelDemy

  2. The VBA code has not worked for me either!…. I get a Compile error: Invalid Next control variable reference, and I cut and paste your code in, to make sure I did not misprint any detail

    • Reply Avatar photo
      Osman Goni Ridwan Dec 24, 2023 at 10:51 AM

      Hi Paulie,
      Thanks for your comment. The VBA code is working completely fine from our end. Can you please share your workbook (.xlsm) file so we can check and find out the error easily?

      Regards
      ExcelDemy Team

  3. I see the error the other users have found in the code snippet specifically on this page vs in the download —The code on this page starts using the variable “due_date”, but part way down changes to “Due”; the code as downloaded uses “Due” all the way through and does not use “due_date”.

    Code as on this page:
    Sub Reminder_date()

    Dim date_col As Range
    Dim due_date As Range
    Dim pop_up_reminders As String

    Set date_col = Range(“D5:D9”)

    For Each due_date In date_col

    If due_date “” And Date >= due_date – Range(“D11″) Then
    pop_up_reminders = pop_up_reminders & ” ” & Due.Offset(0, -2)
    End If

    Next Due

    If pop_up_reminders = “” Then
    MsgBox “do not go for today”
    Else: MsgBox “Contact these buyers ” & pop_up_reminders
    End If

    End Sub

    Code from download:
    Option Explicit

    Sub Reminder_date()

    Dim DueDate_Col As Range
    Dim Due As Range
    Dim PopUp_Notification As String

    Set DueDate_Col = Range(“D5:D9”)

    For Each Due In DueDate_Col

    If Due “” And Date >= Due – Range(“D11″) Then
    PopUp_Notification = PopUp_Notification & ” ” & Due.Offset(0, -2)
    End If

    Next Due

    If PopUp_Notification = “” Then
    MsgBox “No need to chase any buyer today.”
    Else: MsgBox “These buyers need chasing today: ” & PopUp_Notification
    End If

    End Sub

    • Reply Md. Sourav Hossain Mithun
      Md. Sourov Hossain Mithun Feb 25, 2024 at 3:59 PM

      Hello JULIA MANDEVILLE,
      We hope you are doing well. You got the exact mismatch between the code on the article and the code on the Excel file. That was very unfortunate and we really appreciate your feedback, thank you so much. We have fixed it on the article and Excel file.

      Thanks and regards,
      Md. Sourov Hossain Mithun
      Team ExcelDemy

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo