Calcolo delle funzioni MINIFS e MAXIFS di Excel 2016
Contents
[
Hide
]
Possibili scenari di utilizzo
Microsoft Excel 2016 supporta le funzioni MINIFS e MAXIFS. Queste funzioni non sono supportate in Excel 2013 o versioni precedenti. Aspose.Cells supporta anche il calcolo di queste funzioni. Lo screenshot seguente illustra l’utilizzo di queste funzioni. Si prega di leggere i commenti rossi all’interno dello screenshot per sapere come funzionano queste funzioni.
Calcolo delle funzioni MINIFS e MAXIFS di Excel 2016
Il codice di esempio seguente carica il filefile excel di esempio e chiama ilWorkbook.calculateFormula() per eseguire il calcolo della formula tramite Aspose.Cells e quindi salva i risultati nel fileuscita PDF.
Codice d’esempio
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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); |