drom
Well-known Member
- Joined
- Mar 20, 2005
- Messages
- 543
- Office Version
- 2021
- 2019
- 2016
- 2013
- 2011
- 2010
- 2007
Sa I have a Table (eg: A1:B50)
Imaging my Column A:B'cells are most of the time empty
If I filter by Column(A, to show blanks and = to France, I count 15 rows
If I filter by France I only count 10
But any formula to get 15 ??
I do not care about France, I would like to Count How many rows I have filtered, no matter if they are empty, blank or with info
ANy idea
I was trying to use:
=SUMPRODUCT((A2:A50="")*SUBTOTAL(103;OFFSET(A2;ROW(A2:A50)-MIN(ROW(A2:A50));0)))+SUMPRODUCT((A2:A50<>"")*SUBTOTAL(103;OFFSET(A2;ROW(A2:A50)-MIN(ROW(A2:A50));0)))
BUT DOES NOT WORK
Imaging my Column A:B'cells are most of the time empty
If I filter by Column(A, to show blanks and = to France, I count 15 rows
If I filter by France I only count 10
But any formula to get 15 ??
I do not care about France, I would like to Count How many rows I have filtered, no matter if they are empty, blank or with info
ANy idea
I was trying to use:
=SUMPRODUCT((A2:A50="")*SUBTOTAL(103;OFFSET(A2;ROW(A2:A50)-MIN(ROW(A2:A50));0)))+SUMPRODUCT((A2:A50<>"")*SUBTOTAL(103;OFFSET(A2;ROW(A2:A50)-MIN(ROW(A2:A50));0)))
BUT DOES NOT WORK