+ Reply to Thread
Results 1 to 2 of 2

Auto Align a chart's x axis with the columns of data it represents?

  1. #1
    Registered User
    Join Date
    08-10-2011
    Location
    Cali
    MS-Off Ver
    Excel 365
    Posts
    62

    Auto Align a chart's x axis with the columns of data it represents?

    Not sure the right way to name this so possible the answer is already out there and I didn't search the right terms.

    Working on a financial forecasting sheet where the rows are various data points and the columns are months (for a 10 year span). Rows ~5-15 get some manual input data and projections each month, rows ~17-27 run some calculations on row 5-15 data. Below row ~30 I would like to build a chart that tracks the data points on the chart aligned with the column where the data comes from (IE May 2023 point on the X-Axis aligns with the May 2023 column of data). Is this possible to get it to align? For simplistic examples, it would be stuff like monthly revenue vs monthly cost on a line chart.

    I know I could do this statically by resizing the chart to line up the way I want, but a couple concerns there:
    1) Each month we will make a new copy of the sheet and drop off the first month in 10-year span and add a month to the back end
    2) construction co, so we have multiple projects which will each have their own identical tab in the workbook but whose data may span different time frames (one project might be may 23-aug 23, one could be June 24-Oct 28, etc) so every chart would need to be specially sized. It would also need to be re-sized if the project lengthened shortened
    3) I don't think you can freeze-pane the axis labels, so as you scrolled right you would lose the y-axis if you were in the middle of a 50 cell-wide chart

    Is something like this possible? Eventually I hope to get something a bit more sophisticated with some data visualization going for this task, but for now we need to start somewhere.

    Thanks,

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Auto Align a chart's x axis with the columns of data it represents?

    I've done this before in a static environment. However, I think I can take a shot at it. I will need a sample workbook with 4 sheets: data for project 1, data for project 2 (make them different time frames) and mock ups for each of the charts you'd like to see.
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

+ 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: 1
    Last Post: 08-30-2022, 09:02 AM
  2. [SOLVED] How to align chart axis to certain values in chart
    By sy898661 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 02-24-2020, 06:12 PM
  3. Need uregnt help to align gridelines with axis values in bubble chart
    By Dubai2017 in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 04-20-2017, 02:51 AM
  4. Align 2-axis chart automatically
    By gruberm in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-04-2012, 12:12 PM
  5. Replies: 0
    Last Post: 07-02-2012, 01:45 PM
  6. [SOLVED] Align Clustered Column Chart Category Axis Labels
    By Stephanie in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-07-2005, 11:06 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