MS Excel COUNTIF help typo?

Edward Chuah 20 Reputation points
2023-08-15T06:16:21.9+00:00

I wonder the minus sign use here in COUNTIF is for the range function or use as minus function ? why use minus if want to just check value for B2:B5 range? Ref to pic attached below,
User's image

Microsoft 365 and Office | Excel | For business | Windows
0 comments No comments
{count} votes

Accepted answer
  1. Viorel 122.6K Reputation points
    2023-08-15T07:56:57.4966667+00:00

    I think that it is just a difference of two counts. In general, it is not the number of cells between 32 and 85. To count the cells that are “>= 32 and <= 85”, try this: =COUNTIFS(B2:B5,">=32",B2:B5,"<=85").

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Emi Zhang-MSFT 30,046 Reputation points Microsoft External Staff
    2023-08-15T08:01:44.1066667+00:00

    Hi,

    Could you provide the sample table about your formula?

    You can try to use COUNTIFS or SUMPRODUCT to help you count in Excel.

    Please be a bit more precise to explain your requirement or you can upload a screenshot so that I can get more accurate solutions to this problem. I’m glad to help and follow up your reply.


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.