The following question, after receiving -2 votes, pushed over the question-ban threshold:
What is the best way to resize one Excel table based on another?
I have a workbook with a number of sheets that, at the top left, have a table loaded via Power Query. They have other tables, further to the right and non-adjacent, that cannot be computed via Power Query but that perform calculations on the first table, and ideally, to reduce calculation overhead, should have the same size as the first table. (Currently, they're drug down way below the table they refer to, which works, but is dreadfully inefficient.)
To give an example, say the Query table is at A1:M100. The calculation table would be at Z1:AD100. Let's say the query gets refreshed, and ten rows get added. I then want my other table to occupy Z1:AD110.
How can I best accomplish this?
Are there drawbacks into merging the query/calculations into one table, specifically if other columns were added to the query? Is there a setting where the number of rows in my calculations table can be dynamically adjusted (this would be ideal)?
If not, I know I can use VBA to trigger the update, perhaps tied to a button that updates the query, but I'm looking for a non-VBA solution, if practicable.
The calculations are such that I don't think spill arrays (which I know how to do) are feasible.
Thanks!
I'm looking for suggestions from more experienced users here on how to improve this question (which I have since deleted) so that it will be well-received and I can re-post it. I would greatly appreciate assistance that would apply to questions in general, and to this one in particular. Just to be clear, I'm not looking for an answer to the question here. I want to know how I can improve it and, eventually, undelete it and have it received well.
The one comment, from a user with over 10x my rep, said "I downvoted because there is no logic in the question at all." While I respectfully disagree, I also appreciate that the comment's author genuinely believed my post seemed illogical and not well thought out. And I also understand that sometimes things make sense in my head but, when I try to spell them out, the sense gets lost.
It seems on topic, it's not opinion based, though I suppose the title could make it seem opinion-based. It asks a specific question (actually a couple questions, maybe I should address that).
I'm not looking for an answer to my question and and I'm not asking to be un-banned. I'm not looking for anyone to rewrite my question for free either. I just want suggestions on how my question and others I might post like it could be improved to the point that they would be well-received.
I edited and reposted the question at https://stackoverflow.com/questions/79713917/excel-vba-trigger-macro-when-power-query-table-is-refreshed.