+ Reply to Thread
Results 1 to 4 of 4

Sparklines with dynamic (named) range not working

  1. #1
    Registered User
    Join Date
    03-20-2022
    Location
    Florida
    MS-Off Ver
    365
    Posts
    3

    Unhappy Sparklines with dynamic (named) range not working

    Hello,

    I'm trying to create a sparkline that references a single column of about 50 rows. Ideally, I'd like the x-axis to scale based on new data that are entered vertically.

    The data are going to be in B3:B52 (50 cells in all). Right now, there are only 20 datapoints entered as an example (B3:B26) and there are some blanks within that range, intentionally.

    -

    I've used the below formula in the name manager and set the sparkline's source to that named range, but it still produces a sparkline that is sourcing all the empty cells (B3:B52 instead of B3:B26) that don't have data in them just yet.
    Please Login or Register  to view this content.
    -

    Then, I tried the below formula, expecting that it would increase in height as more data were added. Instead, the offset range is still static (D3:D52 instead of D3:D26) and there's no sparkline shown in the target cell.
    Please Login or Register  to view this content.
    -

    Maybe the sparkline isn't showing because the named range is producing an error?

    The example workbook is attached. The first dataset is the more complex formula and the second dataset is the one that kind of works but doesn't scale the x-axis.
    Attached Files Attached Files
    Last edited by fexofenadine; 03-20-2022 at 01:30 AM.

  2. #2
    Registered User
    Join Date
    03-20-2022
    Location
    Florida
    MS-Off Ver
    365
    Posts
    3

    Re: Sparklines with dynamic (named) range not working

    Update:

    Seems I've found a solution by entering this formula in the name manager and setting the sparkline's source to it:
    Please Login or Register  to view this content.
    And the data are in C3:C52
    Last edited by fexofenadine; 03-20-2022 at 05:30 PM.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,829

    Re: Sparklines with dynamic (named) range not working

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  4. #4
    Registered User
    Join Date
    03-20-2022
    Location
    Florida
    MS-Off Ver
    365
    Posts
    3

    Re: Sparklines with dynamic (named) range not working

    Oops! I just marked it solved. Thank you.

+ 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. [SOLVED] dynamic cell range for sparklines
    By coffee_man in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-10-2023, 05:28 AM
  2. [SOLVED] Dynamic Named Range Not Working Quite Right
    By Tamarissa in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-20-2020, 05:44 PM
  3. [SOLVED] Dynamic Named Range for Graph Not Working
    By tylercruz in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 10-06-2017, 12:11 PM
  4. Replies: 0
    Last Post: 03-08-2016, 02:25 PM
  5. [SOLVED] Dynamic Named Range not working as expected
    By Leonthefixer in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 06-03-2015, 07:42 AM
  6. [SOLVED] Dynamic Sparklines
    By Salvucio in forum Excel General
    Replies: 8
    Last Post: 01-14-2015, 10:15 AM
  7. Named ranges-Should I use a dynamic named range
    By foseco in forum Excel General
    Replies: 4
    Last Post: 06-11-2009, 03:56 PM

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