VBA for combining multiple worksheet with complete criteria into one worksheet

abhi.dube1

New Member
Joined
Jul 25, 2012
Messages
4
Hi,

I am learning VBA in excel so that few task could be done faster. I have a spread sheet for my team to enter their weekly plan. The spread sheet is shared so that any one can use the spread sheet at the same time in their individual worksheet.

At the end of week I would like to know summary of how many tasks are completed by my team and what would be plan for next week. Please see below example for each worksheet.

Project TitleDue dateWeekly TaskOwnerStatus
CRR - winder /shaft scenario30/04/2017Weekly Workshop for Bow-tie AnalysisADOn Track
SAP User Efficiency project30/06/2017Compare different product and develop business caseADOn Track
Reinduction31/03/20172017 re-inductionADOn Track
CV10 gearbox anti-rollback18/03/2017Options for pulley roll back stopADOn Track
NAC trial17/03/2017Functional Description of secondary crusherADOn Track
BRC Mechanical24/03/2017Monthly BRC meeting agendaADOn Track
DTI - CV13 notice24/03/2017Prepare feedback on CV013 noticeADOn Track

<tbody>
</tbody><colgroup><col><col><col><col><col></colgroup>

In the spread sheet, I have similar 8 worksheet with different name.

I would like to make VBA code for two summary spread sheet

1. Copy all the tasks which are assigned as "completed" in status column (column E) and prepare summary for all nine worksheet.
2. copy all the tasks which are assigned as "on track" or "behind" in status Column (column E) and prepare summary for all nine worksheet.

Please help me for VBA code

Thanks,
Abhishek
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
So you want two new sheets added to the workbook. Named Summar1 and Summart2.
These sheets would include all rows from all sheets that meet your criteria is this correct?
 
Upvote 0
The summary sheet named "last week completion" and "Next week plan" is already their. I want all rows from 4 worksheet name "Abhishek", Anthony", "eric", "Tony" that meet criteria.
 
Upvote 0
In your original post you did not name any sheets.
You said:
and prepare summary for all nine worksheet.
That would tell me all you have is nine worksheets

You never mentioned summary sheets were already created

Now in your last post you say:

I want all rows from 4 worksheet name "Abhishek", Anthony", "eric", "Tony" that meet criteria

It's hard helping you when you change your request.
And are you sure you have a sheet named "eric" and not "Eric"

Exact details are needed.
 
Upvote 0
Apologies for creating confusion. Please see below exact details.
I have following worksheet in my spread sheet.
- Abhishek
- Anthony
- Eric
- Tony
- List
- YTD completion
- Last week Completion
- Next week Plan
- Backlog Project.

Above are nine work sheets in my spread sheet, where team is using only 4 worksheet name "Abhishek", "Anthony", "Eric", "Tony".

The team worksheet has 5 columns where last column is for status.
1. I want to copy all the rows where status is "complete" into the worksheet of "last week completion"
2. Copy all the rows where status is "on track" or "behind" into the work sheet of "next week Plan"

The other worksheets such has "list" or "backlog" are just a record and I do not want to do VBA .

I hope this should clarify.
 
Upvote 0

Forum statistics

Threads
1,215,467
Messages
6,124,984
Members
449,201
Latest member
Lunzwe73

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top