+ Reply to Thread
Results 1 to 11 of 11

Thread: Create a chart with blank column & cells

  1. #1
    Forum Contributor
    Join Date
    08-22-2011
    Location
    Auckland
    MS-Off Ver
    Excel 2010
    Posts
    132

    Create a chart with blank column & cells

    Hello. I'm new to Excel (OOO Calc user) & am having trouble creating a dynamic chart. I've got the formula sorted. It's the chart. I want to create & format a chart, then leave it blank. I'm doing a spreadsheet for a friend who has Excel & as I've never used Excel before, it's proving to be a challenge.
    In Calc, you can do the above with no problem. Can you in Excel?
    I've attached a file with some sample cells filed in.
    Thanks
    Attached Files Attached Files
    Last edited by Philb1; 09-12-2011 at 06:34 AM. Reason: Solved

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    2003 & 2007 & 2010
    Posts
    11,349

    Re: Create a chart with blank column & cells

    It's not clear to me from your example file what the chart should look like, how the data would relate to a chart or what part of the data is dynamic.

    Here is some information on dynamic named ranges which can be used for charting.
    http://peltiertech.com/Excel/Charts/Dynamics.html

    If you want to have empty information as a starting point then maybe just using a Table linked to a chart will suffice.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Forum Contributor
    Join Date
    08-22-2011
    Location
    Auckland
    MS-Off Ver
    Excel 2010
    Posts
    132

    Re: Create a chart with blank column & cells

    Hello Andy. Thanks for the reply. I found out what the problem is. Just don't know how to fix it. I'm trying to create the chart from the cell results of formulas that refer to different sheets. If I create a chart from numbers entered in blank cells, it's ok. Do the same from results cells & you get one big column. When looking at the highlighting of the data selection, the data says one thing & the selection boxes say another. The data selection refers to the right sheet & cell references

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    2003 & 2007 & 2010
    Posts
    11,349

    Re: Create a chart with blank column & cells

    If the chart is not picking up the data as you expect then the data is probably not formatted in a way that will allow excel to auto detect. If the result of the formulas is text then excel will assume these are labels.

    As I said you attachment is not helping to clarify your problem, attempted solution or desired outcome.
    Cheers
    Andy
    www.andypope.info

  5. #5
    Forum Contributor
    Join Date
    08-22-2011
    Location
    Auckland
    MS-Off Ver
    Excel 2010
    Posts
    132

    Re: Create a chart with blank column & cells

    I've attached the same file but modified it to show the same results as I'm getting on the other workbook
    Thanks
    Attached Files Attached Files

  6. #6
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    2003 & 2007 & 2010
    Posts
    11,349

    Re: Create a chart with blank column & cells

    That's better.

    As I said excel is using the returned textual values as text.

    See revised formula and chart
    Attached Files Attached Files
    Cheers
    Andy
    www.andypope.info

  7. #7
    Forum Contributor
    Join Date
    08-22-2011
    Location
    Auckland
    MS-Off Ver
    Excel 2010
    Posts
    132

    Re: Create a chart with blank column & cells

    I've remembered what it is now. Excel doesn't like "" as a cell result. It wants #N/A
    Thanks for trying. It nudged me into remembering. Trouble is it looks *** ugly with #N/A all over the place. If you conditional format to get rid of the error, it shows when the area is highlighted for charting. Doesn't matter with the dynamic chart. It does for the other charts the user will be creating. Any ideas on that?
    Cheers

  8. #8
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    2003 & 2007 & 2010
    Posts
    11,349

    Re: Create a chart with blank column & cells

    I don't see the #N/A when the cells are selected once CF is applied.

    You can always create 2 tables. One for the chart the other for the user.
    Attached Files Attached Files
    Cheers
    Andy
    www.andypope.info

  9. #9
    Forum Contributor
    Join Date
    08-22-2011
    Location
    Auckland
    MS-Off Ver
    Excel 2010
    Posts
    132

    Re: Create a chart with blank column & cells

    Either way the data for the chart will be coming from another sheet. I've got all the sorting, date & indexing formulas hidden on a helper. I want to keep it all out of his sight. If he can see it, he'll want to play. What he doesn't know won't hurt him, if you know what I mean
    He'll have to put up with the N/A's.
    On the last file you sent, it shows the #N/A's when the area is selected. That's the bit I was trying to hide

  10. #10
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    2003 & 2007 & 2010
    Posts
    11,349

    Re: Create a chart with blank column & cells

    If you set the chart, via the Select Data dialog, to display hidden cells you can simply hide the cells.
    Cheers
    Andy
    www.andypope.info

  11. #11
    Forum Contributor
    Join Date
    08-22-2011
    Location
    Auckland
    MS-Off Ver
    Excel 2010
    Posts
    132

    Re: Create a chart with blank column & cells

    I had a play with that. It hides the empty cells on the chart, but doesn't stop the #N/A from showing when you highlight the cells before the chart is created.
    It's obviously something that's different in Excel & I've spent an eternity trying to overcome it lol. He'll have to put up with it
    Thanks for your help
    Cheers
    Phil

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.2.0