+ Reply to Thread
Results 1 to 6 of 6

CountIfs problem - references table in another tab

  1. #1
    Registered User
    Join Date
    06-01-2018
    Location
    Oklahoma City, Oklahoma
    MS-Off Ver
    MS Office 2016
    Posts
    8

    Question CountIfs problem - references table in another tab

    In my second tab "Breakdown" cell d40 & e40 - Both have the same coding of the rest of the sheet but for some reason always come back as 0 even though there ARE job orders to be counted.

    Does anyone know why this type of a situation may occur?

    D40 =COUNTIFS(JOAreport[Niche],Breakdown!B40,JOAreport[Class Type],Breakdown!B8)
    E40 =SUM(COUNTIFS(JOAreport[Niche],B40,JOAreport[Class Type],Breakdown!B8,JOAreport[Order Status],{"Filled";"Overfilled";"Partially Filled/Unfilled"}))

    Any advice would be greatly appreciated!

    Having trouble uploading file to this thread so I will attach file to comment section for review
    Attached Files Attached Files
    Last edited by HelpMyDataMan; 08-27-2019 at 10:08 AM. Reason: Solved, Thanks AliG

  2. #2
    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,800

    Re: CountIfs problem - references table in another tab

    Please attach the workbook here.

    Unfortunately the attachment icon doesn't work at the moment (it hasn't worked for years, and despite our repeatedly asking the technical team who own the forum to fix it, they can't be bothered to do so), 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.

    This sort of problem suggests that you are trying to compare apples and pears - in other words, what looks like a match isn't.
    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.

  3. #3
    Registered User
    Join Date
    06-01-2018
    Location
    Oklahoma City, Oklahoma
    MS-Off Ver
    MS Office 2016
    Posts
    8

    Re: CountIfs problem - references table in another tab

    Thank you for the advice! Just uploaded
    Last edited by AliGW; 08-27-2019 at 09:56 AM. Reason: Please don't quote unnecessarily!

  4. #4
    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,800

    Re: CountIfs problem - references table in another tab

    In this formula:

    =COUNTIFS(JOAreport[Niche],Breakdown!B40,JOAreport[Class Type],Breakdown!B8)

    what is B8 supposed to be referring to? There is nothing in that cell.

    I think you need to change these references from B8 to B7. If you are drag copying, fix the reference: $B$7
    Last edited by AliGW; 08-27-2019 at 10:24 AM.

  5. #5
    Registered User
    Join Date
    06-01-2018
    Location
    Oklahoma City, Oklahoma
    MS-Off Ver
    MS Office 2016
    Posts
    8

    Re: CountIfs problem - references table in another tab

    I can't believe I overlooked that, Thank you so much!

    Thank goodness it was such an easy fix, thanks again!

  6. #6
    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,800

    Re: CountIfs problem - references table in another tab

    Well, we've all got that T-shirt!!!

    Glad to have been your second pair of eyes.

+ 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: 03-19-2019, 09:14 PM
  2. MULTIPLE cell references in COUNTIFS formulas
    By dwx in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-20-2018, 02:36 AM
  3. Structured Table References Problem
    By bseymore in forum Excel General
    Replies: 2
    Last Post: 01-24-2018, 01:10 PM
  4. Replies: 6
    Last Post: 06-02-2014, 01:40 PM
  5. Replies: 1
    Last Post: 01-09-2013, 01:28 PM
  6. Countifs with table references not working
    By Pauleyb in forum Excel General
    Replies: 2
    Last Post: 10-28-2011, 09:49 AM
  7. countifs with references as criteria
    By Kaigi in forum Excel General
    Replies: 8
    Last Post: 08-13-2009, 04:00 PM

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