Count blank cells in filtered table when every column has empty cells

drom

Well-known Member
Joined
Mar 20, 2005
Messages
527
Office Version
  1. 2021
  2. 2019
  3. 2016
  4. 2013
  5. 2011
  6. 2010
  7. 2007
Hi and thanks in advance

I have a table with 9 columns.

Any of the columns within the table has every row/cell with info
i mean some times the cells are empty within the different columns.

If I filter my Table "Table1" according to column A, B and C

I would like to count how many blank cells are within my filtered table in column D.

I was trying to adapt this
=SUMPRODUCT(SUBTOTAL(3,OFFSET(A5:A200,ROW(A5:A200)-ROW(A5),,1)),--(D5:D200=""))​
But I can't use A:A200 since any column has always data.

Any Help ?

ps: I do not want to use/add one more Column to update the above formula
J5= rand() and then:
=SUMPRODUCT(SUBTOTAL(3,OFFSET(j5:j200,ROW(j5:j200)-ROW(j5),,1)),--(D5:D200=""))​


I would like to use references to just one Column the Column D
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Re: Count balnk cells in filtered table when every column has empty cells

=SUMPRODUCT((COUNTIF(j5:j200;j5:j200)=1)*1;(SUBTOTAL(103;OFFSET(J5;ROW(j5:j200)-MIN(ROW(j5:j200));0)))*1) for Duplicates in filtered table
=SUMPRODUCT((COUNTIF(j5:j200;j5:j200)>1)*1;(SUBTOTAL(103;OFFSET(J5;ROW(j5:j200)-MIN(ROW(j5:j200));0)))*1) for Uniques in filtered table
 
Upvote 0

Forum statistics

Threads
1,214,665
Messages
6,120,803
Members
448,990
Latest member
rohitsomani

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