Banding Based on Salary

Excel_77

Active Member
Joined
Sep 15, 2016
Messages
311
Office Version
  1. 2019
Platform
  1. Windows
Hi All,

I have a main tab and within it I have column A that list salary ranges as follows:

£1000 - £2000
£2001 - £5000
£5001 - 10,000
£10,000 +

Within "salary tab I have a list of 40 people who each fall into one of the criteria above based on the "salary" filed which is in "F" of the "Salary" tab. What I want to do in column B of my main tab is input a formula that displays how many employees fall into each band with the total = 40, what formula should I input?

Thanks in advance
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
I'd put 1000 in A1 and 2000 in B1, 2001 in A2 and 5000 in B2, ... and 99999 in B4.
Put in C1 and copy down:
=COUNTIFS(J$1:J$40, ">=" & A1, J$1:J$40, "<=" & B1)
 
Upvote 0
Put the lower tier values in column A
Put the upper tier values in column B
Put 10001 in A4
Put 999999 in B4

Then in C1
=COUNTIFS(Salary!F1:F1000A6,">="&A1,Salary!F1:F1000,"<="&B1)
and copy down
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,819
Messages
6,181,153
Members
453,021
Latest member
Justyna P

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