Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
martho
 
Posts: n/a
Default Summary of all values and occurrence of each value


I got a problem where I am looking for an elegant solution.

I got an table containing data, telling me a certain number.
What I want is a summary of all the numbers in that table and telling
me how many times each number occours. There can be gaps between these
numbers, lets say the number 90 occurs 12 times, number 95 occurs 2
times, number 98 occurs 5 times and so on and on.

Help would be very much appreciated, thanks


--
martho
------------------------------------------------------------------------
martho's Profile: http://www.excelforum.com/member.php...o&userid=29144
View this thread: http://www.excelforum.com/showthread...hreadid=488627

  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Summary of all values and occurrence of each value

Assuming the numbers are in A1:A100

B1: =A1
B2: =IF(ISERROR(MATCH(0,COUNTIF(B$1:B1,$A$1:$A$20&""), 0)),"",
INDEX(IF(ISBLANK($A$1:$A$20),"",$A$1:$A$20),MATCH( 0,COUNTIF(B$1:B1,$A$1:$A$2
0&""),0)))

which is an array formula, so commit with Ctrl-Shift-Enter, and copy doun

C1: + COUNTIF(A:A,B1)

and copy down

--

HTH

RP
(remove nothere from the email address if mailing direct)


"martho" wrote in
message ...

I got a problem where I am looking for an elegant solution.

I got an table containing data, telling me a certain number.
What I want is a summary of all the numbers in that table and telling
me how many times each number occours. There can be gaps between these
numbers, lets say the number 90 occurs 12 times, number 95 occurs 2
times, number 98 occurs 5 times and so on and on.

Help would be very much appreciated, thanks


--
martho
------------------------------------------------------------------------
martho's Profile:

http://www.excelforum.com/member.php...o&userid=29144
View this thread: http://www.excelforum.com/showthread...hreadid=488627



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Match Each Numeric occurrence and Return Individual Rows of Data Sam via OfficeKB.com Excel Worksheet Functions 4 October 13th 05 04:22 AM
Count Intervals of 2 Numeric values in same Row and Return Count across Row Sam via OfficeKB.com Excel Worksheet Functions 12 September 24th 05 10:58 PM
Count Intervals of Filtered TEXT values in Column and Return Count across a Row Sam via OfficeKB.com Excel Worksheet Functions 9 July 31st 05 03:37 AM
occurrence (last) reference excelFan Excel Discussion (Misc queries) 4 March 7th 05 11:51 AM
Matching a List Containing Redundant Values Rick Hess Excel Discussion (Misc queries) 1 November 26th 04 02:39 PM


All times are GMT +1. The time now is 12:28 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"