+ Reply to Thread
Results 1 to 8 of 8

Comparing a column in one sheet to another column in a different sheet

  1. #1
    Registered User
    Join Date
    09-09-2014
    Location
    Canada
    MS-Off Ver
    Office 365
    Posts
    12

    Comparing a column in one sheet to another column in a different sheet

    Hello

    Thank you in advance for any help. I want to compare column A in sheet one to column b in sheet two (values are alphanumeric ) and highlight the duplicates found in sheet 2. To be more precise I would like to take column A in sheet one and scan all of column b in sheet 2 but this value could also be found in a sentence in column b of sheet 2. My end goal is to highlight any values from column a in sheet one found in column b of sheet 2.


    Cheers

  2. #2
    Valued Forum Contributor
    Join Date
    12-02-2012
    Location
    Melbourne, VIC
    MS-Off Ver
    Excel 2016
    Posts
    750

    Re: Comparing a column in one sheet to another column in a different sheet

    try this:
    Please Login or Register  to view this content.
    HTH!

  3. #3
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Re: Comparing a column in one sheet to another column in a different sheet

    Try this...
    Please Login or Register  to view this content.
    This will do...
    Regards,
    Vikas Gautam
    Excel-buzz.blogspot.com

    Excel is not a matter of Experience, its a matter of Application.

    Say Thanks, Click * Add Reputation

  4. #4
    Valued Forum Contributor
    Join Date
    12-02-2012
    Location
    Melbourne, VIC
    MS-Off Ver
    Excel 2016
    Posts
    750

    Re: Comparing a column in one sheet to another column in a different sheet

    but this value could also be found in a sentence in column b of sheet 2
    @Vikas - would 'countif' work in such a scenario?

  5. #5
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Thumbs up Re: Comparing a column in one sheet to another column in a different sheet

    Yeah Sharma ji..
    I have tested it..
    Countif has built in search functionality with wild cards...
    check the attached file..
    Attached Files Attached Files
    Last edited by Vikas_Gautam; 09-10-2014 at 11:21 PM.

  6. #6
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Thumbs up Re: Comparing a column in one sheet to another column in a different sheet

    Oh my god..
    How Can I miss it...?
    There is no need of vba and anything else...
    Just use Conditional Formatting with...
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    check the attached file..
    Attached Files Attached Files

  7. #7
    Valued Forum Contributor
    Join Date
    12-02-2012
    Location
    Melbourne, VIC
    MS-Off Ver
    Excel 2016
    Posts
    750

    Re: Comparing a column in one sheet to another column in a different sheet

    @Vikas,
    Indeed 'CountIf' does work with wildcards, and this is a pretty decent implementation of that functionality. Good work mate.
    Cheers!

  8. #8
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Re: Comparing a column in one sheet to another column in a different sheet

    Thanks.. man..

+ 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 Data in the same column and returning the results in another sheet
    By PaulVince in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-23-2014, 11:21 AM
  2. Replies: 4
    Last Post: 08-21-2013, 07:15 AM
  3. Replies: 4
    Last Post: 08-29-2012, 10:32 AM
  4. Replies: 2
    Last Post: 07-27-2012, 06:01 PM
  5. Copy column data on one sheet to row or column date on another sheet based on user in
    By soready42012 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-08-2012, 12:03 AM

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