I have a spreadsheet that I have to modify manually to create a report couple of times a week. The process is time consuming but I believe it could be done faster if automated using my time effectively. On Sheet 1 the spreadsheet is from columns A – DO. These are the steps I take to create the report.
Note:The size of the data varies from 100s to sometimes 10,000. I’m sure this process could be accomplished with a Macro. I will input the Material numbers every time on sheet 2 before running the macro. Thanks in advance for your help. Attached is a sample of the spreadsheet.
- Delete Columns B – J. Note: Every time you delete, the subsequent columns move to the left
- Delete Columns F – BG
- Delete Columns G – AJ
- Delete Columns I – L
- Delete Columns R – V
- From columns G2 – Q fill in ALL blank cells with 0 in order for the V Lookup to work later on
- Create 2 new columns R and S and label them Sum1 & Sum respectively
- Sum up columns I through Q and put the answer in column R
- Copy the answers in column Sum1 from R2 all the way down to the last row and paste special value in column Sum from S2 all the way down
- Delete columns I - R
- On Sheet 2, a V Lookup of column A is done starting from A2. If the Material Number exist in column A of Sheet 1, copy the remainder of the data in that row from columns B – I till the last row. If no matching Material Number is found just populate cells B – I with “No Match”
Note:The size of the data varies from 100s to sometimes 10,000. I’m sure this process could be accomplished with a Macro. I will input the Material numbers every time on sheet 2 before running the macro. Thanks in advance for your help. Attached is a sample of the spreadsheet.