My \"Chart data range\" is =\'sheet1\'!$A$1:$Z$10. I\'d like to make a VBA macro (or if anybody knows a formula I can use, but I couldn\'t figure one out) to in
Offset function dynamic range makes it possible.
Sample data

Steps
=OFFSET(Sheet1!$A$2,,,1,COUNTA(Sheet1!$A$2:$Z$2)) and give it a
name mobileRangeThis screen will come

Click on Edit under Legend Entries.(mobiles is selected)

mobileRange named range.