ExcelTip.com
Account Icon Account Icon Account Icon
ExcelTip.com

Go Back   Excel Help Forum > Usenet Groups > Excel Charting

Notices

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 08-28-2008, 05:00 PM
Abed Alnaif Abed Alnaif is offline
Registered User
 
Join Date: 28 Aug 2008
Location: Canada
Posts: 1
Abed Alnaif is on a distinguished road
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.
Reply With Quote
  #2  
Old 08-29-2008, 05:40 AM
Andy Pope's Avatar
Andy Pope Andy Pope is online now
Forum Moderator
 
Join Date: 10 May 2004
Location: Essex, UK
Posts: 2,303
Andy Pope will become famous soon enough Andy Pope will become famous soon enough
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
File Type: xls 654118.xls (23.0 KB, 2 views)
__________________
Cheers
Andy
Reply With Quote
Reply

Bookmarks

New topics in Excel Charting


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Chart to ignore zero values - can it be done nigelog Excel Programming 8 06-27-2008 11:18 AM
creating a percentage chart based on values dan_77 Excel Charting 1 02-27-2008 10:28 PM
Adding % values to a bar chart jghutch Excel Charting 1 02-09-2007 03:02 PM
Going insane! kik Excel - New Users 10 01-31-2007 08:21 AM
values in a chart that shouldn't be there brassmonkey Excel Charting 1 11-11-2006 08:50 PM


All times are GMT -4. The time now is 04:07 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0