+ Reply to Thread
Results 1 to 3 of 3

Thread: Comparing dates in 4 cells and adding 30 days to the most recent date

  1. #1
    Registered User
    Join Date
    01-13-2012
    Location
    Florence, KY
    MS-Off Ver
    Excel 2010
    Posts
    2

    Comparing dates in 4 cells and adding 30 days to the most recent date

    Trying to create a formula that will compare dates (day/month/year) in 4 different cells and then add 30 days to whichever date (of the 4) is the most recent date, (if one of the 4 cells is blank, it would disregard that cell),
    Example:
    A1=1/2/2012
    B1= 2/20/2012
    C1= (blank)
    D1= 2/6/2012

    End result would be for the formula, (located at E1), to realize that cell B1 has the most recent date and add 30 days to that, to end up showing a date of 3/21/2012.

    Would appreciate any help
    Last edited by NBVC; 01-13-2012 at 12:48 PM.

  2. #2
    Forum Guru NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    32,637

    Re: Comparing dates in 4 cells and adding 30 days to the most recent date

    Try:

    =IF(SUM(A1:D1)=0,"",MAX(A1:D1)+30)
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  3. #3
    Registered User
    Join Date
    01-13-2012
    Location
    Florence, KY
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Comparing dates in 4 cells and adding 30 days to the most recent date

    PERFECT !!!
    Thanx a bunch !!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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.2.0