• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

How to quickly expand dozens of charts across the workbook?

Xen

Member
Hello,
I have this workbook which contains six sheets with data where dates are from column B to column AE, then we have up to hounder rows of information for charts (sometimes new rows are inserted in between or in the end of existing ones). Then, it has few dozens of charts on different sheets, each having 3-6 series. As usually, people who made this workbook never heard about dynamic ranges. And updating all the series manually or defining and assigning names will take a lot of time from this point.

And logically, all I have to do is replace $AE with $AF across the workbook.
But how do I do that without wasting too much time on what is purely busywork?

I've attached sample workbook. Which is not even close to that nightmare workbook that I have in reality, but basic principle is the same.


I'm not good at VBA at all. at one point, I even tried to unpack xlsx and do a find and replace job, but then I saw that each chart has it's own xml file, which is still some manual work considering number of charts in workbook. And that manual work, as I can suppose, can be avoided somehow?
 

Attachments

Pls follow these steps..
  1. Convert your data range on Data Sheet to Table by pressing Ctrl+L
  2. Change the data range to =Table1[#All]
  3. Switch Row/column on chart
 
Hello,
Thank you for advice, unfortunately, I can't do that since I must keep data the way it is (primarly because of filters)
 
I know about dynamic ranges, I wrote that there are dozens of charts with 3-6 series each, and because of that I don't want to define each and every range (there are more than 100!). Workbook should have been done this way from the start (it wasn't me designing it), redesigning it now is a pain. Instead, I need something simple that will replace all the AE in series in AF.
 
Hm, I guess you guys are right after all, I'll do dynamic named ranges, at least I know that this will work for sure.
Thank you!
 
Back
Top