How to organize this excel page in proper rows and columns? - excel

I want to organize this sheet in proper rows and columns. can anyone suggest to me the steps to do it?

You can utilize Text to Column feature. It is in DATA tab under Data Tools section.
Or if you want to go with Excel formula then could use-
=DROP(REDUCE(0,A1:INDEX(A1:A50000,COUNTA(A1:A50000)),LAMBDA(a,b,VSTACK(a,TEXTSPLIT(b,"|")))),1)
Little bit simpler approach.
=DROP(REDUCE(0,TOCOL(A:A,1),LAMBDA(a,b,VSTACK(a,TEXTSPLIT(b,"|")))),1)

Related

Use table column header in VBA code for userform

I have built a table with a lot of columns. I would like to create a user form to show a majority of the information in the columns so I can hide the columns in the spreadsheet so there isn't so much to look at. A lot of columns can be overwhelming when looking at it. I know some of the most popular ways to write VBA so that data in the user form makes it into the table. However I noticed that if I ever needed to add a column I then have to edit the vba code to make sure the data still goes in the correct cells.
So my question is this. Is there a way to write the code using the table column headers so the code uses the header label as a point of reference instead of the column number?

Excel - Create an indented hierarchy list from a source data set

I'm trying to create an indented hierarchy list in Excel from a source data set.
The source data set has 3 levels (department, municipality and city).
I tried many different formula but honestly I cannot find the right system. Actually it's not even a matter of formula, what I'm missing here it's logic, honestly.
It would be easy to do it manually but since I have more 8000 rows it would be also pretty time consuming.
This is the format of the source data:
And this is what I'd like to achieve:
Any suggestion on how to proceed would be very appreciated.
Thanks,
Stefano
Create a pivot table with your categories in the row field and any
of them additionally as a data field.
Change the report layout to Outline form
Copy / Paste Values
I was able to accomplish this with a pivot table...

Restrict sorting to defined range for Excel

I need to distribute about 100 spreadsheets to different users, and get their feedback on each row.
I have say 120 columns by 2,000 rows, and that's 240,000 cells.
I want to lock down these 240,000 cells, so any sorting on the sheet does not happen unless the sorting is applied to the full 240,000 cells.... this is to prevent unexperienced users from selecting only a few columns or a few cells and apply the sorting, and corrupt the data. Anyone with best practice on this? I am afraid I will get fired if I do not find a solution... thanks to you all, gurus.
Embed a pivot table and use some slicers to automate the sorting. Link to the data on another sheet and then hide that sheet so the actual data cannot be directly accessed. If you have SharePoint, publish the workbook and just enable the one sheet with your "UI" on it by way of Browser Options in the backstage.

Excel Create Collapsible Indented Row Hierarchies

I would like to create indented collapsible row hierarchies in Excel for my spreadsheet.
I have used group function but that becomes hard to manage for me.
Here is an example of what I am trying to create:
https://www.youtube.com/watch?v=CBJY83PTiXs
A much easier way is to go to Data and select Group or Subtotal. Instant collapsible rows without messing with pivot tables or VBA.
Create a Pivot Table. It has these features and many more.
If you are dead-set on doing this yourself then you could add shapes to the worksheet and use VBA to hide and unhide rows and columns on clicking the shapes.

creating a series of MS Excel graphs with identical properties for a series of tables with different data but same data types

I have a series of table in Excel worksheets, all of them holds same data types, one table for one item, and how some values changed over time in each table column.
I want to create a excel graph/chart for each of this table, with same formatting, only the data should be different.
When I copy each from single graph to create many, the table link doesn't change and I have to do that manually, which is difficult because there are number of tables.
Is there any better solution? Thank you
The dirtiest solution is to simply use VBA to automate these changes.
I finally copied and pasted the same graphs for each table, undo the old links and linked each table separately. I was looking for a easier way than this because even this is difficult with number of tables increasing. Thank you.

Resources