+ Reply to Thread
Results 1 to 8 of 8

scrollable chart from table data

  1. #1
    Registered User
    Join Date
    11-29-2020
    Location
    india
    MS-Off Ver
    2021
    Posts
    92

    scrollable chart from table data

    in the excel i have data in sheet name data which is in table form ( i need it to be in table form), in graph sheet i haave the graph of this data , im trying to attach a scrollbar to the graph so that at a time it displays a certain data n n lets me scroll thru but i keep getting #ref error in the offset formula in sheet data in cell F1...i just cant figure out where i m going wrong...i m attaching the sheet for ref...pls help...thank u
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,612

    Re: scrollable chart from table data

    Named range for each category:
    range.books =OFFSET(Table1[[#Headers],[books]],Sheet2!$H$1,0,Sheet2!$H$2,1)
    Range.Date =OFFSET(Table1[[#Headers],[date]],Sheet2!$H$1,0,Sheet2!$H$2,1)
    Range.Pencils =OFFSET(Table1[[#Headers],[pencils]],Sheet2!$H$1,0,Sheet2!$H$2,1)
    Range.Pens =OFFSET(Table1[[#Headers],[pens]],Sheet2!$H$1,0,Sheet2!$H$2,1)

    Graph data:
    name:

    ="books"
    x vals:
    =dynatabgrah.xlsx!Range.Date

    y vals:
    =dynatabgrah.xlsx!range.books

    • I moved the start date selector to shee2, H1 via scrollbar.
    • books on secondary (scientific) axis
    • added variable row/day count in shee2, H2 via scrollbar.
    Attached Files Attached Files
    Last edited by protonLeah; 06-15-2023 at 11:13 PM.
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    11-29-2020
    Location
    india
    MS-Off Ver
    2021
    Posts
    92

    Re: scrollable chart from table data

    wow...thanx...this works exactly as i wanted !!!

  4. #4
    Registered User
    Join Date
    11-29-2020
    Location
    india
    MS-Off Ver
    2021
    Posts
    92

    Re: scrollable chart from table data

    just wondering...is it possible to link each graph line to a button like books to a button pencil to a different button so i can select which one i want to display .

  5. #5
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,612

    Re: scrollable chart from table data

    On sheet2(2) added three radiobuttons linked to A1
    Choose dynamic chart title in A2 based oh A1:
    Please Login or Register  to view this content.
    New dynamic range (ordinate) for series1 based on A1:
    Please Login or Register  to view this content.
    date range range.date2:
    Please Login or Register  to view this content.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    11-29-2020
    Location
    india
    MS-Off Ver
    2021
    Posts
    92

    Re: scrollable chart from table data

    my bad...wat i meant was if i wanted to turn off on multiple data on chart to do comparative study...by using radio buttons only 1 series gets turned on while i m hoping to get each one linked to separated button so which clicked either turn on or off the particular range from displaying....like say i want to do comparison of all 3 at a time or turn of maybe only book another and study pen vs pencils or turn of pencil n study pens vs books

  7. #7
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,612

    Re: scrollable chart from table data

    I replaced the radiobuttons with activeX checkboxes linked to A1:A3.
    I modified the named ranges for the categories to reflect the checkbox true/false condition: if true it returns the desired range, else zero. E.G., book2:
    Please Login or Register  to view this content.
    The chart title is assembled in D1 based on A1:A3,
    Please Login or Register  to view this content.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    11-29-2020
    Location
    india
    MS-Off Ver
    2021
    Posts
    92

    Re: scrollable chart from table data

    wow thank u so so much!!!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Scrollable table possible?
    By tml2424 in forum PowerPoint Formatting & General
    Replies: 0
    Last Post: 12-10-2021, 01:53 PM
  2. Scrollable line chart data
    By antmoss3 in forum Excel General
    Replies: 1
    Last Post: 08-03-2020, 08:02 AM
  3. Scrollable Data Validation in excel 2010
    By murray83 in forum Excel General
    Replies: 4
    Last Post: 03-24-2017, 09:04 AM
  4. [SOLVED] Add Filtering Option to Dynamic Scrollable Table
    By jeversf in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-16-2014, 07:53 AM
  5. [SOLVED] Creating a Scrollable Table/Pivot/Range within a sheet?
    By JungleJme in forum Excel General
    Replies: 1
    Last Post: 10-12-2012, 08:15 AM
  6. Replies: 1
    Last Post: 04-14-2010, 07:38 PM
  7. [SOLVED] Scrollable Frame
    By James W. in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-22-2005, 06:06 PM

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