Results 1 to 2 of 2

Thread: Compare Date Columns In Excel And Pull The Latest Date

  1. #1
    Junior Member
    Join Date
    Jul 2013
    Posts
    1
    Rep Power
    0

    Compare Date Columns In Excel And Pull The Latest Date

    I am trying to compare 4 columns in excel, each with a date. I need to be able to compare all 4 against each other and have a 5th column be the most recent date. I found something similar in the following thread:

    http://www.excelfox.com/forum/f2/vba...45/index2.html (I hope I did this right). If I click on the code it gives me this huge grey box. Is this a macro or something? If so, I would like to be able to do the same thing only with dates. How would I create this in my spreadsheet?

  2. #2
    Administrator Excel Fox's Avatar
    Join Date
    Mar 2011
    Posts
    1,402
    Rep Power
    10
    Why don't you just use a formula. If your dates are in B2,C2,D2 and E2, a formula in F2 = MAX(B2:E2) will give you the latest date.
    A dream is not something you see when you are asleep, but something you strive for when you are awake.

    It's usually a bad idea to say that something can't be done.

    The difference between dream and aim, is that one requires soundless sleep to see and the other requires sleepless efforts to achieve

    Join us at Facebook

Similar Threads

  1. VBA Program to Compare 4 Columns in Excel (Required)
    By vijaysram in forum Excel Help
    Replies: 11
    Last Post: 06-26-2013, 10:53 AM
  2. Replies: 5
    Last Post: 06-15-2013, 12:40 PM
  3. Replace Incorrect Date In Cell To Another Valid Date
    By DARSHANKmandya in forum Excel and VBA Tips and Tricks
    Replies: 2
    Last Post: 03-21-2013, 09:27 PM
  4. Automate Date Changes Within Excel Workbook
    By Danno2cu in forum Excel Help
    Replies: 9
    Last Post: 02-18-2013, 11:39 PM
  5. How To Change Date Format in Excel
    By Oh!Calcutta in forum Excel Help
    Replies: 1
    Last Post: 11-01-2012, 09:36 PM

Posting Permissions

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