A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Charts and Charting
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Chart Source Data



 
 
Thread Tools Display Modes
  #1  
Old November 24th, 2009, 04:51 PM posted to microsoft.public.excel.charting
DanielC
external usenet poster
 
Posts: 2
Default Chart Source Data

Hi all. I am making some charts and need some help with the cells the chart
references as source data.

I am trying to make it so that I can insert and delete rows while having the
chart reference the original cell, rather then automatically updating and
following the cell when I add or remove rows. Basically trying to do the same
thing in the chart as I can do with a formula by using the "indirect" feature.

Is this possible with a chart? Having to go back in and manually change the
references back to the original cells is time consuming each week.
  #2  
Old November 24th, 2009, 08:53 PM posted to microsoft.public.excel.charting
Luke M
external usenet poster
 
Posts: 2,672
Default Chart Source Data

Goto Insert - Name - Define.

Define a named range with a formula similar to:
=INDIRECT("B24")
With the range in quotes referring to your source data.

Select your existing chart, and select the series. You should be able to see
a formula in the formula bar controlling the series, structure similar to:
=SERIES(Sheet1!Name,Sheet1!Labels,Sheet1!Values)

Replace the appropriate portion of formula with named range like so:
=SERIES(Sheet1!Name,Sheet1!Labels,Sheet1!MyNamedRa nge)
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"DanielC" wrote:

Hi all. I am making some charts and need some help with the cells the chart
references as source data.

I am trying to make it so that I can insert and delete rows while having the
chart reference the original cell, rather then automatically updating and
following the cell when I add or remove rows. Basically trying to do the same
thing in the chart as I can do with a formula by using the "indirect" feature.

Is this possible with a chart? Having to go back in and manually change the
references back to the original cells is time consuming each week.

  #3  
Old November 25th, 2009, 11:32 AM posted to microsoft.public.excel.charting
Andy Pope
external usenet poster
 
Posts: 2,088
Default Chart Source Data

Hi Luke,

Did you try this?
Charts and INDIRECT do not normal play together nicely. I get the following
error message.
"A formula in this worksheet contains one or more invalid references.
Verify that your formulas contain a valid path, workbook, range name, and
cell reference."

Same named formula is happy to work within spreadsheet cells.

Cheers
Andy

--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
"Luke M" wrote in message
...
Goto Insert - Name - Define.

Define a named range with a formula similar to:
=INDIRECT("B24")
With the range in quotes referring to your source data.

Select your existing chart, and select the series. You should be able to
see
a formula in the formula bar controlling the series, structure similar to:
=SERIES(Sheet1!Name,Sheet1!Labels,Sheet1!Values)

Replace the appropriate portion of formula with named range like so:
=SERIES(Sheet1!Name,Sheet1!Labels,Sheet1!MyNamedRa nge)
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"DanielC" wrote:

Hi all. I am making some charts and need some help with the cells the
chart
references as source data.

I am trying to make it so that I can insert and delete rows while having
the
chart reference the original cell, rather then automatically updating and
following the cell when I add or remove rows. Basically trying to do the
same
thing in the chart as I can do with a formula by using the "indirect"
feature.

Is this possible with a chart? Having to go back in and manually change
the
references back to the original cells is time consuming each week.


  #4  
Old November 25th, 2009, 01:48 PM posted to microsoft.public.excel.charting
Luke M
external usenet poster
 
Posts: 2,672
Default Chart Source Data

Andy,

Yes, I did try it. While you can't use the INDIRECT function directly within
the SERIES "formula" by using it in a named range, and then having the chart
callout the named range, it worked just fine for me. To clarify, I'm using
the same referencing techniques you would use to create a dynamic chart (in
this case, the result is the exact opposite, but same idea).

Let me know if you still have questions.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Andy Pope" wrote:

Hi Luke,

Did you try this?
Charts and INDIRECT do not normal play together nicely. I get the following
error message.
"A formula in this worksheet contains one or more invalid references.
Verify that your formulas contain a valid path, workbook, range name, and
cell reference."

Same named formula is happy to work within spreadsheet cells.

Cheers
Andy

--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
"Luke M" wrote in message
...
Goto Insert - Name - Define.

Define a named range with a formula similar to:
=INDIRECT("B24")
With the range in quotes referring to your source data.

Select your existing chart, and select the series. You should be able to
see
a formula in the formula bar controlling the series, structure similar to:
=SERIES(Sheet1!Name,Sheet1!Labels,Sheet1!Values)

Replace the appropriate portion of formula with named range like so:
=SERIES(Sheet1!Name,Sheet1!Labels,Sheet1!MyNamedRa nge)
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"DanielC" wrote:

Hi all. I am making some charts and need some help with the cells the
chart
references as source data.

I am trying to make it so that I can insert and delete rows while having
the
chart reference the original cell, rather then automatically updating and
following the cell when I add or remove rows. Basically trying to do the
same
thing in the chart as I can do with a formula by using the "indirect"
feature.

Is this possible with a chart? Having to go back in and manually change
the
references back to the original cells is time consuming each week.


.

  #5  
Old November 25th, 2009, 02:03 PM posted to microsoft.public.excel.charting
Luke M
external usenet poster
 
Posts: 2,672
Default Chart Source Data

Further investigation...

I believe the error that may be popping up is caused not by the use of
INDIRECT, but through the reference.

=INDIRECT("B24")

should be:
=INDIRECT("Sheet1!B24")
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Andy Pope" wrote:

Hi Luke,

Did you try this?
Charts and INDIRECT do not normal play together nicely. I get the following
error message.
"A formula in this worksheet contains one or more invalid references.
Verify that your formulas contain a valid path, workbook, range name, and
cell reference."

Same named formula is happy to work within spreadsheet cells.

Cheers
Andy

--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
"Luke M" wrote in message
...
Goto Insert - Name - Define.

Define a named range with a formula similar to:
=INDIRECT("B24")
With the range in quotes referring to your source data.

Select your existing chart, and select the series. You should be able to
see
a formula in the formula bar controlling the series, structure similar to:
=SERIES(Sheet1!Name,Sheet1!Labels,Sheet1!Values)

Replace the appropriate portion of formula with named range like so:
=SERIES(Sheet1!Name,Sheet1!Labels,Sheet1!MyNamedRa nge)
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"DanielC" wrote:

Hi all. I am making some charts and need some help with the cells the
chart
references as source data.

I am trying to make it so that I can insert and delete rows while having
the
chart reference the original cell, rather then automatically updating and
following the cell when I add or remove rows. Basically trying to do the
same
thing in the chart as I can do with a formula by using the "indirect"
feature.

Is this possible with a chart? Having to go back in and manually change
the
references back to the original cells is time consuming each week.


.

  #6  
Old November 25th, 2009, 02:30 PM posted to microsoft.public.excel.charting
Andy Pope
external usenet poster
 
Posts: 2,088
Default Chart Source Data

Thanks for the clarification.
The addition of the sheetname does indeed allow the indirect to work.

Cheers
Andy

--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
"Luke M" wrote in message
...
Further investigation...

I believe the error that may be popping up is caused not by the use of
INDIRECT, but through the reference.

=INDIRECT("B24")

should be:
=INDIRECT("Sheet1!B24")
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Andy Pope" wrote:

Hi Luke,

Did you try this?
Charts and INDIRECT do not normal play together nicely. I get the
following
error message.
"A formula in this worksheet contains one or more invalid references.
Verify that your formulas contain a valid path, workbook, range name, and
cell reference."

Same named formula is happy to work within spreadsheet cells.

Cheers
Andy

--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
"Luke M" wrote in message
...
Goto Insert - Name - Define.

Define a named range with a formula similar to:
=INDIRECT("B24")
With the range in quotes referring to your source data.

Select your existing chart, and select the series. You should be able
to
see
a formula in the formula bar controlling the series, structure similar
to:
=SERIES(Sheet1!Name,Sheet1!Labels,Sheet1!Values)

Replace the appropriate portion of formula with named range like so:
=SERIES(Sheet1!Name,Sheet1!Labels,Sheet1!MyNamedRa nge)
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"DanielC" wrote:

Hi all. I am making some charts and need some help with the cells the
chart
references as source data.

I am trying to make it so that I can insert and delete rows while
having
the
chart reference the original cell, rather then automatically updating
and
following the cell when I add or remove rows. Basically trying to do
the
same
thing in the chart as I can do with a formula by using the "indirect"
feature.

Is this possible with a chart? Having to go back in and manually
change
the
references back to the original cells is time consuming each week.


.


 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:49 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.