Excel - Chart Reference not valid

Hello there.  I have an interesting question and actually I am not sure that I can adequately describe the problem but I shall try.

I have a user and on one of the worksheets it is all Charts.  When right clicking the chart and choosing Source Data --> Series and then clicking in the Values field, I go to the worksheet that has the values and begin clicking, and ctrl clicking to select the data I want to use as values.  It will let me choose 6 cells and on the 7th cell it whites out everything I had chosen before, erases it so to speak.

On another chart we have 7 cells as values.

Does this sound familiar to anyone?

Thanks in advance.
LVL 1
nnaxorAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
bkpchs237Connect With a Mentor Commented:
nnaxor,

There is a limit to the number of characters that Excel will accept in the values area.  I don't recall off-hand what the exact number is, nor do I have a reference for you at the moment.  If you like, I could search for it.  Remember if you use cells from a different sheet, the sheet name is included in the values cell location on the source data tab.  That is why the program wipes out your data.

To get around this use named ranges.  To streamline it best, create the named range from the sheet that the chart is located.  Then you will have reduced the values area down to its smallest number of characters and still be able to place the data as desired onto your chart.

Hope this helps.
0
 
nnaxorAuthor Commented:
Thanks bkpchs237!

You pointed me in the right direction.  Turns out it is 255 characters - plus you gave me a workaround.  

You Rock!
0
All Courses

From novice to tech pro — start learning today.