Berechnung der Excel 2016 MINIFS und MAXIFS Funktionen
Mögliche Verwendungsszenarien
Microsoft Excel 2016 unterstützt MINIFS- und MAXIFS-Funktionen. Diese Funktionen werden in Excel 2013 oder früheren Versionen nicht unterstützt. Aspose.Cells unterstützt ebenfalls die Berechnung dieser Funktionen. Der folgende Screenshot veranschaulicht die Verwendung dieser Funktionen. Bitte lesen Sie die roten Kommentare innerhalb des Screenshots, um zu erfahren, wie diese Funktionsweisen.
Berechnung der Excel 2016 MINIFS- und MAXIFS-Funktionen
Der folgende Beispielcode lädt die Beispiel Exceldatei und ruft die Methode Workbook.calculateFormula() auf, um die Formelberechnung über Aspose.Cells durchzuführen, und speichert dann die Ergebnisse im Ausgabepdf.
Beispielcode
// For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Java | |
// The path to the documents directory. | |
String dataDir = Utils.getSharedDataDir(CalculationofExcelMINIFSandMAXIFSfunctions.class) + "articles/"; | |
// Load your source workbook containing MINIFS and MAXIFS functions | |
Workbook wb = new Workbook(dataDir + "sample_MINIFS_MAXIFS.xlsx"); | |
// Perform Aspose.Cells formula calculation | |
wb.calculateFormula(); | |
// Save the calculations result in pdf format | |
PdfSaveOptions opts = new PdfSaveOptions(); | |
opts.setOnePagePerSheet(true); | |
wb.save(dataDir + "CalculationofExcel_out.pdf", opts); |