Hello all,
I am hoping the brilliant minds here may have some suggestions on how to speed up or even rework a data format/transfer from one worksheet to another, all being contained in the same workbook. I am taking 2-column project punch lists from multiple users, each on its own worksheet and consolidating them into a formatted master copy. The length of each list varies depending upon the day. All the sheets are formatted the same. User Name is column A. Task is column B.
Right now, I have a hidden sheet that has formulas keeping the unformatted running list from all the sheets' data. From this formula driven list, I have a macro move this info with a command button to another range of cells (.value = .value) and format with blank rows between each user's punch list (running from the bottom up) and then move again (.value = .value) to the master. I can't move directly to the master sheet and then insert the blanks, but rather have to move the already formatted data because of data tracking formulas already in place on the master.
Basic flow:
User generated data on multiple sheets
>Hidden sheet consolidates punch lists
>>Macro transfers all data to empty cells, .value = .value
>>>Macro then inserts necessary blank lines from bottom of listing up
>>>>Macro then transfers formatted data to master sheet, .value = .value
Does it work? Yes. Really only take a 5-8 seconds on the longer punch lists
Is it pretty? No.
Are there some quirks to how the data has to be entered to run properly? Yup.(Can't have duplicate headings, otherwise the initial Index/match on the hidden sheet doesn't work correctly)
I am one of those people who will tweak something until it breaks just to learn how to fix it.
A couple aspects I'm looking at reworking:
-I think it might be best to do the initial consolidation with a macro running instead of a formula so that each heading doesn't have to be unique. Sometimes a simple heading ("Painting" or "Drywall") is all that is needed and very easily duplicated on multiple jobs, but would still need to be listed separately for multiple jobs. I've been using qualifiers to identify different users to facilitate the Index/Match and prevent this (User :: Task/Job).
-I just wasn't sure how to manipulate the data without having to transfer the info twice.
In essence, I would be looking at a macro that would run through sheet1 removing all excess blank lines except for one blank between User Names moving the data to the master, and then move on to sheet2, sheet3, etc.
Looking forward to some enlightenment. Thanks.
EDIT: attached sheet that hopefully helps
I am hoping the brilliant minds here may have some suggestions on how to speed up or even rework a data format/transfer from one worksheet to another, all being contained in the same workbook. I am taking 2-column project punch lists from multiple users, each on its own worksheet and consolidating them into a formatted master copy. The length of each list varies depending upon the day. All the sheets are formatted the same. User Name is column A. Task is column B.
Right now, I have a hidden sheet that has formulas keeping the unformatted running list from all the sheets' data. From this formula driven list, I have a macro move this info with a command button to another range of cells (.value = .value) and format with blank rows between each user's punch list (running from the bottom up) and then move again (.value = .value) to the master. I can't move directly to the master sheet and then insert the blanks, but rather have to move the already formatted data because of data tracking formulas already in place on the master.
Basic flow:
User generated data on multiple sheets
>Hidden sheet consolidates punch lists
>>Macro transfers all data to empty cells, .value = .value
>>>Macro then inserts necessary blank lines from bottom of listing up
>>>>Macro then transfers formatted data to master sheet, .value = .value
Does it work? Yes. Really only take a 5-8 seconds on the longer punch lists
Is it pretty? No.
Are there some quirks to how the data has to be entered to run properly? Yup.(Can't have duplicate headings, otherwise the initial Index/match on the hidden sheet doesn't work correctly)
I am one of those people who will tweak something until it breaks just to learn how to fix it.
A couple aspects I'm looking at reworking:
-I think it might be best to do the initial consolidation with a macro running instead of a formula so that each heading doesn't have to be unique. Sometimes a simple heading ("Painting" or "Drywall") is all that is needed and very easily duplicated on multiple jobs, but would still need to be listed separately for multiple jobs. I've been using qualifiers to identify different users to facilitate the Index/Match and prevent this (User :: Task/Job).
-I just wasn't sure how to manipulate the data without having to transfer the info twice.
In essence, I would be looking at a macro that would run through sheet1 removing all excess blank lines except for one blank between User Names moving the data to the master, and then move on to sheet2, sheet3, etc.
Looking forward to some enlightenment. Thanks.
EDIT: attached sheet that hopefully helps
Attachments
Last edited: