Countif / Sumif & Large

poly1

New Member
Joined
Apr 17, 2018
Messages
1
Of the top 113 (out of 450) employees based on sales, I need to count the number of employees and sum their sales in each category.

I have a list of 450 employee numbers along with their corresponding sales and assigned category.

On another tab, ONLY for the top 113 employees I need to:

  1. Count the number of employees in each category
  2. Add the sales related to each category

An abbreviated example looking at the top 5 out of 15 is below:

Employee #
Sales
Category
5
$33.00
D
8
$33.00
B
2
$30.00
A
12
$22.00
E
13
$21.00
E
7
$20.00
A
15
$19.00
D
3
$17.00
B
6
$17.00
E
1
$15.00
A
9
$15.00
A
14
$12.00
C
4
$10.00
C
10
$9.00
B
11
$3.00
D
Top 5
Category
Employees
Sales
A
1
$30.00
B
1
$33.00
C
0
$0.00
D
1
$33.00
E
2
$43.00

<tbody>
</tbody>

Thanks for your help!
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.

Forum statistics

Threads
1,216,496
Messages
6,130,983
Members
449,611
Latest member
Bushra

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