+ Reply to Thread
Results 1 to 4 of 4

Comparing multiple columns in two sheets

  1. #1
    Registered User
    Join Date
    01-18-2012
    Location
    meniha nre
    MS-Off Ver
    Excel 2003
    Posts
    9

    Comparing multiple columns in two sheets

    Hi,

    I've attached a sample workbook with 2 sheets. In all cells in column F of Sheet2, I want to return a text value using the following logic:

    If Sheet2:B(Current row) is not found in Sheet1:ColumnB
    return "New"
    Else if Sheet2:Current row is found in Sheet1 (Row# may be different but contents of A-E are the same in both sheets)
    return "No change required"
    Else
    return "Investigation required"

    Any help appreciated.
    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: Comparing multiple columns in two sheets

    Try this Array Formula which requires confirmation with Ctrl+Shift+Enter instead of Enter alone.

    In F2
    Please Login or Register  to view this content.
    and copy down.


    Remember an Array Formula is confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  3. #3
    Registered User
    Join Date
    01-18-2012
    Location
    meniha nre
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Comparing multiple columns in two sheets

    Exactly what i wanted - thanks sktneer

  4. #4
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: Comparing multiple columns in two sheets

    You're welcome. Glad I could help. And also thanks for the feedback.

+ 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. Comparing Multiple Columns on 2 sheets and report Exceptions on 3rd Sheet
    By KrystalQ in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-24-2014, 11:41 AM
  2. Comparing Data on Multiple Sheets and Columns
    By ande2428 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-06-2014, 10:33 AM
  3. [SOLVED] Comparing data in columns over multiple sheets
    By BigBadBill in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-14-2013, 02:01 PM
  4. comparing columns from 2 Sheets
    By DJBittner in forum Excel General
    Replies: 10
    Last Post: 06-24-2010, 04:58 PM
  5. Comparing multiple columns in multiple sheets
    By Quijibo187 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-13-2009, 02:27 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