+ Reply to Thread
Results 1 to 6 of 6

Using match and countifs

  1. #1
    Registered User
    Join Date
    09-05-2011
    Location
    Ryther, England
    MS-Off Ver
    Office 365
    Posts
    63

    Using match and countifs

    Hi there. I have a spreadsheet with a data entry sheet where I log agent names, errors and a 'red' marker where appropriate for each error. I've used the countifs formula with no issue i.e =COUNTIFS('Sheet1'!A:A,"Macquhele,'Sheet1'!B:B,"Red").

    However I have over 400 names meaning creating each countifs formula could take a while. So I created a second worksheet with the list of names and attempted to create a countifs formula that firstly matched each name on column A on sheet 2 to column A on sheet 1 then counting the number of occurances of 'red' errors on sheet 1 for that matched name but it doesn't work. Any help with this would be greatfully appreciated. Cheers

  2. #2
    Valued Forum Contributor
    Join Date
    04-27-2015
    Location
    Abu Dhabi, U.A.E
    MS-Off Ver
    Office 365 | 2016
    Posts
    696

    Re: Using match and countifs

    Can you please upload a sample file with the expected results?

  3. #3
    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. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: Using match and countifs

    Not easy to troubleshoot without seeing the workbook, and your statement, "but it doesn't work", tells us nothing.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    EDIT: This is incorrect:

    =COUNTIFS('Sheet1'!A:A,"Macquhele,'Sheet1'!B:B,"Red")

    It should be:

    =COUNTIFS('Sheet1'!A:A,"Macquhele",'Sheet1'!B:B,"Red")
    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.

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Using match and countifs

    IT would help if you upload the workbook, however I can see no reasons why if on sheet 2 you have the names in column A this won't work on sheet2

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  5. #5
    Registered User
    Join Date
    09-05-2011
    Location
    Ryther, England
    MS-Off Ver
    Office 365
    Posts
    63

    Re: Using match and countifs

    Apologies i don't seem to have an upload link although working from my phone so think I need to log in via desktop. In the meantime will try out formula above

  6. #6
    Registered User
    Join Date
    09-05-2011
    Location
    Ryther, England
    MS-Off Ver
    Office 365
    Posts
    63

    Re: Using match and countifs

    Your formula worked thank you. I was clearly over thinking it. Cheers for your help

+ 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. =COUNTIFS to SUM FREQUENCY MATCH
    By brybry1212 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-10-2017, 07:05 PM
  2. [SOLVED] INDEX MATCH MATCH but with COUNTIFS??
    By hilton426 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-13-2017, 09:47 AM
  3. [SOLVED] Sum, Countifs, match Etc.
    By bdrilling33 in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 11-13-2014, 09:50 AM
  4. Countifs Index Match
    By Keelin in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-16-2014, 08:38 AM
  5. Countifs Until Criteria Is Match
    By Zipmeister in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-29-2013, 12:34 PM
  6. VBA: Help with countifs / Match
    By vidyuthrajesh in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-29-2012, 01:42 PM
  7. Replies: 0
    Last Post: 12-16-2011, 09:01 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