Use GroupDocs.Comparison to analyze MS Excel spreadsheets
- Install package from Maven
- Instantiate the Comparer with the first XLSX spreadsheet as a parameter
- Include additional XLSX spreadsheets for comparison
- Enjoy comprehensive report
Use GroupDocs.Comparison to analyze MS Excel spreadsheets
// Check files from your hard drive for differences or similarities
// Create a Comparer object by specifying the initial file
try (Comparer comparer = new Comparer("main.xlsx")
{
// Include additional files to comparing
comparer.add("version1.xlsx");
comparer.add("version2.xlsx");
comparer.add("version3.xlsx");
// Get the report with the specified name as the result
final Path resultPath = comparer.compare("full_report.xlsx");
System.out.println("\nDocuments compared successfully.");
}
<dependencies>
<dependency>
<groupId>com.groupdocs</groupId>
<artifactId>groupdocs-comparison</artifactId>
<version>24.8</version>
</dependency>
</dependencies>
<repositories>
<repository>
<id>repository.groupdocs.com</id>
<name>GroupDocs Repository</name>
<url>https://repository.groupdocs.com/repo/</url>
</repository>
</repositories>
Download GroupDocs.Comparison for free or get a trial license for full access!
Explore documentation, code samples, and community support to enhance your experience.
The GroupDocs.Comparison Java library empowers users to monitor different versions of XLSX spreadsheets through detailed and precise reports that are easily composed.