ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   COUNT UNIQUE ENTRIES IN FILTERED DATA (https://www.excelbanter.com/excel-discussion-misc-queries/176395-count-unique-entries-filtered-data.html)

FARAZ QURESHI

COUNT UNIQUE ENTRIES IN FILTERED DATA
 
Subtotals work great to present sum or total of any visible cells while using
Autofilter.

However, now I have a data like:

CASE CLASS RATE AMOUNT
ABC 1 10 10,000
DEI 1 10 11,000
GHI 2 9 12,000
JKL 3 10 14,000

I have filtered the data.

How can I have the total UNIQUE CLASSES be counted if I filter data by RATE
= 10, "2" (1 occurring twice & 3 only once)?

Any help highly regarded.

Thanx.

Debbie

COUNT UNIQUE ENTRIES IN FILTERED DATA
 
Have you used the countif function

"FARAZ QURESHI" wrote:

Subtotals work great to present sum or total of any visible cells while using
Autofilter.

However, now I have a data like:

CASE CLASS RATE AMOUNT
ABC 1 10 10,000
DEI 1 10 11,000
GHI 2 9 12,000
JKL 3 10 14,000

I have filtered the data.

How can I have the total UNIQUE CLASSES be counted if I filter data by RATE
= 10, "2" (1 occurring twice & 3 only once)?

Any help highly regarded.

Thanx.


FARAZ QURESHI

COUNT UNIQUE ENTRIES IN FILTERED DATA
 
Countif helps only in counting total not UNIQUE in only VISIBLE CELLS in
FILTERED data.

"Debbie" wrote:

Have you used the countif function

"FARAZ QURESHI" wrote:

Subtotals work great to present sum or total of any visible cells while using
Autofilter.

However, now I have a data like:

CASE CLASS RATE AMOUNT
ABC 1 10 10,000
DEI 1 10 11,000
GHI 2 9 12,000
JKL 3 10 14,000

I have filtered the data.

How can I have the total UNIQUE CLASSES be counted if I filter data by RATE
= 10, "2" (1 occurring twice & 3 only once)?

Any help highly regarded.

Thanx.


Roger Govier[_3_]

COUNT UNIQUE ENTRIES IN FILTERED DATA
 
Hi

You could add an extra column to your table with the formula
=IF(COUNTIF($B2:B2,B2)1,"",COUNTIF($B$2:B2,B2))
Copy down as far as required.
Include this new column in your filter, selecting (Non Blank), and your
Subtotal value will be correct.
--
Regards
Roger Govier

"FARAZ QURESHI" wrote in message
...
Subtotals work great to present sum or total of any visible cells while
using
Autofilter.

However, now I have a data like:

CASE CLASS RATE AMOUNT
ABC 1 10 10,000
DEI 1 10 11,000
GHI 2 9 12,000
JKL 3 10 14,000

I have filtered the data.

How can I have the total UNIQUE CLASSES be counted if I filter data by
RATE
= 10, "2" (1 occurring twice & 3 only once)?

Any help highly regarded.

Thanx.




All times are GMT +1. The time now is 12:26 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com