merlin_the_magician
Active Member
- Joined
- Jul 31, 2002
- Messages
- 480
Hello,
I'm struggling with a workbook that holds quite a lot of data. I would like to count unique values in column AX, whereas i also would like to be able to count unique values in case a sorting filter is used.
I made a matrix-formula for the general unique values count, that works perfectly:
{=SUM(IF(FREQUENCY(IF(LEN(AX9:AX414)>0,MATCH(AX9:AX414,AX9:AX414,0),""),IF(LEN(AX9:AX414)>0,MATCH(AX9:AX414,AX9:AX414,0),""))>0,1))}
I tried using =SUBTOTAL for the unique values count like this, but....
{=SUBTOTAL(9,(IF(FREQUENCY(IF(LEN(AX9:AX414)>0,MATCH(AX9:AX414,AX9:AX414,0),""),IF(LEN(AX9:AX414)>0,MATCH(AX9:AX414,AX9:AX414,0),""))>0,1))}
... that doen't work. The result is #VALUE
Any thoughts on this one please?
I'm struggling with a workbook that holds quite a lot of data. I would like to count unique values in column AX, whereas i also would like to be able to count unique values in case a sorting filter is used.
I made a matrix-formula for the general unique values count, that works perfectly:
{=SUM(IF(FREQUENCY(IF(LEN(AX9:AX414)>0,MATCH(AX9:AX414,AX9:AX414,0),""),IF(LEN(AX9:AX414)>0,MATCH(AX9:AX414,AX9:AX414,0),""))>0,1))}
I tried using =SUBTOTAL for the unique values count like this, but....
{=SUBTOTAL(9,(IF(FREQUENCY(IF(LEN(AX9:AX414)>0,MATCH(AX9:AX414,AX9:AX414,0),""),IF(LEN(AX9:AX414)>0,MATCH(AX9:AX414,AX9:AX414,0),""))>0,1))}
... that doen't work. The result is #VALUE
Any thoughts on this one please?
Last edited: