Jescanilla
New Member
- Joined
- Aug 17, 2021
- Messages
- 14
- Office Version
- 365
- Platform
- Windows
Good afternoon. as the title said im trying to count if unique values and even empty cells with for different criteria such as year, week and so on, i was trying to use
=SUM(IF(FREQUENCY(IF(LEN($J:$J)>0;MATCH($J:$J;$J:$J;0);"");IF(LEN($J:$J)>0;MATCH($J:$J;$J:$J;0);""))>0;1))
but i couldn't manage to add the criteria's, i paste an example sheet of the result that i must have (but i did it manual just for explanation purposes). Please help me add criteria on that formula or build a better one.
Thanks by advance.
=SUM(IF(FREQUENCY(IF(LEN($J:$J)>0;MATCH($J:$J;$J:$J;0);"");IF(LEN($J:$J)>0;MATCH($J:$J;$J:$J;0);""))>0;1))
but i couldn't manage to add the criteria's, i paste an example sheet of the result that i must have (but i did it manual just for explanation purposes). Please help me add criteria on that formula or build a better one.
Libro KPI mantenimiento (version 3).xlsx | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | |||
5 | year | week | truck | type | ID | |||||||||
6 | 1 | 3 | 605 | mc | asdasd | |||||||||
7 | 1 | 3 | 605 | mc | 123 | |||||||||
8 | 1 | 3 | 605 | mc | 456mc67 | year | week | truck | type | sum | ||||
9 | 1 | 3 | 605 | mc | 456mc67 | 1 | 3 | 605 | mc | 5 | 6 | |||
10 | 1 | 3 | 605 | mc | 456mc67 | 2 | 4 | 605 | mc | 2 | ||||
11 | 1 | 3 | 605 | mc | ||||||||||
12 | 1 | 3 | 605 | mc | asd | |||||||||
13 | 1 | 3 | 605 | mc | asd | |||||||||
14 | 2 | 4 | 605 | mc | asddd | |||||||||
15 | 2 | 4 | 605 | mc | ||||||||||
16 | 2 | 4 | 605 | mp | ||||||||||
17 | 2 | 4 | 605 | mp | ||||||||||
18 | 2 | 4 | 605 | mp | ||||||||||
19 | 2 | 4 | 605 | mp | ||||||||||
Sheet4 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
L9 | L9 | =SUM(IF(FREQUENCY(IF(LEN($E:$E)>0,MATCH($E:$E,$E:$E,0),""),IF(LEN($E:$E)>0,MATCH($E:$E,$E:$E,0),""))>0,1)) |
Thanks by advance.