#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 111
Default Histogram

Hello,

Using the histogram function in data analysis allows me to categorize data
into specific bins by counting the number of instances the set criteria
occurs. Is there any way I can sum the results instead of counting them?

Thanks,
April
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Histogram

Use separate formulas that refer to your bins.

The first frequency is the count of numbers that are <=bin1.

The 2nd frequency is the count of numbers that are bin1 and <=bin2

So, assuming your bins are something like this:

E3 = 10
E4 = 20
E5 = 30

The first sum would be something like:

=SUMIF(A1:A20,"<="&E3)

The 2nd sum would be something like:

=SUMIF(A1:A20,""&E3)-SUMIF(A1:A20,""&E4)

That 2nd pattern is followed until the last bin then you need one last sum
formula:

=SUMIF(A1:A20,""&last_bin)

--
Biff
Microsoft Excel MVP


"April" wrote in message
...
Hello,

Using the histogram function in data analysis allows me to categorize data
into specific bins by counting the number of instances the set criteria
occurs. Is there any way I can sum the results instead of counting them?

Thanks,
April



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,180
Default Histogram

Excel 2007 PivotTable
Frequency, Bins, Count, Sum.
For those allergic to formulas:
http://www.mediafire.com/file/jomxnoyyyxe/06_07_09.xlsx
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
I was creating a histogram; now i have data but no histogram. ShannonMills3 Excel Worksheet Functions 0 June 14th 06 12:03 AM
How to Histogram w/o raw data but histogram Table on Excel 2005 Charts and Charting in Excel 1 February 1st 06 06:48 AM
Histogram durino13 Excel Discussion (Misc queries) 7 August 18th 05 01:29 PM
histogram canadian excel user Excel Discussion (Misc queries) 1 July 30th 05 11:50 PM
More bin in histogram jiang Charts and Charting in Excel 1 June 24th 05 02:32 PM


All times are GMT +1. The time now is 01:21 PM.

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

About Us

"It's about Microsoft Excel"