Count number of values in the different ranges

hsandeep

Well-known Member
Joined
Dec 6, 2008
Messages
1,226
Office Version
  1. 2010
Platform
  1. Windows
  2. Mobile
a column contains 'amount'. The amount can be from 1-999999. Some cells also contains #N/A (thr' formula) & blank (thr' formula).

I want to get NUMBERS of 'amount' whose value is
1-10000
10001-20000
20001-30000
30001-40000
40001-50000
50001 and above.
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
I'll give an example:
480
10002
500009
999

So for sum for values in the range 10001 20000 answer should come:10002
For sum 1-10000: answer is 1479.

I can punch 10001, 20000, & so on in different cells if required
 
Upvote 0
I'll give an example:
480
10002
500009
999

So for sum for values in the range 10001 20000 answer should come:10002
For sum 1-10000: answer is 1479.

I can punch 10001, 20000, & so on in different cells if required
You can use two SUMIF function calls to get your totals. For example, between (and including) 10001 and 20000...

=SUMIF(A:A,"<=20000")-SUMIF(A:A,"<10001")

Note the first SUMIF use "less than or equal to" whereas the second SUMIF uses only "less than".
 
Upvote 0
This works for SUM. Please also COUNT the number of such values. I may have #N/A also in the range.
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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