Yeah, you betcha - ...
 

MegaSack DRAW - This year's winner is user - rgwb
We will be in touch

[Closed] Yeah, you betcha - it's today's EXCEL masterclass tester !!

16 Posts
9 Users
0 Reactions
102 Views
Posts: 25879
Full Member
Topic starter
 

- good afternoon numbercrunchers !

I wonder if anyone'd like to come for a visit to the dungeon of drudgery:

I have a spreadsheet with about 15 tabs. Each has a different dataset but in exactly the same layout and from each of those tables are drawn a series of charts.
When I'm editing the data I can select multiple tabs and do a sort of batch operation but I can't see a way of doing this with the charts (and they're "too complex" to make them autoextend, or so I'm told by the ghost of Bill Gates)

Anyone fancy a punt on this ?
Ta


 
Posted : 27/02/2017 3:22 pm
Posts: 0
Free Member
 

I'd be looking at macros I think. Or rethinking the approach.

Any reason that the 15 sets can't be combined, then a draw your graphs from that single set? Pivot Chart from that single table perhaps?


 
Posted : 27/02/2017 4:26 pm
Posts: 17303
Free Member
 

Just get a new job?


 
Posted : 27/02/2017 4:28 pm
Posts: 12591
Free Member
 

a new job where you don't get to use Excel - madness


 
Posted : 27/02/2017 4:34 pm
Posts: 25879
Full Member
Topic starter
 

Cheers all, didn't have my hopes up for an easy fix (not clever enough to write a macro and it's not a process I can record easily)

... so I've decided to take perchy's advice and become an exotic dancer

anyone know of an opening* ? (I have my own tassles)

* đŸ˜‰


 
Posted : 27/02/2017 7:50 pm
Posts: 2082
Full Member
 

are the charts visualising data from more than one of the tables?

Or have you just got 15 copies of the same set of charts, one set for each table?

Assuming you are using a recent version of Excel (2013 +) I'd consider powerpivot to combine data sources and then use a pivot chart to display the data

if its all individual tables then I'd create pivot charts for each set of data, they should auto refresh OK.

If the purpose of the spreadsheet is to share the visuals with a group of people then I'd also seriously look at PowerBI. Its free and the visualisation tools are excellent.


 
Posted : 27/02/2017 9:05 pm
Posts: 36
Free Member
 

charts reference data

so if data changes, charts change

when you say you "edit the data" do we assume you are changing the data using a "batch" process?

The question is then why doesnt the chart update automatically?

Unless of course the array of data being charted is changing...

in which case you need:

Dynamic chart named ranges.

And with that, Alice slipped back off down the rabbit hole and left a link on the thread...
http://www.criticaltosuccess.com/dynamic-charts-in-excel-resize-with-offset-function-named-ranges/


 
Posted : 27/02/2017 9:13 pm
Posts: 0
Full Member
 

I'm not sure what you mean by "autoextend" but Stoner's suggestion is probably the answer you're looking for.


 
Posted : 27/02/2017 9:30 pm
Posts: 25879
Full Member
Topic starter
 

Unless of course the array of data being charted is changing...
err, yeh, probably that. It's monthly updates to a chart that's plotting one complete year against a growing count for this year. Do you reckon that's doable ?

Oh, and

Now you can make your [b]chart’s[/b] dynamic by inserting the range names you have created into the formulas charts use to reference data
another baby unicorn dies on the grocer's altar đŸ˜¥


 
Posted : 27/02/2017 9:38 pm
Posts: 36
Free Member
 

notwithstanding the unicorn massacre, yes, you need to become a black belt in named ranges and sticking them into the graphing dialogue boxes correctly. It will do what you wish.

Your future looks horrible though, but I see a promotion on the horizon.


 
Posted : 27/02/2017 9:41 pm
Posts: 10330
Full Member
 

It sounds as though Stoner's suggestion is exactly what you want. You do need to read through the whole page at least once before it makes sense but it is very clever

...adds to bag of Excel tricks


 
Posted : 27/02/2017 9:42 pm
Posts: 25879
Full Member
Topic starter
 

Assuming you are using a recent version of Excel (2013 +) I'd consider powerpivot to combine data sources and then use a pivot chart to display the data
I looked into some of dat shit but our work pcs are so woefully underpowered and the dataset so big that I've had to separate the report data into a separate spreadsheet from the working dataset. I don't think I can reference one from the other without opening both, which leads to a hanging machine.

There MUST be better ways to run this stuff but I just don't have the time to invest in sorting it out - it's really a peripheral part of my job that ought to be done by someone else. I'm totally self-taught and assume I have multiple bad habits


 
Posted : 27/02/2017 9:43 pm
Posts: 36
Free Member
 

There MUST be better ways to run this stuff but I just don't have the time to invest in sorting it out - it's really a peripheral part of my job that ought to be done by someone else. I'm totally self-taught and assume I have multiple bad habits

to be fair to Excel, it's actually pretty good at doing this. Its just a notch up from IF(A1="Porn", "Fluff", "Dont fluff")

And to be fair to me, I made a very* lucrative career out of being "totally self taught" and the one that everyone needs when they dont know who "ought" to be doing this stuff.

*no really, VERY.


 
Posted : 27/02/2017 9:47 pm
Posts: 25879
Full Member
Topic starter
 

Your future looks horrible though
you mean the dancing ? I'm hurt. Besides, with a bigger waistband there's more room for stuffing 20 quid notes

(if you mean the excel, no chance of promotion for that but at least my future will be brief; planning to be out [i]relatively[/i] soon)


 
Posted : 27/02/2017 9:56 pm
Posts: 36
Free Member
 

Id offer to help and invite you to send me a copy to do it for you, but what with the all the success, money and the fluffers etc, I dont even use Excel anymore and I cant do it in Google sheets.

It's a bit like George Best giving up the game, and only kicking a foam ball against the wall. Really well.


 
Posted : 27/02/2017 10:07 pm
Posts: 7090
Full Member
 

Don't use excel. Rewrite the logic in Python. You will thank me afterwards.


 
Posted : 27/02/2017 10:08 pm
Posts: 25879
Full Member
Topic starter
 

Id offer to help and invite you to send me a copy to do it for you, but what with the all the success, money and the fluffers etc, I dont even use Excel anymore and I cant do it in Google sheets.

Nah, part of the fun is doing it (largely) myself and, anyway, I'm playing had to get - they've had enough free overtime out of me just because I'm learning something slightly interesting

oldnpastit - one of my colleagues is trying to get me to use sql. There's minimal chance of that and zero of any pythonification, I suspect


 
Posted : 27/02/2017 10:17 pm