• Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us

No products in the cart.

  • Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us

No products in the cart.

  • Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us

No products in the cart.

  • Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us
Excel

Counting cells that are not equal to multiple criteria in Excel

0 Comments

Counting cells that are not equal to multiple criteria in Excel. In this article, we will learn how to count cells in Excel that do not match specific criteria. To put it simply, we want to count data based on certain conditions in an array, counting cells that do not contain certain values using Excel functions. We will use wildcard characters to match strings and perform functions accordingly.

Counting cells that are not equal to multiple criteria in Excel

There are three methods we will explore to achieve this:

Method 1: Using SUMPRODUCT, MATCH, and ISNA functions

  • Use the MATCH function to identify the positions where values need to be counted, and the ISNA function to catch #NA errors.
  • SUMPRODUCT then returns the sum of these values, effectively counting cells where the criteria are not met.

The formula is: = SUMPRODUCT(–(ISNA(MATCH(range, values, 0))))

Where:

  • range is the array of cells to count.
  • values is the array of values to be ignored in the count.

Example: Let’s consider a list of fruits in one column and vegetables in another. To count only the fruits, not considering vegetables:

Formula: = SUMPRODUCT(–(ISNA(MATCH(fruits, vegetables, 0))))

Counting cells that are not equal to multiple criteria in Excel

Counting cells that are not equal to multiple criteria in Excel

Where:

  • fruits is the named range for cells B2:B10 (containing fruits).
  • vegetables is the named range for cells D3:D5 (containing vegetables).
    Counting cells that are not equal to multiple criteria in Excel

    Counting cells that are not equal to multiple criteria in Excel

Method 2: Using COUNTIFS function

  • The COUNTIFS function allows us to count cells that meet multiple criteria.
  • We use the “<>” operator, which stands for “not equal to,” to exclude specific values from the count.

The formula is: = COUNTIFS(range, “<>” & value1, range, “<>” & value2, …)

Where:

  • range is the array of cells to count.
  • value1, value2, etc. are the values to be ignored in the count.

Example: Continuing with the fruits and vegetables example, to count only the fruits:

Formula: = COUNTIFS(fruits, “<>” & D3, fruits, “<>” & D4, fruits, “<>” & D5)

Counting cells that are not equal to multiple criteria in Excel

Counting cells that are not equal to multiple criteria in Excel

Method 3: Using COUNTA function and subtraction

  • We can calculate the count of all non-empty cells in the range using the COUNTA function.
  • Then, we subtract the count of cells that match specific criteria using the COUNTIF function.

The formula is: = COUNTA(range) – SUMPRODUCT(COUNTIF(range, values))

Where:

Counting cells that are not equal to multiple criteria in Excel

Counting cells that are not equal to multiple criteria in Excel

  • range is the array of cells to count.
  • values is the array of values to be ignored in the count.Counting cells 5

Example: For the fruits and vegetables example:

Formula: = COUNTA(fruits) – SUMPRODUCT(COUNTIF(fruits, vegetables))

These methods allow us to count cells that do not match specific criteria in Excel. You can choose the most suitable method based on your requirements. Feel free to explore more Excel count functions for further functionalities. If you have any questions or feedback, please don’t hesitate to ask.Counting cells 6

Rate this post
33
269 Views
How to Number Pages in Excel Quickly and SimplyPrevHow to Number Pages in Excel Quickly and SimplyJuly 20, 2023
9 Magical Shortcuts in Excel Every Accountant Should KnowJuly 21, 20239 Magical Shortcuts in Excel Every Accountant Should KnowNext

Leave a Reply Cancel reply

You must be logged in to post a comment.

Buy Windows 11 Professional MS Products CD Key
Buy Office 2021 Professional Plus Key Global For 5 PC
Top rated products
  • Kaspersky Internet Security 2021 1 year 5 devices key Global Kaspersky Internet Security 2021 1 year 5 devices key Global
    Rated 5.00 out of 5
    $45.00
  • Windows Server 2022 Datacenter Key Global Windows Server 2022 Datacenter Key Global
    Rated 5.00 out of 5
    $7.00
  • Kaspersky Small Office Security 10 PCs + 10 Mobiles + 1 Server 1 Year Kaspersky Small Office Security 10 PCs + 10 Mobiles + 1 Server 1 Year
    Rated 5.00 out of 5
    $164.50
  • Avast Ultimate Suite 2021 1 Year 10 Devices Global Avast Ultimate Suite 2021 1 Year 10 Devices Global
    Rated 5.00 out of 5
    $54.00
  • Windows 11 Pro Key Global Windows 11 Pro Key Global
    Rated 5.00 out of 5
    $6.00
Products
  • Trend Micro Internet Security 3 Devices 1 Year Key GLOBAL Trend Micro Internet Security 3 Devices 1 Year Key GLOBAL
    Rated 5.00 out of 5
    $17.00
  • Windows Server 2022 Standard Key Global Windows Server 2022 Standard Key Global
    Rated 4.10 out of 5
    $7.00
  • Microsoft Office Home And Business 2019 CD Key for MAC Global Microsoft Office Home And Business 2019 CD Key for MAC Global
    Rated 4.95 out of 5
    $30.00
  • Kaspersky Small Office Security 15 PCs + 15 Mobiles + 2 Servers 1 Year Kaspersky Small Office Security 15 PCs + 15 Mobiles + 2 Servers 1 Year
    Rated 5.00 out of 5
    $201.00
  • Buy Office 2021 Professional Plus Key Global For 5 PC Buy Office 2021 Professional Plus Key Global For 5 PC
    Rated 5.00 out of 5
    $68.00
  • Avast SecureLine VPN 2021 2 Years 5 Devices Global Avast SecureLine VPN 2021 2 Years 5 Devices Global
    Rated 5.00 out of 5
    $47.00
  • Microsoft Visio 2019 professional Key Global Bind to your Microsoft Account Microsoft Visio 2019 professional Key Global Bind to your Microsoft Account
    Rated 4.96 out of 5
    $12.00
  • Windows Server 2022 Remote Desktop Services Device Connections (50) Cal Key Global Windows Server 2022 Remote Desktop Services Device Connections (50) Cal Key Global
    Rated 5.00 out of 5
    $22.00
  • 5 Key Windows 10 Pro Key Global - Combo 5 KEY 5 Key Windows 10 Pro Key Global - Combo 5 KEY
    Rated 4.81 out of 5
    $25.00
  • Office 2016 Home and Student for PC Key CD Key Global Office 2016 Home and Student for PC Key CD Key Global
    Rated 4.96 out of 5
    $14.00
Product categories
  • Anti Virus
  • Microsoft Office
  • Microsoft Project
  • Microsoft Visio
  • Microsoft Visual
  • Microsoft Windows
  • Other Software
  • Uncategorized

Buffcom.net always brings the best digital products and services to you. Specializing in Office Software and online marketing services

BIG SALE 50% IN MAY

Microsoft Office
Microsoft Windows
Anti-Virus
Contact Us

Visit Us:

125 Division St, New York, NY 10002, USA

Mail Us:

buffcom.net@gmail.com

TERMS & CONDITIONS | PAYMENT GUIDE  | SHIPPING POLICY  | REFUND POLICY

Copyright © 2019 buffcom.net  All Rights Reserved.