We're aware that some users are experiencing technical issues which the team are working to resolve. See the Community Noticeboard for more info. Thank you for your patience.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!

Excel, Average Line on graphs

Options
davetrousers
davetrousers Posts: 5,862 Forumite
Part of the Furniture 1,000 Posts Combo Breaker
edited 17 May 2011 at 4:31PM in Techie Stuff
Hello All, I have a query for Excel 2003.

I have a column of data that I plot in a graph, I also have a cell that shows the average value in the column of data. Is it possible to show this average value as a straight line on the graph without making another column equal the average value (ie draw a straight line at that single value)?

Hope this makes sense.

Thanks for your help
.....

Comments

  • Makes perfect sense, Dave.

    Unfortunately, the answer is no, not in Excel. You could write a macro to do it, if it's a lot of data and you do the plot regularly, but otherwise I'd stick to the manual method.

    The usual suspects will be along to tell you that OpenOffice has it as a right-click option in a few minutes.
    I'm dreaming of a white Christmas.
    But, if the white runs out, I'll drink the red.

  • suicidebob
    suicidebob Posts: 771 Forumite
    Can't you just hide the column with the average values?
  • LucianH
    LucianH Posts: 445 Forumite
    Part of the Furniture 100 Posts Name Dropper Photogenic
    I use Excel a lot but cannot see a way of doing it. But it's not a great problem in putting the average in one cell and then simply having a column with an absolute reference to that cell (or a named reference for the cell) - and then you can hide the column as suggested above)
    Never let it get you down... unless it really is as bad as it seems.
  • LucianH
    LucianH Posts: 445 Forumite
    Part of the Furniture 100 Posts Name Dropper Photogenic
    Stompa wrote: »

    That's brilliant - I didn't think is was possible.
    Never let it get you down... unless it really is as bad as it seems.
  • Great find Stompa!

    Now to figure out why it doesn't work in the latest versions...
    I'm dreaming of a white Christmas.
    But, if the white runs out, I'll drink the red.

  • LucianH
    LucianH Posts: 445 Forumite
    Part of the Furniture 100 Posts Name Dropper Photogenic
    Now to figure out why it doesn't work in the latest versions...
    I've had it working on both 2003 and 2007 SP2.
    Never let it get you down... unless it really is as bad as it seems.
  • davetrousers
    davetrousers Posts: 5,862 Forumite
    Part of the Furniture 1,000 Posts Combo Breaker
    Thanks Stompa, I worked through the example and I got that to work ok.

    The trouble I then had was in relating it to my work! I have that time and date column in Column A then I have my data in many other columns and about 20 graphs. Hmm think I might have to go with the use another column technique! Thanks
    .....

This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 350.9K Banking & Borrowing
  • 253.1K Reduce Debt & Boost Income
  • 453.5K Spending & Discounts
  • 243.9K Work, Benefits & Business
  • 598.8K Mortgages, Homes & Bills
  • 176.9K Life & Family
  • 257.2K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16.1K Discuss & Feedback
  • 37.6K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.