Question about Source Data for charting...

Crafter Man

New Member
Joined
Jul 23, 2002
Messages
4
Let’s say I want to chart some simple X-Y data. The X values are between D6 and D14. The Y values are between E6 and E14.

To do this, I would enter the following into the “Source Data: Series” window:

X Values: =Sheet1!$D$6:$D$14
Y Values: =Sheet1!$E$6:$E$14

So far so good.

But let’s say I want to change the range. As an example, let’s say I want the X values to be between D7 and D13, and the Y values to be between E7 and E13. To do this I could manually enter the following into the “Source Data: Series” window:

X Values: =Sheet1!$D$7:$D$13
Y Values: =Sheet1!$E$7:$E$13

But I don’t want to do this. Is there a way I can automatically change the range using a function or formula from within the spreadsheet? In other words, how do I “get at” the source data:series limits using Excel functions or equations? Can I somehow “push” the range data into the chart program? Or is the opposite possible, i.e. is there a way the chart program can “pull” the range information from cells within the spreadsheet?

Thank you
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.

Forum statistics

Threads
1,214,924
Messages
6,122,294
Members
449,077
Latest member
Rkmenon

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top