xlbeginnerxl
New Member
- Joined
- Jul 16, 2013
- Messages
- 8
I have many excel workbooks, each with the same title. A1, A2...are blank
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[TD]H[/TD]
[TD]I[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][/TD]
[TD]Display Name
[/TD]
[TD]Employee ID[/TD]
[TD]Account Expiry Time[/TD]
[TD]Account Status[/TD]
[TD]Email[/TD]
[TD]Department[/TD]
[TD]Manager[/TD]
[TD]Comment[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD][/TD]
[TD]John Smith[/TD]
[TD]A12364[/TD]
[TD]29/03/2013 12:00:00 AM[/TD]
[TD]Enabled[/TD]
[TD]Johnsmith@abc.com[/TD]
[TD]HR[/TD]
[TD]Alex Brown[/TD]
[TD]Alex brown has requested extension till 15/04/2013[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD][/TD]
[TD]Sam Jones[/TD]
[TD]A25678[/TD]
[TD]01/04/2013 2:30:00 PM[/TD]
[TD]Enabled[/TD]
[TD]samjones@abc.com[/TD]
[TD]IT[/TD]
[TD]Paul
Hardy[/TD]
[TD]Extend till 15/06/2013[/TD]
[/TR]
</tbody>[/TABLE]
Every 15 days, a new workbook is generated with the above titles and it contains the list of temporary employees in the same format. Some of these temporary staff can have their contract extended and this would show up in the next workbook generated with new account expiry time. The ones that do not have extended account, get deleted. Employee ID is unique
What I would like to do is to compare the workbooks to the previous ones for consecutive months, and produce a report where staff, whose contract has been extended can appear under the same title and the ones that don't exist don't show up on the report.
Any help on this would be very much appreciated. I've tried Index and Match function but on the new report, I can only get it to return their ID not other fields.
As it's on different workbooks, what would be the best way to produce the report in excel? would I have to copy each sheet from the workbook to a new excel workbook and have a master worksheet for the report?
What I have done is copied the worksheets from different file and pasted them in one spreadsheet. in this new spreadsheet, i have created a new worksheet called report. Here what i'm trying to do is match column C to the column C from previous month and if the match is found, return the whole row for example A2, B2, C2,...and I2) could anyone please tell me how I can start and finish this.
Thank you very much.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[TD]H[/TD]
[TD]I[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][/TD]
[TD]Display Name
[/TD]
[TD]Employee ID[/TD]
[TD]Account Expiry Time[/TD]
[TD]Account Status[/TD]
[TD]Email[/TD]
[TD]Department[/TD]
[TD]Manager[/TD]
[TD]Comment[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD][/TD]
[TD]John Smith[/TD]
[TD]A12364[/TD]
[TD]29/03/2013 12:00:00 AM[/TD]
[TD]Enabled[/TD]
[TD]Johnsmith@abc.com[/TD]
[TD]HR[/TD]
[TD]Alex Brown[/TD]
[TD]Alex brown has requested extension till 15/04/2013[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD][/TD]
[TD]Sam Jones[/TD]
[TD]A25678[/TD]
[TD]01/04/2013 2:30:00 PM[/TD]
[TD]Enabled[/TD]
[TD]samjones@abc.com[/TD]
[TD]IT[/TD]
[TD]Paul
Hardy[/TD]
[TD]Extend till 15/06/2013[/TD]
[/TR]
</tbody>[/TABLE]
Every 15 days, a new workbook is generated with the above titles and it contains the list of temporary employees in the same format. Some of these temporary staff can have their contract extended and this would show up in the next workbook generated with new account expiry time. The ones that do not have extended account, get deleted. Employee ID is unique
What I would like to do is to compare the workbooks to the previous ones for consecutive months, and produce a report where staff, whose contract has been extended can appear under the same title and the ones that don't exist don't show up on the report.
Any help on this would be very much appreciated. I've tried Index and Match function but on the new report, I can only get it to return their ID not other fields.
As it's on different workbooks, what would be the best way to produce the report in excel? would I have to copy each sheet from the workbook to a new excel workbook and have a master worksheet for the report?
What I have done is copied the worksheets from different file and pasted them in one spreadsheet. in this new spreadsheet, i have created a new worksheet called report. Here what i'm trying to do is match column C to the column C from previous month and if the match is found, return the whole row for example A2, B2, C2,...and I2) could anyone please tell me how I can start and finish this.
Thank you very much.