+ Reply to Thread
Results 1 to 4 of 4

X Axis help

  1. #1
    Registered User
    Join Date
    02-25-2020
    Location
    Arizona
    MS-Off Ver
    1902
    Posts
    2

    Unhappy X Axis help

    Hello,

    I have a few different data sets i'm using a combo graph for. My Req'd/Actual should read in half hour intervals, and the Breaks/Meals in 15 minute intervals. but for some reason my Req'd/Actual only shows the 2pm interval on my x axis, even though the data selected shows til 5PM. looking at it, i see that the Req'd/Actual is 20 cells of data and the other one is 26 cells which would bring the Req'd/Actual to 2pm. and im rambling i just dont know how to explain this hahah.

    i want my Req'd/Actual to go to 5pm. any help?

    i think i attached a picture and the file.

    chart.JPG
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,826

    Re: X Axis help

    Especially with line and column charts where the horizontal axis is a text/category axis, I find that the easiest way to do this is to combine all of the data I want to show in the chart into a single table, then build the chart from that table. In this case, maybe a formula/function in row 27 and 28 of Current Peds that will retrieve the data from the Peds IDP tab for each time/text entry in row 1 (or N/A if that time isn't present). Then have the chart use the appropriate columns from row 27 and 28 for the line chart series.

    Would you be allowed to do something like that (move/copy data around the spreadsheets), or are you required to solve the problem in the chart itself (which usually isn't very good at solving these kinds of problems).
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Registered User
    Join Date
    02-25-2020
    Location
    Arizona
    MS-Off Ver
    1902
    Posts
    2

    Re: X Axis help

    Hi!

    I took the spreadsheet and added the graph in myself as a visual aid, so i can manipulate it as needed. I am a beginner with Excel so i was trying to adjust as much as i could with using google. I can try and update based on your recommendation, i'm just not sure i know how to at this point.

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: X Axis help

    The approach I'd adopt is to read the values from columns B&Cof the PEDS IDP sheet to cells in columns G:AG on the Curret PEDS sheet.
    These values will then line up with Breaks and Meals series.

    The first thing to do is creae proper time numbers in Row 1 of the Currnet PEDS sheet. At the moment they are just text. So for instance in G1 enter 9:15 and then similarly across column 1.

    Then introduce two new rows. For testing I used the spare row 5 but for neatness you'll probaly want to insert two new rows.
    In G5 enter the formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    and copy this across to AG5. This repeats the PEDS column B values.

    Add a similar formula on another row to pick up column C from the PEDS IDP sheet

    Then replace the current PEDS IDP series with the values from the two new rows
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

+ 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: 5
    Last Post: 01-07-2017, 03:17 PM
  2. No x axis correlation when using 2nd y axis and reverse x axis
    By lorims in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 06-03-2015, 09:25 PM
  3. Replies: 2
    Last Post: 03-17-2014, 07:58 AM
  4. [SOLVED] Two Y Axis's One X, Chart Data not in sync with X axis between Y axis's
    By MJSlattery in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 12-08-2013, 12:08 AM
  5. [SOLVED] Bar Graph With 2 Axis - Bars On The Primary Axis Overlap Bars On The Secondary Axis
    By Variablez in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 03-11-2013, 08:38 AM
  6. Replies: 8
    Last Post: 02-12-2009, 10:12 AM
  7. [SOLVED] How to insert X axis scale values next to axis and X axis grid lin
    By vp23larry in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 06-23-2005, 11:05 AM

Tags for this Thread

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