+ Reply to Thread
Results 1 to 6 of 6

Countifs always returns Value error

  1. #1
    Registered User
    Join Date
    04-24-2020
    Location
    Raleigh-Durham, NC
    MS-Off Ver
    365
    Posts
    7

    Countifs always returns Value error

    the countifs formula returns a value error.

    how to determine number of occurrences of one item meeting two criteria
    Attached Files Attached Files

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,737

    Re: Countifs always returns Value error

    try
    =SUMPRODUCT((A3:A15="-75C")*(D3:G15="xyz"))
    OR
    =SUM(IF((D3:G15="MSCF")*(A3:A15="-75C"),1,0))
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Registered User
    Join Date
    04-24-2020
    Location
    Raleigh-Durham, NC
    MS-Off Ver
    365
    Posts
    7

    Re: Countifs always returns Value error

    Awesome! thank you. that worked.

    in the sum formula, what is the purpose of the '1' and '0' at the end of the formula.?

  4. #4
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,737

    Re: Countifs always returns Value error

    is using IF , so if true creates a 1 if not creates a zero
    then the SUM adds all the array results up to get the number

  5. #5
    Registered User
    Join Date
    04-24-2020
    Location
    Raleigh-Durham, NC
    MS-Off Ver
    365
    Posts
    7

    Re: Countifs always returns Value error

    thank you. I appreciate it.

  6. #6
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,737

    Re: Countifs always returns Value error

    you are welcome

+ 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] Simple COUNTIFS returns #VALUE!
    By trolle in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-05-2021, 06:22 PM
  2. [SOLVED] COUNTIFS returns 0
    By denisse030 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 08-31-2019, 12:50 AM
  3. Countifs Formula returns #Value error
    By npett in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-09-2018, 10:50 AM
  4. countifs returns only zero
    By IsabellaLearning in forum Excel General
    Replies: 8
    Last Post: 02-27-2018, 07:27 PM
  5. [SOLVED] 3 Criteria COUNTIFS returns as ZERO
    By jucavicc in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-16-2017, 07:25 PM
  6. Using two ranges as ONE RANGE in countifs with conditions. Formula returns an error
    By Lifeseeker in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-19-2011, 08:20 PM
  7. Countifs not counting, returns #value
    By Qualo_Jinn in forum Excel General
    Replies: 3
    Last Post: 12-09-2011, 04:13 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