+ Reply to Thread
Results 1 to 2 of 2

Shifting x-values in chart

  1. #1
    Registered User
    Join Date
    08-28-2008
    Location
    Canada
    Posts
    1

    Shifting x-values in chart

    Hello, I have a line graph, and I am trying to shift it to the left by 5 units. For example, consider the following data set:

    x: 5, 6, 7, 8, 9
    y: 30, 54, 65, 79, 21

    would become:

    x: 0, 1, 2, 3, 4
    y: 30, 54, 65, 79, 21

    I know I can do this by modifying the source data in the spreadsheet, but I'd rather do this in the options of the chart. For example, is it possible to use formulas in the "Source Data" dialog box to shift the x values to the left by 5?

    Thanks.

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436
    Not within the chart. Charts just plot the data provided.

    The simplest thing would be to use another set of cells where you change the values via formula.

    Or if you don't want to use cells you could use a named formula. See attached.
    Attached Files Attached Files
    Cheers
    Andy
    www.andypope.info

+ 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. Chart to ignore zero values - can it be done
    By nigelog in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-27-2008, 10:18 AM
  2. creating a percentage chart based on values
    By dan_77 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 02-27-2008, 10:28 PM
  3. Adding % values to a bar chart
    By jghutch in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 02-09-2007, 03:02 PM
  4. Going insane!
    By kik in forum Excel - New Users/Basics
    Replies: 10
    Last Post: 01-31-2007, 08:21 AM
  5. values in a chart that shouldn't be there
    By brassmonkey in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 11-11-2006, 08:50 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