+ Reply to Thread
Results 1 to 3 of 3

IF function query - At 30 days before a end day show message "Due in one month"

  1. #1
    Registered User
    Join Date
    03-18-2015
    Location
    UK
    MS-Off Ver
    2007
    Posts
    8

    IF function query - At 30 days before a end day show message "Due in one month"

    Hi

    I want the excel to show message in a cell automatically when it reaches 30 days before the deadline:

    My data in excel sheet:
    Deadline
    01/07/2015
    02/07/2015

    I am not sure how to write the code after the condition:
    Please Login or Register  to view this content.
    Help please!

    Thank you

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: IF function query - At 30 days before a end day show message "Due in one month"

    Hi,

    Do you really need a macro. You can do this with a normal excel function or apply a conditional format to the date cells so that they turn red when they are less than 30 days or so before the deadline.

    With a deadline date in A1, and another date in A2, enter in B2
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    alternatively put a cond format in A2

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    03-18-2015
    Location
    UK
    MS-Off Ver
    2007
    Posts
    8

    Re: IF function query - At 30 days before a end day show message "Due in one month"

    Hi

    Thanks for your quick reply.

    Even better without the macro.

    Cheers

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 3
    Last Post: 01-02-2014, 02:15 PM
  2. "IF()" function using "TODAY()" to produce a value in days
    By Rob.Marchel in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-06-2012, 09:12 PM
  3. MSoffice Outlook 2003 message to be saved in C dir with the file name "From" "Sent" "Sub"
    By shailendra0509 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-09-2012, 01:32 AM
  4. Application.ExecuteExcel4Macro "SHOW.TOOLBAR(""Ribbon"",False)" not working
    By redders in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-31-2011, 03:52 PM
  5. Replies: 2
    Last Post: 12-18-2006, 06:12 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1