jdaugherty
New Member
- Joined
- Apr 5, 2014
- Messages
- 1
I'm working on this workbook in Excel 2010. Each Monday I run a query of a backlog that is hundreds of rows long. Many of the rows are the same from week to week but there are always new rows and occasionally one of the old rows will be removed. Ideally, I would like to be able keep one main backlog worksheet. I would then copy and paste the new query into the same workbook and run a macro or VBA or formulas to compare the main backlog worksheet with the new backlog worksheet. It would add any new backlog rows and remove the backlog rows that no longer appear.
Each backlog has 8 columns. 1st column has the date of the backlog (with many similar dates), column 2 has a case # (which may be repeated several times), column 3 has a number from 1 - 15 (which may be repeated several times), column 4 has a letter (which may be repeated several times), column 5 has a location (which may be repeated), column 6 has a name (which may be repeated several times), column 7 has a storage code (which may be repeated), and column 8 has identifying information. Each row is unique but not each column.[TABLE="width: 744"]
<colgroup><col width="93" span="8" style="width:70pt"></colgroup><tbody>[TR]
[TD="class: xl63, align: right"][/TD]
[TD][/TD]
[TD="align: right"][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] [/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 500"]
<tbody>[TR]
[TD]1[/TD]
[TD]case#[/TD]
[TD]Code[/TD]
[TD]Type[/TD]
[TD]Loc[/TD]
[TD]Name[/TD]
[TD]Stocode[/TD]
[TD]ID[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1/10/2013[/TD]
[TD]100356[/TD]
[TD]2[/TD]
[TD]E[/TD]
[TD]Downtown[/TD]
[TD]Bob[/TD]
[TD]2E[/TD]
[TD]Marks on ground[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1/10/2013[/TD]
[TD]100356[/TD]
[TD]2[/TD]
[TD]E[/TD]
[TD]Downtown[/TD]
[TD]Bob[/TD]
[TD]2E[/TD]
[TD]Striated Marks[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2/12/2012[/TD]
[TD]100158[/TD]
[TD]2[/TD]
[TD]A[/TD]
[TD]Millburg[/TD]
[TD]Jen[/TD]
[TD]3rd Flr[/TD]
[TD]Brown box[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Each backlog has 8 columns. 1st column has the date of the backlog (with many similar dates), column 2 has a case # (which may be repeated several times), column 3 has a number from 1 - 15 (which may be repeated several times), column 4 has a letter (which may be repeated several times), column 5 has a location (which may be repeated), column 6 has a name (which may be repeated several times), column 7 has a storage code (which may be repeated), and column 8 has identifying information. Each row is unique but not each column.[TABLE="width: 744"]
<colgroup><col width="93" span="8" style="width:70pt"></colgroup><tbody>[TR]
[TD="class: xl63, align: right"][/TD]
[TD][/TD]
[TD="align: right"][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] [/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 500"]
<tbody>[TR]
[TD]1[/TD]
[TD]case#[/TD]
[TD]Code[/TD]
[TD]Type[/TD]
[TD]Loc[/TD]
[TD]Name[/TD]
[TD]Stocode[/TD]
[TD]ID[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1/10/2013[/TD]
[TD]100356[/TD]
[TD]2[/TD]
[TD]E[/TD]
[TD]Downtown[/TD]
[TD]Bob[/TD]
[TD]2E[/TD]
[TD]Marks on ground[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1/10/2013[/TD]
[TD]100356[/TD]
[TD]2[/TD]
[TD]E[/TD]
[TD]Downtown[/TD]
[TD]Bob[/TD]
[TD]2E[/TD]
[TD]Striated Marks[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2/12/2012[/TD]
[TD]100158[/TD]
[TD]2[/TD]
[TD]A[/TD]
[TD]Millburg[/TD]
[TD]Jen[/TD]
[TD]3rd Flr[/TD]
[TD]Brown box[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]