+ Reply to Thread
Results 1 to 5 of 5

Need to compare 2 lists and return the date if different

  1. #1
    Registered User
    Join Date
    06-13-2013
    Location
    Milford, CT
    MS-Off Ver
    Excel 2003
    Posts
    2

    Post Need to compare 2 lists and return the date if different

    Hi all,

    First post ever here so I hope the formatting comes out clear. I think it will truncate spaces so this might help or see the attached file.

    Column A = numbers or text combinations
    Column B = date
    Column C = time
    Column D = mystery formula goes here
    Column E = numbers or text combinations
    Column F = date
    Column G = time

    I wish to see if any cell in Column (A) is also found in Column (E) and if it is return the date of Column (F) from List 2 to the (D) cell for the line item searched.

    ____LIST 1_____ _____LIST 2_____
    A B C D E F G
    1 NUMBER_TEXT 2/4/2009 9:04:44 AM " NUMBER 5/20/2015 11:14:17 AM
    2 NUMBER 11/16/2011 2:25:54 PM IF A2 IS FOUND IN THE E COLUMN, ENTER F2 HERE TEXT 9/25/2007 9:59:46 AM
    3 TEXT 9/25/2007 9:59:46 AM " TEXTNUMBER 9/1/2014 3:23:40 AM
    4 TEXTNUMBER 1/27/2014 4:08:29 PM 9/1/2014 (Example result)
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Need to compare 2 lists and return the date if different

    Try his, copied down...
    =VLOOKUP(A2,$G$1:$I$3,2,0)
    format as date
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Need to compare 2 lists and return the date if different

    E1=IFERROR(INDEX($H$1:$H$3,MATCH($A1,$G$1:$G$3,0)),"Not Found")
    try this and copy towards down
    If it is not you are looking for
    what is your result in E1,E2,E3 and E4
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  4. #4
    Registered User
    Join Date
    06-13-2013
    Location
    Milford, CT
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Need to compare 2 lists and return the date if different

    Thanks for your quick replies!
    FDibbins, that solution didn't just work, I think it needs a little tweaking to work.
    nflsales, that solution did work the first time.

    I'm impressed with what the experts here know about Excel. I try to self educate myself and some of this is really hard. Thanks for your help!

  5. #5
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Need to compare 2 lists and return the date if different

    You need the add the formula of FDibbens in cell E2.

    As FDibbens already said, format the result in date.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

+ 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. Compare two lists, return value against partially matchng item
    By ExcelWaza in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-09-2014, 07:21 AM
  2. Replies: 4
    Last Post: 12-04-2012, 04:45 PM
  3. Compare description to a set of keyword lists and return a 3 value
    By smschneid in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-11-2012, 03:28 PM
  4. Compare 2 lists and return value
    By Deetce in forum Excel General
    Replies: 1
    Last Post: 05-01-2012, 10:50 PM
  5. [SOLVED] How to compare 2 lists and return un-matched?
    By RWR in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-15-2005, 06:45 PM

Tags for this Thread

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