+ Reply to Thread
Results 1 to 6 of 6

Using name formulas as a series in pie graph

  1. #1
    Registered User
    Join Date
    03-08-2010
    Location
    Earth
    MS-Off Ver
    Excel 2003
    Posts
    3

    Using name formulas as a series in pie graph

    Howdy everyone. Apologies if this question is rudimentary--I've done a few searches and haven't found anything resembling the solution I'm after. Anyway...

    I'm using Excel 2003. I have several names which are actually formulas. Ex:
    Sheet1.xls!PercentA = SUM((C15+F15+I15)/(C18+F18+I18))
    Sheet1.xls!PercentB = SUM((C16+F16+I16)/(C18+F18+I18))
    Sheet1.xls!PercentC = SUM((C17+F17+I17)/(C18+F18+I18))
    When I throw these into cells using "=PercentA" they're fine by themselves but I would like not to have them in cells at all.

    I'd like the names to be part of a pie chart, but if I enter the series as:
    =Sheet1.xls!PercentA,Sheet1.xls!PercentB,Sheet1.xls!PercentC
    I get: "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."

    Any help getting this squared away would be greatly appreciated.

    Thank you!

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Using name formulas as a series in pie graph

    Hi gordian,

    you can't reference range names in data series that way. Put your range names into cells and chart off these cells. If need be, put the cells with the range names on a hidden sheet.

  3. #3
    Registered User
    Join Date
    03-08-2010
    Location
    Earth
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Using name formulas as a series in pie graph

    teylyn,

    Thank you for the response.

    I think perhaps my issue was not made clear, so I've attached a small example to illustrate my goal. Thank you again!
    Attached Files Attached Files

  4. #4
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Using name formulas as a series in pie graph

    see attached pie chart. You can not reference the data points for a chart from individual range names. You need to have the values in cells and create your pie chart off those cells. Of course, you can show the pie chart labels as percentages.

    As I said above, if you don't want the cells for the pie chart to show in this sheet, put them in another sheet.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    03-08-2010
    Location
    Earth
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Using name formulas as a series in pie graph

    Thank you again! One final question: How have you filled in your segments using custom colors? I don't see those colors available as fill anywhere...
    Last edited by gordian; 03-09-2010 at 08:18 PM.

  6. #6
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Using name formulas as a series in pie graph

    I'm using Excel 2010 and the new colors will be converted to the nearest equivalent when the file is opened with 2003.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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.6.0 RC 1