Dear all,
I have a excel table with duplicate bill id, i want to get the unique count. However, it should also consider another criteria, which is customer. Should I use advanced filter instead? How should the advanced filter be set?
kw42chan
Dear all,
I have a excel table with duplicate bill id, i want to get the unique count. However, it should also consider another criteria, which is customer. Should I use advanced filter instead? How should the advanced filter be set?
kw42chan
You can use pviot table to get the unique value.
Try:
=SUM(IF(FREQUENCY(IF(Customer=E2,IF(Billid<>"",MATCH(Billid,Billid,0))),ROW(Billid)-MIN(ROW(Billid))+1),1))
Confirmed with CTRL+SHIFT+ENTER
Where there is a will there are many ways.
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
If BillId's are numbers, try this,
=SUM(SIGN(FREQUENCY(IF(Customer=E2,Billid),Billid)))
Confirmed with CTRL+SHIFT+ENTER
Regards,
Haseeb Avarakkan
__________________________________
"Feedback is the breakfast of champions"
Array Entered,
=SUM(SIGN(FREQUENCY(IFERROR(IF(Customer=G2,IF(Month=H2,IF(Service=I2,MATCH(Billid,Billid,0)))),""),ROW(Customer)-ROW(INDEX(Customer,1,1))+1)))
You can do a nested IF to include those criteria, and you can just "multiply" the conditions together like so:
Confirmed with CTRL+SHIFT+ENTER![]()
Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks