Counting Frequency of Numbers in a Column

confused305

New Member
Joined
Jan 15, 2015
Messages
1
I'm trying to count the number of values that fall between a range. I would post a picture, but I'm not on my computer with Excel (sorry!!!). But, for example, I would like to get the Frequency column from the Data to count column:
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Data to count[/TD]
[TD][/TD]
[TD]Range[/TD]
[TD]Frequency[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]1
[/TD]
[TD][/TD]
[TD]-3 to -1[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]17[/TD]
[TD][/TD]
[TD]0 to 2[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]7[/TD]
[TD][/TD]
[TD]3 to 5[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]-1[/TD]
[TD][/TD]
[TD]6 to 8[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]6[/TD]
[TD][/TD]
[TD]9 to 11[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]8[/TD]
[TD][/TD]
[TD]12 to 14[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]0[/TD]
[TD][/TD]
[TD]14 to 16[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]5[/TD]
[TD][/TD]
[TD]17 to 19[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]5[/TD]
[TD][/TD]
[TD]20 to 21[/TD]
[TD]0[/TD]
[/TR]
</tbody>[/TABLE]

I was thinking of doing a SUMIF formula, but can't quite get it figured out. I also tried two ifs within a sum function, but that seems overly complicated. Can anyone help me out? Sorry if my example was confusing, and let me know if you need any clarifications of my problem. Thanks in advance!!!
 
Sheet1

*ABCDEF
Data to count*Range**Frequency
*to
*to
*to
*to
*to
*to
*to
*to
*to

<colgroup><col style="font-weight:bold; width:30px; "><col style="width:64px;"><col style="width:64px;"><col style="width:21px;"><col style="width:20px;"><col style="width:21px;"><col style="width:64px;"></colgroup><tbody>
[TD="bgcolor: #cacaca, align: center"]1[/TD]

[TD="bgcolor: #cacaca, align: center"]2[/TD]
[TD="align: right"]1[/TD]

[TD="align: right"]-3[/TD]

[TD="align: right"]-1[/TD]
[TD="align: right"]1[/TD]

[TD="bgcolor: #cacaca, align: center"]3[/TD]
[TD="align: right"]17[/TD]

[TD="align: right"]0[/TD]

[TD="align: right"]2[/TD]
[TD="align: right"]2[/TD]

[TD="bgcolor: #cacaca, align: center"]4[/TD]
[TD="align: right"]7[/TD]

[TD="align: right"]3[/TD]

[TD="align: right"]5[/TD]
[TD="align: right"]2[/TD]

[TD="bgcolor: #cacaca, align: center"]5[/TD]
[TD="align: right"]-1[/TD]

[TD="align: right"]6[/TD]

[TD="align: right"]8[/TD]
[TD="align: right"]3[/TD]

[TD="bgcolor: #cacaca, align: center"]6[/TD]
[TD="align: right"]6[/TD]

[TD="align: right"]9[/TD]

[TD="align: right"]11[/TD]
[TD="align: right"]0[/TD]

[TD="bgcolor: #cacaca, align: center"]7[/TD]
[TD="align: right"]8[/TD]

[TD="align: right"]12[/TD]

[TD="align: right"]14[/TD]
[TD="align: right"]0[/TD]

[TD="bgcolor: #cacaca, align: center"]8[/TD]
[TD="align: right"]0[/TD]

[TD="align: right"]14[/TD]

[TD="align: right"]16[/TD]
[TD="align: right"]0[/TD]

[TD="bgcolor: #cacaca, align: center"]9[/TD]
[TD="align: right"]5[/TD]

[TD="align: right"]17[/TD]

[TD="align: right"]19[/TD]
[TD="align: right"]1[/TD]

[TD="bgcolor: #cacaca, align: center"]10[/TD]
[TD="align: right"]5[/TD]

[TD="align: right"]20[/TD]

[TD="align: right"]21[/TD]
[TD="align: right"]0[/TD]

</tbody>

Spreadsheet Formulas
CellFormula
F2=SUMPRODUCT(--($A$2:$A$10>=C2),--($A$2:$A$10<=E2))
F3=SUMPRODUCT(--($A$2:$A$10>=C3),--($A$2:$A$10<=E3))
F4=SUMPRODUCT(--($A$2:$A$10>=C4),--($A$2:$A$10<=E4))
F5=SUMPRODUCT(--($A$2:$A$10>=C5),--($A$2:$A$10<=E5))
F6=SUMPRODUCT(--($A$2:$A$10>=C6),--($A$2:$A$10<=E6))
F7=SUMPRODUCT(--($A$2:$A$10>=C7),--($A$2:$A$10<=E7))
F8=SUMPRODUCT(--($A$2:$A$10>=C8),--($A$2:$A$10<=E8))
F9=SUMPRODUCT(--($A$2:$A$10>=C9),--($A$2:$A$10<=E9))
F10=SUMPRODUCT(--($A$2:$A$10>=C10),--($A$2:$A$10<=E10))

<tbody>
</tbody>

<tbody>
</tbody>


Excel tables to the web >> Excel Jeanie HTML 4
 
Upvote 0

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