Hello,
I have products that is loaded to multiple tanks.
For example, product ABC1234 got loaded to tank: Apple and Orange, therefore the unique count of the number tanks is 2.
I found a formula (linked below) that helps count the number of unique tanks for each of the products, but for some reason it only works for some of the products. ABC44205 was loaded to Melon and Apple but the unique count is 1. Can someone please help and please let me know what am i doing wrong?
<tbody>
</tbody>
Here is my file:
http://s000.tinyupload.com/?file_id=08066986863866212145
http://www.mrexcel.com/forum/excel-...-count-unique-values-matching-criteria-3.html
Thank you.
I have products that is loaded to multiple tanks.
For example, product ABC1234 got loaded to tank: Apple and Orange, therefore the unique count of the number tanks is 2.
I found a formula (linked below) that helps count the number of unique tanks for each of the products, but for some reason it only works for some of the products. ABC44205 was loaded to Melon and Apple but the unique count is 1. Can someone please help and please let me know what am i doing wrong?
Code:
SUM(IF(FREQUENCY(IF($U$1:$U$104=U14,IF($V$1:$V$104<>"",MATCH($V$1:$V$104,$V$1:$V$104,0))),ROW($V$1:$V$104)-ROW(U14)+1),1))
PRODUCT | TANKS | UNIQUE TANKS |
ABC1234 | ORANGE | 2 |
ABC1234 | ORANGE | 2 |
ABC1234 | ORANGE | 2 |
ABC1234 | ORANGE | 2 |
ABC46005 | KIWI | 2 |
XLX770 | MANGO | 2 |
ABC1424 | GRAPE | 2 |
ABC44205 | MELON | 1 |
ABC46005 | MELON | 2 |
ABC36010 | CHERRY | 1 |
XLX770 | CHERRY | 2 |
ABC46014 | CHERRY | 1 |
ABC1424 | APPLE | 1 |
ABC44287 | APPLE | 1 |
ABC46014 | APPLE | 1 |
ABC1234 | APPLE | 2 |
ABC36010 | APPLE | 1 |
ABC44205 | APPLE | 1 |
ABC44205 | APPLE | 1 |
ABC44205 | APPLE | 1 |
ABC44287 | MELON | 1 |
ABC44287 | MELON | 1 |
ABC44287 | MELON | 1 |
<tbody>
</tbody>
Here is my file:
http://s000.tinyupload.com/?file_id=08066986863866212145
http://www.mrexcel.com/forum/excel-...-count-unique-values-matching-criteria-3.html
Thank you.
Last edited: