+ Reply to Thread
Results 1 to 6 of 6

how to compare 2 columns in 2 different tabs excel sheet.

  1. #1
    Registered User
    Join Date
    03-09-2012
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    13

    how to compare 2 columns in 2 different tabs excel sheet.

    Hi Excel Gurus,

    I need a help on below requirement !.

    In my excel sheet I have 2 tabs(1.Target & 2.Source), I need to compare the Date and job_name in source tab with target date and job to display duration data in target tab. Job name in target is not same order as source tab.

    Please find the attached sheet for sample.


    Thanks & Regards
    Attached Files Attached Files

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

    Re: how to compare 2 columns in 2 different tabs excel sheet.

    What is your expected result and why
    In your target sheet date shows as 02-09-2015 but there is no data with that date in Source sheet
    Samba

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

  3. #3
    Registered User
    Join Date
    03-09-2012
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    13

    Re: how to compare 2 columns in 2 different tabs excel sheet.

    Sorry Typo error, in both target/Source date is 9/1/2015.

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

    Re: how to compare 2 columns in 2 different tabs excel sheet.

    B4=IFERROR(INDEX(Source!$E$2:$E$8,MATCH($B$1&$A4,INDEX(Source!$A$2:$A$8&Source!$D$2:$D$8,0),0)),"Not Found")
    Please Login or Register  to view this content.
    Try this and copy towards down

  5. #5
    Registered User
    Join Date
    03-09-2012
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    13

    Re: how to compare 2 columns in 2 different tabs excel sheet.

    Thanks ! but it is displaying 'not found'.

    In my excel sheet job name is not in same order in both tabs.

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

    Re: how to compare 2 columns in 2 different tabs excel sheet.

    see the attached file
    as your excel version is 2003, modified the formula a little bit
    Attached Files Attached Files

+ 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: 12-15-2015, 05:04 PM
  2. Macro to Compare two columns and publish sheet name in case columns dont match
    By adaws in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-06-2014, 01:21 PM
  3. [SOLVED] Copying last 6 columns of 152 excel sheets/tabs into 1 sheet
    By JOE HNG in forum Excel General
    Replies: 10
    Last Post: 02-28-2014, 03:44 AM
  4. Replies: 0
    Last Post: 10-07-2013, 10:24 AM
  5. Replies: 1
    Last Post: 10-04-2012, 02:31 PM
  6. Replies: 10
    Last Post: 07-10-2012, 03:01 PM
  7. Replies: 4
    Last Post: 04-05-2012, 11:30 AM
  8. Replies: 5
    Last Post: 09-24-2009, 03:46 AM

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