Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Charting / September 2005

Tip: Looking for answers? Try searching our database.

Changing Sheets in chart

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
DBDEZYNE - 09 Sep 2005 01:19 GMT
I need to be able to change the sheet reference in a chart by selectin
a cell that has the sheet name. Each sheets data are in the same cells
I just need to reference different sheets. Example: if the curren
values are referenced by =Sheet1!$B$3:$B$8 then I need to be able t
change Sheet1 to Sheet 2 without changing the other data example
=Sheet2!$B$3:$b$8 or =Sheet5!$B$3:$b$
Andy Pope - 09 Sep 2005 21:33 GMT
Hi,

You can do this via named ranges.
If you changing reference is in cell A1 of sheet1 as text (notice no ='s
sign)

A1: Sheet2!$B$3:$b$8

Add a named range called ChtData
=INDIRECT(Sheet1!$A$1)

Now in the chart change the series data source to reference the named
range, I think =Sheet1!ChtData   should work.

Cheers
Andy

> I need to be able to change the sheet reference in a chart by selecting
> a cell that has the sheet name. Each sheets data are in the same cells.
> I just need to reference different sheets. Example: if the current
> values are referenced by =Sheet1!$B$3:$B$8 then I need to be able to
> change Sheet1 to Sheet 2 without changing the other data example:
> =Sheet2!$B$3:$b$8 or =Sheet5!$B$3:$b$8

Signature

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.