+ Reply to Thread
Results 1 to 3 of 3

Indirect functions to decide the range of data in Graphs Excel 2007

  1. #1
    all4excel
    Guest

    Question

    Can we use the Indirect functions to decide the range of data in Graphs Excel 2007

    I would be having dynamic data, dynamic as in the Rows would change always if anything is entered in the Main Data sheet.

    Now based on this data in the Result sheet the graph should get formed..

    If I have 4 rows of data then there would only appear 4 slices in a Pie Chart, however if the data increases to 5 rows then it should dynamically take 5 rows of data and come up with 5 slices or more..

    [ = INDIRECT("'RESULT'!$B$2:$C$"& COUNT(C:C)+1) ]

    I want to use the above formula in which the COUNT(C:C) would decide the number of rows present as it contains mathematical data and can be counted easily.

    The range of the data should be dynamic for the Pie chart...

    Thanks in anticipation...

    Can we use the Indirect functions to decide the range of data in Graphs Excel 2007

    I would be having dynamic data, dynamic as in the Rows would change always if anything is entered in the Main Data sheet.

    Now based on this data in the Result sheet the graph should get formed..

    If I have 4 rows of data then there would only appear 4 slices in a Pie Chart, however if the data increases to 5 rows then it should dynamically take 5 rows of data and come up with 5 slices or more..

    [= INDIRECT("'RESULT'!$B$2:$C$"& COUNT(C:C)+1) ]

    I want to use the above formula in which the COUNT(C:C) would decide the number of rows present as it contains mathematical data and can be counted easily.

    The range of the data should be dynamic for the Pie chart...

    I want this to be solved using MS Excel and not VBA preferably..

    Thanks in anticipation...

    Please anyone someone ........help me or offer a solution...
    Attached Files Attached Files
    Last edited by all4excel; 02-01-2008 at 01:47 PM.

  2. #2
    Forum Contributor
    Join Date
    09-25-2004
    Posts
    269
    Hi All4excel,

    I tried to use non-volatile formulas because at times your workbook might be sluggish.


    I used this formula below to define your name range formula.


    =A!$C$2:INDEX(A!$C$2:$C$65536,MATCH(2,1/((A!$C$2:$C$65536<>""))))

    Hope it helps!
    Attached Files Attached Files

  3. #3
    all4excel
    Guest

    Smile Vane a humble request

    I am at home where i dont have Office 2007, so can u please resend the file in 97-2003..

    I will be on a leave for a few days so wont be able to check this solution at work untill then..

    I am sorry for this request, however i can t wait to see the solution...

    Thanks for the solution...

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Just download the excelviewer to convert

    http://www.microsoft.com/downloads/d...displaylang=EN

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  5. #5
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Here's the converted file

    VBA Noob
    Attached Files Attached Files

+ 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