+ Reply to Thread
Results 1 to 5 of 5

Bar chart with extra variable.

  1. #1
    Registered User
    Join Date
    03-24-2016
    Location
    Sofia, Bulgaria
    MS-Off Ver
    2013
    Posts
    37

    Bar chart with extra variable.

    Hi,
    I am trying to do a bar chart where I want to show another variable on the chart. I want to know if this is possible.
    So i will give an easy example.

    Event A=10 and it appears at time=0.5 sec
    Event B=15 and it appears at time=0.8 sec

    I want to plot the events as bars, and above each bar I want to show the time so above bar A to say 0.5 sec, etc.

    Is this possible in excel? I went trough most of the bar chart options, but it seems that there is no way of doing it.

    Best Regards,

    Tsvetan Donov

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,434

    Re: Bar chart with extra variable.

    You can use a 2nd series plotted on the secondary axis and use it's data labels to show different information.

    Create a column chart on the data
    Move Time series to secondary axis
    Use Select Data to change values and category labels of Time series
    Add data labels above to the Time series
    Change data labels to show category rather than value
    Delete secondary vertical axis
    Format line to not show

    I have used custom number format on Time values to display 'sec' text
    Attached Files Attached Files
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    03-24-2016
    Location
    Sofia, Bulgaria
    MS-Off Ver
    2013
    Posts
    37

    Re: Bar chart with extra variable.

    Sorry,
    So I plotted the bars and I have the names under them. So far so good.
    After that I dont understand how you select the time to plot as a line touching each bar. I see that you somehow have two charts on top of each other and for the time one you have just hidden the axis. I didnt get how you did that.
    Can you please explain a little bit more detail.

    Best Regards,


    Tsvetan

  4. #4
    Registered User
    Join Date
    03-24-2016
    Location
    Sofia, Bulgaria
    MS-Off Ver
    2013
    Posts
    37

    Re: Bar chart with extra variable.

    I can select axis data label for the event to show Event A, Event B, etc. Then as a separate data I add the time. But when i change the data lable to show the time the Event lables change to time as well. I didnt get how you separate the axis.

  5. #5
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,434

    Re: Bar chart with extra variable.

    Select the Time series and change chart type to line.

    Actually it doesn't matter if it remains a column as the other steps are the same.

    Latest attachment contains steps
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 8
    Last Post: 08-27-2012, 04:37 PM
  2. [SOLVED] Sum product help needed with an extra variable please and thankyou
    By Anthony in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 PM
  3. [SOLVED] Sum product help needed with an extra variable please and thankyou
    By Anthony in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 10:05 AM
  4. Sum product help needed with an extra variable please and thankyou
    By KL in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 09-06-2005, 07:05 AM
  5. Sum product help needed with an extra variable please and thankyou
    By KL in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 09-06-2005, 04:05 AM
  6. [SOLVED] Sum product help needed with an extra variable please and thankyou
    By Anthony in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 AM
  7. [SOLVED] Sum product help needed with an extra variable please and thankyou
    By Anthony in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01:05 AM
  8. Sum product help needed with an extra variable please and thankyou
    By Anthony in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-12-2005, 12:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1