+ Reply to Thread
Results 1 to 2 of 2

Comparing Columns

  1. #1
    Forum Contributor
    Join Date
    02-10-2007
    MS-Off Ver
    Excel 2010
    Posts
    293

    Comparing Columns

    Hello,

    I am trying to compare column A (location) against column I (location),with desired result in column J from Column B, if not found then show -

    Same for comparing compare column A (location) against column I (location),with desired result in column K from Column D. if not found then show -

    If any of the words match in column A that are in column I, then show the desired result.

    See attachment.


    Thanks
    Attached Files Attached Files
    Last edited by VegasL; 01-01-2019 at 05:24 PM.

  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,926

    Re: Comparing Columns

    You have some trailing spaces in A, but this should cover it..
    =INDEX(B:B,MATCH("*"&LEFT(I2,FIND(",",I2)-1)&"*",A:A,0))
    copied down

    See if you can adapt that for K?
    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

+ 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 2 columns in a row of columns and identifying differences
    By westchr5 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-14-2016, 10:44 AM
  2. Create Columns Comparing differences in Other Columns
    By mvannucci in forum Excel General
    Replies: 1
    Last Post: 08-02-2015, 07:56 PM
  3. Replies: 3
    Last Post: 04-23-2014, 05:14 PM
  4. Replies: 2
    Last Post: 04-18-2013, 02:03 PM
  5. Replies: 2
    Last Post: 03-15-2013, 05:25 PM
  6. Replies: 1
    Last Post: 02-05-2013, 10:56 AM
  7. [SOLVED] IF AND or SUMIFS comparing Months from 2 date columns and text from 2 other columns
    By jrochet in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 09-22-2012, 11:06 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