Share via

Chart updates inconsistently when dynamic array resizes

Lz365 38,186 Reputation points Volunteer Moderator
2026-01-29T07:12:52.7366667+00:00

Hi

  • Excel 365 v2601 b19628.20132 Current Channel / Windows 11 25H2
  • Sample file avail. here
  • Question already posted here on Jan 22, 2026

In B6 below an array that dynamically resizes according to the 'START Year' & 'TOPN Cat' variables. The Chart is setup as follow:

  • Select an empty cell > Insert 2-D Line chart
  • Right-click > Select Data… > Chart data range > Select the Serie names & Values (C6:G12)
  • Click Edit under Horizontal (Category) Axis Labels > Select the range with the Years (B7:B12)

1_BeforeChanging_TOPN

Check of the Chart data range:

2_BeforeChanging_TOPN_Range

Changing 'START Year' works no problem: the Chart data range & Horizonal Axis Label range are properly updated

Changing 'TOPN Cat' (the array resizes horizontally) screws up the chart:

3_AfterChanging_TOPN_4

The Chart data range is properly updated but the Series & Axis Label ranges don't update accordingly

Q: Am I doing something wrong, facing a limitation or is this something else?

Thanks & any question let me know
Lz.

Microsoft 365 and Office | Excel | For home | Windows
{count} votes

2 answers

Sort by: Most helpful
  1. Lz365 38,186 Reputation points Volunteer Moderator
    2026-02-10T18:59:49.72+00:00

    Things have evolved with Version 2602 - Build 19725.20014 => Revised this thread title (was: Chart from dynamic array challenge). This post on TechCommunity has a zipped file with:

    • 26-02-07_SAMPLE_YearAsDate: [Year] converted as Date + <false blank> replaced with 0
    • 26-02-07_SAMPLE_YearAsText: [Year] converted as Text + <false blank> replaced with 0
    • 26-02-10_TESTS_ChartDynArray (tests conducted by someone else)

    2026-02-10 Reported a problem at MSFT

    0 comments No comments

  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.