Is this possible to do - %

zzcom

Active Member
Joined
Aug 4, 2004
Messages
272
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

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
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
 
Upvote 0

Forum statistics

Threads
1,213,546
Messages
6,114,255
Members
448,556
Latest member
peterhess2002

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