Reformatting/restructuring/filtering data in existing Excel file and appending/editing to a designated format of another existing excel file - excel

I have a Excel report that I want it to be reformatted, restructured, and filtered into a specific Excel format.
The original Excel report shows repetition of 2 columns per 11 rows like the example below:
row1 : var1 |var2|var3 |(Empty)|var5|var6|var7|var8 |var9|(Empty)|var11|
row2 : (Empty)|var2|(Empty)|var4 |var5|var6|var7|(Empty)|var9|var10 |var11|
I have a designated list of row1:var1 variables and first I need to filter the other data out.
Next I need to filter out the data that I need, which is row1:var1, row2:var2, row1:var7, row2:var10, row1:var11. Then I need to use these data and create them into a row and compare and fix the existing excel file with the designated format according to row1:var1 variable.
For example, if "john" is a common person in both of the excel files(as in row1:var1) but if "john" in my Excel file have different properties(as in all the cell data I need except for row1:var1), I would like to update those properties with the properties of the reporting Excel file.
I have no clue where to start and I would greatly appreciate it if someone can help me out, even a little guidance.
Thank you ahead of the response.

Related

How to filter and merge data from multiple sheets using excel

I have an excel file with 3 sheets. File can be downloaded from here
sample sheet looks like below
From all the 3 sheets, I would like to copy only rows with criteria Product = X and put it in one final sheet.
3 sheet names are sheet1,sheet2,sheet3. Is there any formula that you can help me with?
I am unable to attach a sample excel file in stack overflow.
Currently am doing this manually. Can you help?
You could use a power query (connection only) to get the data from each of the 3 sheets, then do a union (append) power query of those 3 connection only sources into a new query and return the data to a table on another sheet.
Get the combine/append query here
Clarification: you might want to turn your source data into tables first, which could be helpful if the range changes

How to clear the content in excel?

In Excel i have Multiple rows of values more than 5000 unique
I want to clear the content of the table Name by keeping only one record
Would you please help me in getting this sorted in excel
Please refer the image

Convert excel 1 column to multiple csv column

I have question
There are excel data like this
input file
More than 500 person
I wanna convert data to csv
expected csv result
The data age is not 100% the second row, some may be third row. Name can be duplicate data.
I’m really confused. Can i use excel feature to do this or any way like coding?
I upload file : https://ufile.io/rxe1l
Add name, age, add etc as column in excel and export as .csv.
In your Excel workbook, switch to the File tab, and then click Save As. Alternatively, you can press F12 to open the same Save As dialog.
In the Save as type box, choose to save your Excel file as CSV (Comma delimited).
Please simply follow this link conversation excel into csv

Update excel from access shuffles rows

We have an access 2003 database and an excel 2003. We connected the excel to import the data from the access, so far so good.
At the end of the imported data right to the next 3 fields of the excel we want to add some comments, text.
Up to here all work fine, but when we update the data to excel the rows shuffle and the comments at the right columns remain at the same row. So the data rows shuffle and the comment rows remain at the same position.
So if row 3 has at the right the comment 3, when we update the worksheet to retrieve the new data from access it replaces row 3 with data from another row but the comment remains at row 3.
Is there a way for the excel to keep the imported data to the same position and not shuffling it?
We tried all the options at excel "What to do when new lines of data are available" but all do the same, it shuffles the data when we update, even if access has no new data.
Thank you in advance.
I think you will find that when you imported data from Access, Excel created/named a range called 'database' or 'data' or something like that. You need to expand that definition to include the added columns.

Different results exporting to CSV or Excel

I have a simple report that I want to export to a CSV file. There is only the detail line that is grouped by one field, no group header, and a group footer for totals. The problem is when I export to CSV format, the total row for a group is listed in front of every record?
If I export to Excel and then save as a CSV file, the total row is where it belongs. However one field is spread across 3 columns then those columns are "merged and centered" which adds two commas in the middle of the line. And one column is added at the beginning of the record and two at the end of the record, for 3 more extra commas.
It would be easy enough to write a macro to "clean up" the spread sheet and export as a csv file for my end users. However corporate "insecurity" will not allow the end users to have macros.
Any help, suggestions, pointers to where else to look greatly appreciated.
cheers
bob
The CSV generated by any standard reporting tool does a flat data structure and hence would repeat all data set.
The XLS generated by the reproting tools are typically to be opened in the XLS and its XLS default behaviour to put additional commas for every merged cell.
The best way is to create a report with a layout that has equal data length columns even for the header, ie while formatting the report do not put the header in the center with larger lenght, bold and italics etc, put it as the first column and match the lenght with the data in the detail record.
This way you would be able to create a report that does not look presentable in XLS but would give you required data in the CSV

Resources