Dynamic range name based on value in another row

emmalc

New Member
Joined
May 13, 2023
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hello,

I am working on a template for charting data. I want to be able to use a dynamic named ranges for series data so the chart is dynamic and I don't need to manually update the series data everytime. Sample number is x axis and Average Weights is the y axis. I made the dynamic range names based on the batch number. It is dynamic and if i change the batch number in one of the columns the appropriate datapoints change on the dynamic chart but it is plotting all empty data even though I have hidden/empty cells set to gaps.

Is it something wrong with my named ranges or with the chart data? (included the name manager for reference)

the end goal is to then have a template so the data entry can be done by someone without excel knowledge but they will still get the chart that they need.

Thank you in advance for your help!

1683993871732.png
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Try putting this into your dynamic range
Book1.xlsm
ABCDEFGHIJKLMNOPQRST
1
2Batch1111112222333331
3Sample1234567891011121314152
4Min Weight2323232323232323232323232323233
5Max Weight272727272727272727272727272727
6Average Weights25.8425.8425.8825.9225.8725.9225.9725.8825.9425.9125.8825.8725.9225.9425.88
7
8
91
10Batch111111
11Sample123456
12Min Weight232323232323
13Max Weight272727272727
14Average Weights25.8425.8425.8825.9225.8725.92
15
Sheet4
Cell Formulas
RangeFormula
S2:S4S2=UNIQUE(TRANSPOSE(C2:Q2))
C10:H14C10=OFFSET($B$2,,MATCH(B9,$C$2:$Q$2,0),5,COUNTIF($C$2:$Q$2,B9))
Dynamic array formulas.
Cells with Data Validation
CellAllowCriteria
B9List=$S$2#
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,897
Messages
6,175,271
Members
452,628
Latest member
dd2

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top