Hello
I was wondering if there is an all in one function/formula in excel 365, to output (in the summary table) the names and count the number of routes completed. Please see attached sample.
Thank you
Hello
I was wondering if there is an all in one function/formula in excel 365, to output (in the summary table) the names and count the number of routes completed. Please see attached sample.
Thank you
Last edited by KenV15; 01-22-2024 at 01:15 PM.
If you change your 365 update channel to the beta channel, you can try this:
=VSTACK(HSTACK("Name","Total # Rte"),GROUPBY(B2:B15,A2:A15,COUNT))
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
NB: as a Moderator, I never accept friendship requests.
Forum Rules (updated August 2023): please read them here.
If you don't want to do that, try this instead:
=LET(u,UNIQUE(B2:B15),c,COUNTIF(B2:B15,u),VSTACK(HSTACK("Name","Total # Rte"),SORT(HSTACK(u,c),1),HSTACK("Total",SUM(c))))
1. There's a stray space after Mike in B13 - "Mike ".
2. Delete ALL expected results.
3. Use:
=LET(A,B2:B15,B,UNIQUE(A),C,BYROW(B,LAMBDA(x,COUNTIF(A,x))),VSTACK({"Name","Total # routes"},HSTACK(B,C),HSTACK("Total",ROWS(A))))
4. See file.
Glenn
None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU
Wow you made my day thank you Ali! Your knowledge of excel is truly amazing
Also thank you Glen.
Both of you make this forum a great place to learn excel.
Glad to have helped.
If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED.
Also, if you have not already done so, you may not be aware that you can thank anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.
Glen thank you for pointing that out to me. Have a good day.![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks