+ Reply to Thread
Results 1 to 3 of 3

compare two colums and return a result from a third

  1. #1
    Registered User
    Join Date
    02-27-2017
    Location
    Pittsburgh, Pennsylvania
    MS-Off Ver
    2013
    Posts
    3

    Question compare two colums and return a result from a third

    Hi all,

    What I need to do is compare two columns from two different sheets and return the number of match occurances.

    For example If sheet one has the value Mary in A2 I need to search all of sheet two for every time mary occurs in a column and return a number result into a separate column.

    I know this has to be super basic, but I can't figure it out Also if there is no match I need it to return a 0

    TIA!!!

  2. #2
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: compare two colums and return a result from a third

    Look into using COUNTIF. Otherwise, please provide a sample workbook that details how your data is setup and how you would like it to look.
    Spread the love, add to the Rep

    "None of us are as smart as all of us."

  3. #3
    Registered User
    Join Date
    02-27-2017
    Location
    Pittsburgh, Pennsylvania
    MS-Off Ver
    2013
    Posts
    3

    Re: compare two colums and return a result from a third

    Alright, I have progressed some on my own, but it's still not working the way I need it to...

    Here is some screen shots to help and a copy of the formula I'm using:

    =IF(AND('BH COMPLAINT - CALL CENTER COMP'!S:S>='Call Center - All'!$E$2, 'BH COMPLAINT - CALL CENTER COMP'!S:S<='Call Center - All'!$E$3),COUNTIF('BH COMPLAINT - CALL CENTER COMP'!A:A,A4),0)

    I have multiple sheets. I'm checking dates now because I want to be able to report weekly/monthly/quarterly I think I got the countif function to work...maybe a pivot table would work better, but I want to be able to pull a report each week, plug it in to sheet BH Complaint and have it pull the numbers for me.
    Attached Images Attached Images

+ 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: 6
    Last Post: 07-25-2016, 12:07 PM
  2. Help / advice on how to compare data and return result
    By Darkprophecy in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-03-2015, 05:41 AM
  3. Need to compare values in 2 Columns & return result for what was found
    By pblobe in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-28-2015, 12:57 PM
  4. Compare 2 Cells, Return result which is NOT 0
    By louisnhs in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-10-2013, 05:41 AM
  5. Compare 2 workbooks for same id's, return specific result to first workbook
    By biker22 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-30-2013, 12:12 PM
  6. Compare characters of two cells and return the result
    By shahid6634 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-27-2012, 08:43 AM
  7. Replies: 4
    Last Post: 09-30-2012, 07:17 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