I want to plot the distribution of column A having 14 numbers by counting into buckets in column B
ColA          ColB
 421,006        400,000
 432,070        410,000
 436,415        420,000
 438,019        430,000
 443,280        440,000
 443,375        450,000
 446,952        460,000
 447,806        470,000

What is wrong with this formula?

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.


=countifs(A1:A14,">" & B1,A1:A14,"<" & B2)
barry houdiniCommented:
To make sure all values are counted you need one of the ">" or "<" to include an =, otherwise any value in column A that falls exactly on the boundary, e.g. 420,000, won't fall in any bucket. so a small modification to Thomas's suggestion...


regards, barry

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Another option is to run a pivot table with your numbers as row fields, grouped by 10000, and your numbers as data field with a count.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.