M
mark
Hi.
A spreadhheet has lots of columns, two of which are
Type Priority
3S 1
4P 2
4P 3
3S 1
4C 3
4D 1
There are potentially thousands of rows... the Type can be
one of a bunch of things, but the priority will always be
1, 2, or 3.
I had been using the COUNTIF function to determine the
distribution in the Priority column.
However, it is now needed to be able to use Auto-Filter to
do things such as select only the 4P rows in the Type.
What I need to do is to determine the count of the 1, 2, 3
after the auto-filter is applied. The COUNTIF function
seems to still count the entire range, even if sume of the
rows are now hidden due to the filtering.
The Subtotal function can be used to subtotal only rows
left visible after the filtering, as such =subtotal
(9,range) , but the way I see to do that requires three
more columns... columns to determine whether not the
original row had a 1, 2, or 3, in it, and then apply the
subtotal to those columns.
When it was done with COUNTIF, it was only one cell per
each count. Is there a simple way to keep the count
(after filtering) in a single cell for each case.. 1, 2,
or 3?
A spreadhheet has lots of columns, two of which are
Type Priority
3S 1
4P 2
4P 3
3S 1
4C 3
4D 1
There are potentially thousands of rows... the Type can be
one of a bunch of things, but the priority will always be
1, 2, or 3.
I had been using the COUNTIF function to determine the
distribution in the Priority column.
However, it is now needed to be able to use Auto-Filter to
do things such as select only the 4P rows in the Type.
What I need to do is to determine the count of the 1, 2, 3
after the auto-filter is applied. The COUNTIF function
seems to still count the entire range, even if sume of the
rows are now hidden due to the filtering.
The Subtotal function can be used to subtotal only rows
left visible after the filtering, as such =subtotal
(9,range) , but the way I see to do that requires three
more columns... columns to determine whether not the
original row had a 1, 2, or 3, in it, and then apply the
subtotal to those columns.
When it was done with COUNTIF, it was only one cell per
each count. Is there a simple way to keep the count
(after filtering) in a single cell for each case.. 1, 2,
or 3?