# Excel -- frequency distribution

Experts:

I need some assistance with counting frequencies for a frequency distribution table.   Please see attached XLS.

The count of 25 records should not change.    However, what may change is the value for the lower limit and the class interval.

Any ideas for a function that will automate the frequency distribution?

Thank you,
EEH
Frequency-Distribution.xlsx
###### Who is Participating?

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

Commented:
Use this formula..

``````=SUMPRODUCT((\$C\$7:\$C\$31>=F6)*(\$C\$7:\$C\$31<=G6))
``````

Or Option-2

``````=COUNTIFS(\$C\$7:\$C\$31,">="&F6,\$C\$7:\$C\$31,"<="&G6)
``````

Enclosed is the file for your reference...

Saurabh...
Frequency-Distribution.xlsx
0

Experts Exchange Solution brought to you by

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

AnalystAuthor Commented:
PERFECT SOLUTION!!!!!!!!!!   Thanks, EEH
0
Data AnalystCommented:
``````=COUNTIF(\$C\$7:\$C\$31,F6)+COUNTIF(\$C\$7:\$C\$31,G6)
``````

You can use a formula like this in cell H6 and copy down.
0
Data AnalystCommented:
Saurabh is fast! Nice solution too... I should REFRESH before I post :D
0
Commented:
Its okay Rodney..Happens with all of us.. :-)
0
###### 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.