Find Corresponding Column from a Total

srh5428

New Member
Joined
Apr 17, 2024
Messages
10
Office Version
  1. 365
Hello,

I created a formula to sort some data from largest to smallest. From my screenshot below, you can see I created an array that counts the different fields ("Designer") that are in "Altoona". In my other screenshot is an example of the Designer Column name.

I am sort of trying to work backwards and say to Excel: "Ok, I have my list from largest to smallest, now I want the Designer associated with that count". So my question is, what sort of formula would I write, to get Excel to give me the Designer name for associated total? I am trying to download the XL2BB add in so I can post an example of my data.



Thanks everyone

1715100376587.png
1715100912652.png
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
If there is any chance at all that you would get the same sum twice then that makes it difficult. Please give an example of something like that when you post the xl2bb mini sheet.

If you can't use the xl2bb minisheet, then just copy and paste a reasonable cell range into the post thread. It will post as a table. We won't see your formulas or column and row headers, but it would give some help. (but better than images!).
 
Upvote 0
Designer Work Requests.xlsx
HAA
4AltoonaLitzinger,David A
5AltoonaLitzinger,David A
6AltoonaLitzinger,David A
7AltoonaLitzinger,David A
8AltoonaLitzinger,David A
9AltoonaLitzinger,David A
10AltoonaLitzinger,David A
11AltoonaLitzinger,David A
12AltoonaLitzinger,David A
13AltoonaLitzinger,David A
14AltoonaHunter,Seth R
15AltoonaLitzinger,David A
16AltoonaLitzinger,David A
17AltoonaLitzinger,David A
18AltoonaMcElhinney,Joel
19AltoonaLitzinger,David A
20AltoonaLitzinger,David A
21AltoonaLitzinger,David A
22AltoonaLitzinger,David A
23AltoonaLitzinger,David A
24AltoonaLitzinger,David A
25AltoonaLitzinger,David A
26AltoonaLitzinger,David A
27AltoonaLitzinger,David A
28AltoonaLitzinger,David A
29AltoonaLitzinger,David A
30AltoonaLitzinger,David A
31AltoonaLitzinger,David A
32AltoonaLitzinger,David A
33AltoonaLitzinger,David A
34AltoonaLitzinger,David A
35AltoonaLitzinger,David A
36AltoonaLitzinger,David A
37AltoonaLitzinger,David A
38AltoonaLitzinger,David A
39AltoonaLitzinger,David A
40AltoonaLitzinger,David A
41AltoonaLitzinger,David A
42AltoonaLitzinger,David A
43AltoonaLitzinger,David A
44AltoonaLitzinger,David A
45AltoonaLitzinger,David A
46AltoonaLitzinger,David A
47AltoonaLitzinger,David A
48AltoonaLitzinger,David A
49AltoonaLitzinger,David A
50AltoonaMcElhinney,Joel
51AltoonaLitzinger,David A
52AltoonaLitzinger,David A
53AltoonaLitzinger,David A
54AltoonaLitzinger,David A
55AltoonaLitzinger,David A
56AltoonaLitzinger,David A
57AltoonaLitzinger,David A
58AltoonaLitzinger,David A
59AltoonaLitzinger,David A
60AltoonaLitzinger,David A
61AltoonaLitzinger,David A
62AltoonaLitzinger,David A
63AltoonaLitzinger,David A
64AltoonaLitzinger,David A
65AltoonaLitzinger,David A
66AltoonaLitzinger,David A
67AltoonaLitzinger,David A
68AltoonaLitzinger,David A
69AltoonaMcElhinney,Joel
70AltoonaLitzinger,David A
71AltoonaLitzinger,David A
72AltoonaLitzinger,David A
73AltoonaLitzinger,David A
74AltoonaLitzinger,David A
75AltoonaLitzinger,David A
76AltoonaLitzinger,David A
77AltoonaLitzinger,David A
78AltoonaMcElhinney,Joel
79AltoonaLitzinger,David A
80AltoonaLitzinger,David A
81AltoonaLitzinger,David A
82AltoonaLitzinger,David A
83AltoonaLitzinger,David A
84AltoonaLitzinger,David A
85AltoonaLitzinger,David A
86AltoonaLitzinger,David A
87AltoonaLitzinger,David A
88AltoonaLitzinger,David A
89AltoonaLitzinger,David A
90AltoonaLitzinger,David A
91AltoonaLitzinger,David A
92AltoonaNeely,Joseph C
93AltoonaLitzinger,David A
94AltoonaMcElhinney,Joel
95AltoonaLitzinger,David A
96AltoonaNeely,Joseph C
97AltoonaLitzinger,David A
98AltoonaLitzinger,David A
99AltoonaLitzinger,David A
100AltoonaLitzinger,David A
101AltoonaLitzinger,David A
102AltoonaLitzinger,David A
103AltoonaLitzinger,David A
104AltoonaLitzinger,David A
105AltoonaMcElhinney,Joel
106AltoonaNeely,Joseph C
107AltoonaNeely,Joseph C
108AltoonaMcElhinney,Joel
109AltoonaMcElhinney,Joel
110AltoonaMcElhinney,Joel
111AltoonaMcElhinney,Joel
112AltoonaForshey,Gary L
113AltoonaMcElhinney,Joel
114AltoonaMcElhinney,Joel
115AltoonaMcElhinney,Joel
116AltoonaMcElhinney,Joel
117AltoonaMcElhinney,Joel
118AltoonaMcElhinney,Joel
119AltoonaNeely,Joseph C
120AltoonaForshey,Gary L
121AltoonaMcElhinney,Joel
122AltoonaMcElhinney,Joel
123AltoonaMcElhinney,Joel
124AltoonaMcElhinney,Joel
125AltoonaMcElhinney,Joel
126AltoonaLitzinger,David A
127AltoonaLitzinger,David A
128AltoonaMcElhinney,Joel
POFUs
 
Upvote 0
How about
Excel Formula:
=LET(u,UNIQUE(AA4:AA128),SORT(HSTACK(u,COUNTIFS(AA:AA,u,H:H,"altoona")),2,-1))
 
Upvote 0
How about
Excel Formula:
=LET(u,UNIQUE(AA4:AA128),SORT(HSTACK(u,COUNTIFS(AA:AA,u,H:H,"altoona")),2,-1))
This seemed to almost completely work - the array spilled the names of other Designers that were not in the screenshot i provided. They show a 0 because the are not in "Altoona", which makes sense.

1715104024785.png


I suppose I could get rid of the 0 values with an IF statement, unless you have a better idea?

Thank you
 
Upvote 0
This seemed to almost completely work - the array spilled the names of other Designers that were not in the screenshot i provided. They show a 0 because the are not in "Altoona", which makes sense.

View attachment 111088

I suppose I could get rid of the 0 values with an IF statement, unless you have a better idea?

Thank you
Update, the IF statement didn't work..
 
Upvote 0
How about
Excel Formula:
=LET(u,UNIQUE(FILTER(AA4:AA128,H4:H128="altoona")),SORT(HSTACK(u,COUNTIFS(AA:AA,u,H:H,"altoona")),2,-1))
 
Upvote 0
Solution
How about
Excel Formula:
=LET(u,UNIQUE(FILTER(AA4:AA128,H4:H128="altoona")),SORT(HSTACK(u,COUNTIFS(AA:AA,u,H:H,"altoona")),2,-1))
That worked - thank you very much!

I hope someday I am at the Wizarding level you are.

Thanks again!! Huge help!!
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 1

Forum statistics

Threads
1,223,264
Messages
6,171,081
Members
452,377
Latest member
bradfordsam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top