SumProduct to count Rows with at least one cell blank

drom

Well-known Member
Joined
Mar 20, 2005
Messages
528
Office Version
  1. 2021
  2. 2019
  3. 2016
  4. 2013
  5. 2011
  6. 2010
  7. 2007
Hi and Thanks in advance!!
My real table contains many columns but I only need to count the rows where A;B contains at least on cell blank
This table contains a conditional formatting to plot as yellow ifA or B is blank
I do not want to add a new column to this table to get the job done


Modelo 03.xlsx
ABCDEF
1
2Table1Table name
3??Rows with at least on cell empty
4
5AABB
6aaaaaTRUE=OR(A6="";B6="")
7pppppTRUE=OR(A7="";B7="")
8sssssjjjjjFALSE=OR(A8="";B8="")
9aaaaawwwwwFALSE=OR(A9="";B9="")
10ggggbbbbFALSE=OR(A10="";B10="")
11TRUE=OR(A11="";B11="")
12ggggTRUE=OR(A12="";B12="")
13TRUE=OR(A13="";B13="")
14rrrrruuuuFALSE=OR(A14="";B14="")
15
16
17
Sheet2
Cell Formulas
RangeFormula
D6:D14D6=OR(A6="",B6="")
E6:E14E6=FORMULATEXT(D6)
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A6:B14Expression=OR($A6="";$B6="")textNO
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
How about
Excel Formula:
=SUMPRODUCT(SIGN((A6:A14="")+(B6:B14="")))
 
Upvote 0
Solution

Forum statistics

Threads
1,215,069
Messages
6,122,954
Members
449,096
Latest member
Anshu121

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top