Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
denise
 
Posts: n/a
Default axis problems in excel

I have a column titled "age" in my excel spreadsheet. There are 29 values
entered in total, and several of them are the same. EG four people age 35.
The total range is from 18 to 39. I want a simple column chart with age on
the x axis (from 18 to 39) and number of people on the y axis (0 to 5). But
i cannot work out how to do it. Sorry if this is an easy one. Excel only
seems to allow me to have age on the y axis, with the 29 values represented
by columns.

any help would be appreciated

denise
  #2   Report Post  
Alex
 
Posts: n/a
Default

Denise

You need to group the age data by frequency.

In say column A wite ages 18 to 39 and then in column B write how many
people are of that age. For example...

18 1
19 1
20 2
21 1
22 3
23 4
25 1
26 5
27 2

etc...

Now just chart that as a column chart. This should work. The way you are
trying to do it, Excel will not group the people of the same age together and
will terat them as discrete data points unless you tell Excel otherwise...

If you have any further difficultioes, do write back and I will assist more...

Regards


Alex

"denise" wrote:

I have a column titled "age" in my excel spreadsheet. There are 29 values
entered in total, and several of them are the same. EG four people age 35.
The total range is from 18 to 39. I want a simple column chart with age on
the x axis (from 18 to 39) and number of people on the y axis (0 to 5). But
i cannot work out how to do it. Sorry if this is an easy one. Excel only
seems to allow me to have age on the y axis, with the 29 values represented
by columns.

any help would be appreciated

denise

  #3   Report Post  
Tushar Mehta
 
Posts: n/a
Default

Check XL's histogram capability (Tools | Data Analysis... | Histogram)
or the FREQUENCY function. Alternatively, create a PivotTable (Data |
PivotTable and PivotChart report...). Specify the Age field as the row
field and the data field. If XL sets the data field to 'Sum of Age'
doubleclick the name and in the resulting dialog box change the Sum to
Count.


--
Regards,

Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions

In article ,
says...
I have a column titled "age" in my excel spreadsheet. There are 29 values
entered in total, and several of them are the same. EG four people age 35.
The total range is from 18 to 39. I want a simple column chart with age on
the x axis (from 18 to 39) and number of people on the y axis (0 to 5). But
i cannot work out how to do it. Sorry if this is an easy one. Excel only
seems to allow me to have age on the y axis, with the 29 values represented
by columns.

any help would be appreciated

denise

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
why can I not format a secondary axis in excel x? mackie99 Charts and Charting in Excel 5 April 5th 23 02:47 PM
In Excel how do I label the axis of a chart with 2 sets of labels Alan Charts and Charting in Excel 2 June 13th 05 03:05 PM
Excel Range Value issue (Excel 97 Vs Excel 2003) Keeno Excel Discussion (Misc queries) 2 June 13th 05 02:01 PM
True XYZ axis 3-D charting Add-In for Excel BISability Excel Worksheet Functions 3 November 20th 04 11:48 AM
Problems with Excel formulas when 2002 upgraded to XP Kathi McGraw Excel Worksheet Functions 0 November 16th 04 05:27 PM


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