Formula Help

JakeFromBB

New Member
Joined
Jul 17, 2023
Messages
4
Office Version
  1. 365
Platform
  1. Windows
Hello, I have been trying to generate a formula with no success and am reaching out for assistance. I have simplified my problem to the following. Column A, B, and C are my data and D is the returned results I am looking for. If it is easier to only return one result per group, that also works. Essentially, I would like the system to look in Column A for each "Group" then add the hours (Column B) for each Leader (Column C) in that group and return the Leader with the most hours (Column D).


1692632759040.png
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
How about
Excel Formula:
=LET(u,UNIQUE(FILTER($C$2:$C$100,$A$2:$A$100=A2)),TAKE(SORTBY(u,SUMIFS(B:B,A:A,A2,C:C,u),-1),1))
 
Upvote 1
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,161
Messages
6,123,363
Members
449,097
Latest member
thnirmitha

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