+ Reply to Thread
Results 1 to 2 of 2

Graphs with different ranges (dynamic range graph)

  1. #1
    Registered User
    Join Date
    04-13-2004
    Posts
    28

    Graphs with different ranges (dynamic range graph)

    Hi guys,

    I've got a problem with a graph I'm trying to prepare. The data range isn't always the same number. EG sometimes I might have 11 rows to be graphed (see below) and other times it might be 3 rows.

    11 rows 3 rows

    BONDI ------------- PERTH
    HORNSBY ------------ ADELAIDE
    CHATSWOOD ------- SYDNEY
    ERINA
    TUGGERAH
    LAKE HAVEN
    BATEAU BAY
    MANLY
    WARRINGAH MALL
    CASTLE HILL
    CENTRAL SHORE ADMIN

    I've tried to do a graph for the entire range, but when I do that it will come up empty results if the whole range doesn't contain data. Is there any way I can code in VBA or through use of a formula to get the graph to chart only cells that have names in it ?

  2. #2
    Registered User
    Join Date
    03-17-2010
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Graphs with different ranges (dynamic range graph)

    Set the chart range to a named ranged (using name manager). In the name range use the OFFSET formula to select only the data which has values.

    Do let me know if you have any questions or problems. I have tried this many times.
    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the blue scales icon located in one of their post in this thread.

    Please consider the environment before printing this mail.

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