MS Excel - pivot tables help needed
I have two versions of the same spreadsheet that contain about 95% the same information, but one of them will have new additions or alterations.
I believe that a Pivot Table is the quickest way to find these new entries but haven't got a clue where to start!
Anyone able to offer a step-by-step guide?
I believe that a Pivot Table is the quickest way to find these new entries but haven't got a clue where to start!
Anyone able to offer a step-by-step guide?
Is there a unique indentifier for each row?
If so, the quickest and easiest way is to copy and paste both into one worksheet, one after the other, Select All, then:
- Data
- Filter
- Advanced Filter
- OK if it gives an error
- Criteria range - select just the unique identifier field
- Tick 'Unique records only'
- Ok
- Select all, copy and paste into new sheet, then you have your merged sheets.
HTH
Chris
If so, the quickest and easiest way is to copy and paste both into one worksheet, one after the other, Select All, then:
- Data
- Filter
- Advanced Filter
- OK if it gives an error
- Criteria range - select just the unique identifier field
- Tick 'Unique records only'
- Ok
- Select all, copy and paste into new sheet, then you have your merged sheets.
HTH
Chris
Chris
Thanks for this but I don't think I've explained properly - the method above has given me 18,440 unique records from 38,693 lines in the combined sheet.
The first version has 19,184 lines, and the second has 19,510 lines - its the 326 new lines I'm wanting to identify.
Thanks for this but I don't think I've explained properly - the method above has given me 18,440 unique records from 38,693 lines in the combined sheet.
The first version has 19,184 lines, and the second has 19,510 lines - its the 326 new lines I'm wanting to identify.
Oh ok, sorry I thought it was so you could create a merged spreadsheet.
You can try it in vba? Something like:
Haven't put it in to test and it's been a wee while so worth trying on a duplicate file first(!).
Chris
You can try it in vba? Something like:
Code:
Dim a = "New Worksheet Name"
Dim b = "Old Worksheet Name"
Dim x = 1 //Column number for unique ID
With Worksheets(a)
for i = 0 to .Rows.Count
for j = 0 to Worksheets(b).Rows.Count
if Worksheets(b).Cells(j, x).Value = .Cells(i, x).Value then .Rows(i).Delete
end for
end for
end with
Chris
Thread
Thread Starter
Forum
Replies
Last Post
JoeyBoyden
Restorations, Rebuilds & Projects.
26
Jan 4, 2024 02:36 PM
borboyous
Cars for Sale
6
Aug 22, 2015 11:17 AM



