Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
HB 44
 
Posts: n/a
Default Can Excel draw a histogram with variable column widths

Trying to draw a histogram with various non equal age bands vs income,
neeed to do this as a histogram
  #2   Report Post  
Posted to microsoft.public.excel.charting
B. R.Ramachandran
 
Posts: n/a
Default Can Excel draw a histogram with variable column widths

Hi,

Enter the non-equal age-bands you want to use in a column.

"Tools" -- "Data Analysis" -- "Histogram" -- "OK" -- select the range
containing the income data for "Input Range" -- select the range containing
the non-equal age-bands for "Bin Range" -- select a cell in an empty area
for "Output Range" -- "OK"

Please note that the "Data Analysis" Add-in should have been installed in
Excel for this. You can also achieve the same results without using the
add-in, by using COUNTIF or SUMPRODUCT functions. If you need help please
reply to this post.

Regards,
B. R. Ramachandran

"HB 44" wrote:

Trying to draw a histogram with various non equal age bands vs income,
neeed to do this as a histogram

  #3   Report Post  
Posted to microsoft.public.excel.charting
Mike Middleton
 
Posts: n/a
Default Can Excel draw a histogram with variable column widths

HB 44 -

Trying to draw a histogram with various non equal age bands vs income,
neeed to do this as a histogram <


You mention _two_ numerical variables: age and income. A histogram usually
displays frequencies for ranges of a _single_ numerical variable.

In Excel, a histogram usually is a Column chart type (vertical bars), and
each bar has the same width. The horizontal axis has equal-width ranges of
the numerical variable, and the frequency is shown by the height of the
vertical bar.

If you use the Histogram tool (Analysis ToolPak) and specify bin values that
are not equally-spaced, Excel will create the frequency distribution
correctly, but the Histogram chart will display equal-width bars
representing your unequal-width ranges, so the Histogram chart will be
distorted.

FunChrt5.zip is available from Stephen Bullen's Excel Page, showing a way to
get the appearance of unequal-width bars for a Column chart:

http://www.bmsltd.ie/DLCount/DLCount...e=FunChrt5.zip


Jon Peltier's Excel Chart Pages has general information about histograms:

http://peltiertech.com/Excel/Charts/Histograms.html

- Mike
www.mikemiddleton.com


  #4   Report Post  
Posted to microsoft.public.excel.charting
Jon Peltier
 
Posts: n/a
Default Can Excel draw a histogram with variable column widths

Here are more links to variable width column charts:

http://peltiertech.com/Excel/ChartsH...thColumns.html

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______

"Mike Middleton" wrote in message
...
HB 44 -

Trying to draw a histogram with various non equal age bands vs income,
neeed to do this as a histogram <


You mention _two_ numerical variables: age and income. A histogram usually
displays frequencies for ranges of a _single_ numerical variable.

In Excel, a histogram usually is a Column chart type (vertical bars), and
each bar has the same width. The horizontal axis has equal-width ranges of
the numerical variable, and the frequency is shown by the height of the
vertical bar.

If you use the Histogram tool (Analysis ToolPak) and specify bin values
that are not equally-spaced, Excel will create the frequency distribution
correctly, but the Histogram chart will display equal-width bars
representing your unequal-width ranges, so the Histogram chart will be
distorted.

FunChrt5.zip is available from Stephen Bullen's Excel Page, showing a way
to get the appearance of unequal-width bars for a Column chart:

http://www.bmsltd.ie/DLCount/DLCount...e=FunChrt5.zip


Jon Peltier's Excel Chart Pages has general information about histograms:

http://peltiertech.com/Excel/Charts/Histograms.html

- Mike
www.mikemiddleton.com



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
Stop excel from dropping the 0 in the beginning of a number? Rosewood Setting up and Configuration of Excel 12 April 4th 23 02:12 PM
Need to Improve Code Copying/Pasting Between Workbooks David Excel Discussion (Misc queries) 1 January 6th 06 03:56 AM
Positioning Numeric Values Resulting from 6 Column Array Formula Sam via OfficeKB.com Excel Worksheet Functions 2 January 5th 06 02:03 AM
creating a bar graph Johnfli Excel Discussion (Misc queries) 0 October 26th 05 08:16 PM
retaining original column widths in excel GCope Excel Discussion (Misc queries) 0 September 26th 05 06:43 PM


All times are GMT +1. The time now is 07:17 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"