Countifs

Welsh Mark3

Board Regular
Joined
Apr 7, 2014
Messages
164
Office Version
  1. 365
I have a column of values - I'm looking to write a formula that counts how many values fall into each of the following buckets
<500, 501 - 1000, 1001 - 2500, 2501 - 5000, 5001 - 10000, 10001 - 50000, >50000

Can you help me, please?
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Like this maybe:


Excel 2013/2016
ABC
14004
22004
34994
44994
55014
65064
79994
81000
91001
101546
111932
122500
132501
144000
154500
165000
175001
187000
199000
2010000
2110001
2220000
2340000
2450000
2560000
2670000
2780000
2890000
Sheet1
Cell Formulas
RangeFormula
C1=COUNTIF(A1:A28,"<500")
C2=COUNTIFS(A1:A28,">=501",A1:A28,"<=1000")
C3=COUNTIFS(A1:A28,">=1001",A1:A28,"<=2500")
C4=COUNTIFS(A1:A28,">=2501",A1:A28,"<=5000")
C5=COUNTIFS(A1:A28,">=5001",A1:A28,"<=10000")
C6=COUNTIFS(A1:A28,">=10001",A1:A28,"<=50000")
C7=COUNTIF(A1:A28,">50000")
 
Upvote 0

Forum statistics

Threads
1,223,904
Messages
6,175,295
Members
452,631
Latest member
a_potato

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