Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hello,
I'm trying to count unique numbers in a resulting list after filtering. I have already learned how to count unique number in an unfiltered list using: =SUM(IF(FREQUENCY($A$12:$A40,$A$12:$A40)0,1)) but now I need to know how many unique numbers remain after I filter for another column. Help! Cisco |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try this array formula** :
=SUM(IF(FREQUENCY(IF(SUBTOTAL(2,OFFSET(A12:A40,ROW (A12:A40)-ROW(A12),0,1)),MATCH(A12:A40,A12:A40,0)),ROW(A12:A 40)-ROW(A12)+1)0,1)) ** array formulas need to be entered using the key combination of CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the SHIFT key then hit ENTER. -- Biff Microsoft Excel MVP "Francisco Rodriguez" wrote in message ... Hello, I'm trying to count unique numbers in a resulting list after filtering. I have already learned how to count unique number in an unfiltered list using: =SUM(IF(FREQUENCY($A$12:$A40,$A$12:$A40)0,1)) but now I need to know how many unique numbers remain after I filter for another column. Help! Cisco |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
That worked like a charm. Thanks for your help and expertise!
Francisco "T. Valko" wrote: Try this array formula** : =SUM(IF(FREQUENCY(IF(SUBTOTAL(2,OFFSET(A12:A40,ROW (A12:A40)-ROW(A12),0,1)),MATCH(A12:A40,A12:A40,0)),ROW(A12:A 40)-ROW(A12)+1)0,1)) ** array formulas need to be entered using the key combination of CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the SHIFT key then hit ENTER. -- Biff Microsoft Excel MVP "Francisco Rodriguez" wrote in message ... Hello, I'm trying to count unique numbers in a resulting list after filtering. I have already learned how to count unique number in an unfiltered list using: =SUM(IF(FREQUENCY($A$12:$A40,$A$12:$A40)0,1)) but now I need to know how many unique numbers remain after I filter for another column. Help! Cisco . |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
You're welcome. Thanks for the feedback!
-- Biff Microsoft Excel MVP "Francisco Rodriguez" wrote in message ... That worked like a charm. Thanks for your help and expertise! Francisco "T. Valko" wrote: Try this array formula** : =SUM(IF(FREQUENCY(IF(SUBTOTAL(2,OFFSET(A12:A40,ROW (A12:A40)-ROW(A12),0,1)),MATCH(A12:A40,A12:A40,0)),ROW(A12:A 40)-ROW(A12)+1)0,1)) ** array formulas need to be entered using the key combination of CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the SHIFT key then hit ENTER. -- Biff Microsoft Excel MVP "Francisco Rodriguez" wrote in message ... Hello, I'm trying to count unique numbers in a resulting list after filtering. I have already learned how to count unique number in an unfiltered list using: =SUM(IF(FREQUENCY($A$12:$A40,$A$12:$A40)0,1)) but now I need to know how many unique numbers remain after I filter for another column. Help! Cisco . |
#5
![]() |
|||
|
|||
![]()
[quote=T. Valko;914788]Try this array formula** :
=SUM(IF(FREQUENCY(IF(SUBTOTAL(2,OFFSET(A12:A40,ROW (A12:A40)-ROW(A12),0,1)),MATCH(A12:A40,A12:A40,0)),ROW(A12:A 40)-ROW(A12)+1)0,1)) ** array formulas need to be entered using the key combination of CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the SHIFT key then hit ENTER. -- Biff Microsoft Excel MVP Hi Biff, your formula work very well.. Many thank and best regards, Giulio (Italy) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Filter Unique Values | Excel Worksheet Functions | |||
Auto Count for Auto Filter Doesn't Function under certain circumst | Excel Discussion (Misc queries) | |||
count unique values & filter | Excel Worksheet Functions | |||
Filter unique, and then count | Excel Worksheet Functions | |||
Count unique values and create list based on these values | Excel Worksheet Functions |