I have this kind of data in excel sheet
I want to have this presented like this:
But dynamically. What do I mean with that?
Well if data change in first picture then data should be changed in second.
For example if I add another value entry for Client2 like this
Then the data in second table should be updated like this:
Is this something that is even possible with just using formulas or will I have to do some VBA programming to achieve this?
Use PivotTables to manage your data.
Related
It sounds very easy but I looked for this similar question, but looks like I didn't find suitable. Mostly are slightly different issues then mine..
I am receiving monthly one big Excel file, where I got different sheets, but only on one sheet I am having 3x different data ranges (not formatted tables). I am saying it again, ranges not tables, because some "smart" collogues decided just to overwrite file with new data but just to expand the range...so it stayed as range (it goes horizontal), and not table. For Power Query is needed table format I know..
So my issue is to somehow consolidate those ranges (3 of them) on that one sheet into one Query, but without disrupting the original Excel file, and of course to make it dynamic when I am getting new files.
I am comfortable with Power Query, but I didn't have similar things like this where you have more ranges that have to be cleaned, edited and appended into one query...Positive thing is, the column names are the same, just the content are different...
As you can see the data range is in so called "blocks" on data that are going horizontally...
This is basically something what I would like to have:
If question already exists please link!
Here is my test file to check it up:
https://docs.google.com/spreadsheets/d/1RDAoZqxKPk1NdhtcYec8nG_31PFwQ7Lj/edit?usp=sharing&ouid=101738555398870704584&rtpof=true&sd=true
I solved it by combining into 3x queries and then appended into one bigger table.
and, import From Folder is the best import, rather then direct from Excel Workbook, it gives me more space for adding the filter for instance "Date Created" so you can always have the newest on the top or whatever.
Thx anyways for some input of you guys.
I have a large imported .csv as a (Query) table in an Excel workbook. I'd like for users of the workbook to be able to select a small subset of that data and update some values without having to play around with filters on the table.
To that end, I've set up a FILTER on a separate sheet, something like:
=FILTER(my_table[some_column], my_table[id_column]="some value")
That pulls in values from the relevant column and displays them.
My question: is there any way to allow users to edit the values retrieved with the FILTER, so that the changes are reflected in the original table? Attempting to edit such a value now just edits the underlying field, causing the FILTER to update and display #SPILL! (which makes sense, since there is not enough free space to render the result).
I've looked at options for FILTER, and thought about writing some custom VBA code to do what FILTER does "manually", and then watch the sheet for updates in that range - but that seems like a lot of coding to do something I would imagine is more commonly needed?
Am I going to have to code this up in VBA? Or is there some alternative approach to using the FILTER?
I have a Bill of Materials that looks like this inside of it
But for various reasons my ERP will only allow me to export the BOM as an .xlsx that looks like this
Where each member item is tied to the member item above. These means when I make a pivot table and try to find the member items of just my product, it'll only give me Assembly 1 and 3 and then I have to do another pivot table to find 1 and 3 and so forth. Some of my BOM's are 6 levels deep and making a table for each sub assembly is not ideal. Anyone have any ideas of how to handle this? My thoughts are to use something like pandas and script it out, but I wasn't sure if there was a method inside Excel that I was missing that might cover this. My end goal is to recreate something like the first picture, although the nesting isn't necessary.
I would suggest to make a table as below in Ms Access.
Table
Then make a Query as below
query
You will get a result like this.
Query result
And copy this data and paste it into excel.
Make some rules in excel, and you will get the result you wanted to.
I have a named variable in Excel, which not on the workbook itself, which I want to pass to a power query function.
I have been trying to understand how to do so. The only things I found were making use of Excel Table objects.
What if it is not a range at all, just a value, string, whatever which is only stored on name manager?
Do I need to go and put in on the workbook and transform it into a table? I didn't want to have that table editable since I don't need that...
Or can I get access to Excel's Name Manager to fetch a (normal) variable there ?
Thanks !
(In this example, in VBA I would do something like: ThisWorkbook.Names("This_one").Value)
This, from Wyn Hopkins, looks like it might be relevant to your question.
I currently have a table in Excel that is structured like this:
I would like to have another sheet in my Excel workbook that only displays data from the last 6 months like this:
Is there a simple way to do this?
If my data was nicely structured, I might would be able to use the offset function as mentioned in this article, but I feel like there should be a simpler way to accomplish this.