+ Reply to Thread
Results 1 to 9 of 9

Countifs Returning Value Error with Blank Cells

  1. #1
    Registered User
    Join Date
    12-17-2015
    Location
    Portland, OR
    MS-Off Ver
    Office 2010
    Posts
    26

    Countifs Returning Value Error with Blank Cells

    I'm having a problem with a formula, it keeps returning a value error.

    =COUNTIFS($C$3:$C$501,"Press",$Q$3:$Q$501,$A3,A3:A400,">0")

    In the column "A" I have a formula where if the YEAR in column "T" is < 2017 then leave blank, I think the blank is what is returning the error. How do I get the formula to continue to calculate and skip over the blank cells?
    Last edited by AliGW; 04-13-2017 at 08:27 AM.

  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,719

    Re: Countifs

    Welcome to the forum! Please take a moment to re-read forum rule #1 and then amend your thread title to something that better explains your problem. Changing your thread title is not optional. Thanks!

    As a courtesy, and by way of an example of what we mean, I will change it for you this time.
    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
    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,719

    Re: Countifs Returning Value Error with Blank Cells

    Maybe this?

    =COUNTIFS($C$3:$C$501,"Press",$Q$3:$Q$501,$A3,A3:A400,"<>")

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

    Re: Countifs Returning Value Error with Blank Cells

    Quote Originally Posted by Troy73 View Post
    I'm having a problem with a formula, it keeps returning a value error.

    =COUNTIFS($C$3:$C$501,"Press",$Q$3:$Q$501,$A3, A3:A400 ,">0")
    All the range references have to be the same dimensions.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  5. #5
    Registered User
    Join Date
    12-17-2015
    Location
    Portland, OR
    MS-Off Ver
    Office 2010
    Posts
    26

    Re: Countifs Returning Value Error with Blank Cells

    That change still returned a value error. Do I need to email the workbook to someone?

  6. #6
    Registered User
    Join Date
    12-17-2015
    Location
    Portland, OR
    MS-Off Ver
    Office 2010
    Posts
    26

    Re: Countifs Returning Value Error with Blank Cells

    Your a GENIUS! It worked, thank you!

  7. #7
    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,719

    Re: Countifs Returning Value Error with Blank Cells

    No - I missed the obvious. See Tony's post above yours.

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

    Re: Countifs Returning Value Error with Blank Cells

    You're welcome. Thanks for the feedback!

  9. #9
    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,719

    Re: Countifs Returning Value Error with Blank Cells

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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. [SOLVED] Sumproduct to replace countifs as countifs don't work on external source reference
    By KrishnaSagar in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-02-2017, 02:33 AM
  2. How can I run CountIfs + CountIfs without double counting?
    By hiitsjessie in forum Excel General
    Replies: 1
    Last Post: 02-06-2017, 04:49 PM
  3. [SOLVED] Countifs + Countifs - replacement?
    By JulieQ in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-05-2015, 03:02 PM
  4. [SOLVED] COUNTIFS Help
    By ShaunNH in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-23-2014, 02:26 AM
  5. COUNTIFS OR COUNTIFS needs to work
    By joshbellfi in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-23-2013, 10:55 AM
  6. COUNTIFS OR...multiple countifs without duplication in the numbers
    By HooligaD in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-21-2012, 09:53 AM
  7. Replies: 0
    Last Post: 12-16-2011, 09:01 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