+ Reply to Thread
Results 1 to 6 of 6

Compare TWO Table Columns

  1. #1
    Forum Contributor
    Join Date
    05-20-2016
    Location
    Detroit
    MS-Off Ver
    Office 365 Version 2008 (July 2020)
    Posts
    819

    Compare TWO Table Columns

    I would like to Compare two table Columns
    In first Table, the Columns are extracted from a String and I have a hard time to compare the results of this.
    Please see the attached File for description.
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,693

    Re: Compare TWO Table Columns

    This should get you strated. In C3 copied down:

    =IFERROR(VLOOKUP(VALUE(B3),Table2,2,0),IF(B3="","Text2","Text1"))
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor
    Join Date
    05-20-2016
    Location
    Detroit
    MS-Off Ver
    Office 365 Version 2008 (July 2020)
    Posts
    819

    Re: Compare TWO Table Columns

    Sorry, I have attached the file and explained again
    I am looking only for cells with value in (for empty cells I do not want any results)
    Attached Files Attached Files

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,693

    Re: Compare TWO Table Columns

    Change of requirement accounted for here:

    =IF(B3="","",IFERROR(IFNA(VLOOKUP(VALUE(B3),Table2,2,0),"Text2"),"Text1"))

  5. #5
    Forum Contributor
    Join Date
    05-20-2016
    Location
    Detroit
    MS-Off Ver
    Office 365 Version 2008 (July 2020)
    Posts
    819

    Re: Compare TWO Table Columns

    Thank you very much, work super

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,693

    Re: Compare TWO Table Columns

    Yes! You're welcome!

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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: 2
    Last Post: 11-27-2016, 05:56 PM
  2. Compare Pivot Table Columns to show Percentage Change
    By PTables in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 01-29-2016, 02:52 AM
  3. [SOLVED] table(A) as an array using all rows but only selected columns to compare with table(B)
    By se3unlock in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-27-2015, 10:15 AM
  4. Count and Compare Two Columns in a Pivot Table
    By sdickeson in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 06-20-2014, 09:45 PM
  5. How to compare 2 columns of dates - Pivot Table
    By patch in forum Excel General
    Replies: 0
    Last Post: 03-27-2014, 08:56 PM
  6. Compare columns from different tables, copy the missing value to another table
    By laalaa in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-21-2014, 04:26 AM
  7. Compare pivot table columns
    By waka in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-27-2009, 04:16 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