Trying to compare multiple sheets with a variation of rows

Schwyl

New Member
Joined
Jan 25, 2014
Messages
30
Hey there everyone.

We have a directory that exists on multiple computers. We have a script that will get the file list for these directories. It puts them in the workbook in new sheets per computer.

We are trying to create something that will create a report showing what files aren't on the "Main" computer. Which ones are the newest dates among all the computers.

Data format

WorkBook.Sheet.MAIN

Full nameFile NameDate
\directory\user\folder\file1file1MM/DD/YYYY
\directory\user\folder\file2file2MM/DD/YYYY
\directory\user\folder\file3file3MM/DD/YYYY
\directory\user\folder\file4file4MM/DD/YYYY

<tbody>
</tbody>

WorkBook.Sheet.PC1

Full nameFile NameDate
\directory\user\folder\file1file1MM/DD/YYYY
\directory\user\folder\file2file2MM/DD/YYYY
\directory\user\folder\file3file3MM/DD/YYYY
\directory\user\folder\file4file4MM/DD/YYYY


<tbody>
</tbody>


WorkBook.Sheet.PC2

Full nameFile NameDate
\directory\user\folder\file1file1MM/DD/YYYY
\directory\user\folder\file2file2MM/DD/YYYY
\directory\user\folder\file5file5MM/DD/YYYY
\directory\user\folder\file6file6MM/DD/YYYY


<tbody>
</tbody>


Any guidance would be appreciated
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
I would set up a Dictionary and store the filename here with the date as item and the filename as key. Ten I can check for the existance of filename and if there and date is newer, then add the newer date (overwriting the old one.
Do this for all the files from all PCs.
Then you can printout (or compare in memory) the dictionary and compare with the master PC
 
Upvote 0

Forum statistics

Threads
1,213,546
Messages
6,114,255
Members
448,556
Latest member
peterhess2002

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