# Is this possible to do - %

#### zzcom

##### Active Member
I have in the column A a few hundreds of numbers like 2000, 1500, 1750, 20000 etc. Is it possible to count how many numbers in % fit in to a certain range? For example to get result 70% if 70% numbers are between 15000 and 1500, or how many % are between 0 and 2000?

### Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
zzcom said:
...how many % are between 0 and 2000?

=(COUNTIF(Range,">="&X2)-COUNTIF(DateRange,">"&Y2))/COUNT(Range)

where X2 houses a value like 0 and Y2 a value like 2000.

Hi z,

There is probably a better way but here's one suggestion:
Book1
ABCD
1100050001500055%
22000
33000
44000
55000
66000
77000
88000
99000
1010000
1111000
1212000
1313000
1414000
1515000
1616000
1717000
1818000
1919000
2020000
Sheet1

The formula is:
=SUMPRODUCT(((A1:A20)>=B1)*((A1:A20)<=C1))/COUNT(A1:A20)

HTH

Thanx guys, that's I was looking for.

Replies
3
Views
295
Replies
2
Views
184
Replies
10
Views
267
Replies
6
Views
71
Replies
7
Views
289

1,196,152
Messages
6,013,752
Members
441,781
Latest member
Gian Carlos

### 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.

### Which adblocker are you using?

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

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