+ Reply to Thread
Results 1 to 5 of 5

Comparing data against matching cells

Hybrid View

  1. #1
    Registered User
    Join Date
    07-27-2015
    Location
    Winnipeg, MB, Canada
    MS-Off Ver
    2013
    Posts
    1

    Comparing data against matching cells

    I have a list of data in column A; unique call numbers, except there will always be 2 call numbers exactly the same. Column B contains results for this call number, and I want to compare the results for the 2 call numbers on a separate worksheet. If the results match, I want it to return 100. If the results do not match, I want it to return a 0.



    I am not experienced with VBA - can anybody offer some assistance?

  2. #2
    Forum Contributor
    Join Date
    07-13-2015
    Location
    Quebec, Canada
    MS-Off Ver
    2013
    Posts
    232

    Re: Comparing data against matching cells

    Not sure I fully understand, but if so, that should work:

    Sheet2 contains what you're asking for, with data provided in Sheet1
    Attached Files Attached Files

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Comparing data against matching cells

    Sorry for off-topic interjection:

    Although there is no official rule regarding this behavior, we request that wherever possible both the question AND the answer be provided in substantive detail here within the thread. An attached workbook is an excellent aid for posing a question and offering a solution, but solely doing that with no in thread explanation makes it difficult for researchers to understand or consider the Q & A of this thread without downloading what may be a pointless doc to them, if they can do that at all. Doing that also hides the content from search engines so others may never benefit from this.

    I'm sure you understand, and we look forward to seeing you post your formulas/macros in your posts for the searching benefit of all.

    Thanks again for all your hard work here!
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  4. #4
    Forum Contributor
    Join Date
    07-13-2015
    Location
    Quebec, Canada
    MS-Off Ver
    2013
    Posts
    232

    Re: Comparing data against matching cells

    Quote Originally Posted by Tony Valko View Post
    Sorry for off-topic interjection:

    Although there is no official rule regarding this behavior, we request that wherever possible both the question AND the answer be provided in substantive detail here within the thread. An attached workbook is an excellent aid for posing a question and offering a solution, but solely doing that with no in thread explanation makes it difficult for researchers to understand or consider the Q & A of this thread without downloading what may be a pointless doc to them, if they can do that at all. Doing that also hides the content from search engines so others may never benefit from this.

    I'm sure you understand, and we look forward to seeing you post your formulas/macros in your posts for the searching benefit of all.

    Thanks again for all your hard work here!
    Although I understand the reasoning behind it, it's pretty time consuming to translate every single formula since I'm using a french version of Excel and it is much faster for me to simply put the file there, since the formulas will translate themselves

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Comparing data against matching cells

    Can you post a SMALL sample file and show us what result you expect?

    A SMALL file will have about 20 rows worth of data.

+ 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. Matching/Comparing Data from 2 Tables
    By acb_geek in forum Excel General
    Replies: 2
    Last Post: 11-05-2014, 11:01 AM
  2. Replies: 2
    Last Post: 04-18-2013, 05:56 PM
  3. [SOLVED] Comparing two worksheets and copying matching cells to third sheet help
    By Sanzer in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-29-2012, 04:31 PM
  4. Replies: 2
    Last Post: 01-25-2012, 05:30 AM
  5. Comparing data and matching between columns
    By bunjijumper in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-20-2010, 02:58 AM
  6. Comparing and matching data
    By twofootgiant in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 08-04-2009, 04:16 AM
  7. Comparing two worksheets and matching data
    By Shaunclippo in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-12-2008, 03:04 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