"Counting" data by number of occurrences.

mikewvdos

New Member
Joined
Aug 29, 2007
Messages
2
I have a list of data (about 2000 data points), and I need to "count" how many times each singular data point occurs within a range. For example, lets say I only have 4 data points as follows:

A=2%
B=6%
C=2%
D=4%

In this instance, I want excel to tell me that there are 2 occurences of a value between 0% and 2%, one occurence between 2.1% and 4%, and one occurence between 4.1% and 6%.

Clear as mud ? Thanks for your help. Yes, I know this is probably a very simple excel question, but I guess thats why I'm here - because I need help with the very simple.

mike in Calgary
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
I have a list of data (about 2000 data points), and I need to "count" how many times each singular data point occurs within a range. For example, lets say I only have 4 data points as follows:

A=2%
B=6%
C=2%
D=4%

In this instance, I want excel to tell me that there are 2 occurences of a value between 0% and 2%, one occurence between 2.1% and 4%, and one occurence between 4.1% and 6%.

Clear as mud ? Thanks for your help. Yes, I know this is probably a very simple excel question, but I guess thats why I'm here - because I need help with the very simple.

mike in Calgary

E1: 0%
F1: 2.1%
G1: 4.1%

E2, copied across to G2:

=COUNTIF($A$1:$D$1,">="&E1)-COUNTIF($A$1:$D$1,">"&IF(F1="",6%,F1))
 
Upvote 0
or use a pivot table:

select the range, put the data in the row & count of data in the data area. then, right click the row, select group & outline, enter you min & max for the range & the interval & you're done - quicker to do than explain.
 
Upvote 0

Forum statistics

Threads
1,214,638
Messages
6,120,674
Members
448,977
Latest member
moonlight6

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