Multiple name with data points need to find name and add value of cells next to name.

speedracer7278

New Member
Joined
Aug 24, 2007
Messages
8
Office Version
  1. 365
Platform
  1. Windows
How do I create function that finds all the same name of salesman thru out entire sheet. Takes all the values of the cell next to the name and add them all up creating a ranking system and have information displayed in a new cell with that salesman name.

11 Bert

12 Mike

5 Larry

2 Mike

7 Larry

1 Bert

2 Larry

1 Mike

Mike = 15

Larry = 14

Bert = 12
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
How about
Fluff.xlsm
ABCDE
1
211BertBert12
312MikeLarry14
45LarryMike15
52Mike
67Larry
71Bert
82Larry
91Mike
Data
Cell Formulas
RangeFormula
D2:E4D2=GROUPBY(B2:B9,A2:A9,SUM,,0)
Dynamic array formulas.
 
Upvote 0
How about
Fluff.xlsm
ABCDE
1
211BertBert12
312MikeLarry14
45LarryMike15
52Mike
67Larry
71Bert
82Larry
91Mike
Data
Cell Formulas
RangeFormula
D2:E4D2=GROUPBY(B2:B9,A2:A9,SUM,,0)
Dynamic array formulas.
Does this work if the name are in many different columns. The same names are in N and Z with values next to them?
 
Upvote 0
Can you post some sample data.

MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in

Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.
 
Upvote 0
Thanks. I want the lowest number from cell E.
I want the lowest ranking on top. It sorts now in alphabetical order.
You guys are great.
 
Upvote 0
Ok, how about
Excel Formula:
=GROUPBY(B2:B9,A2:A9,SUM,,0,2)
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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