Excel 2016 MINIFS および MAXIFS 関数の計算
Contents
[
Hide
]
考えられる使用シナリオ
Microsoft Excel 2016 は、MINIFS および MAXIFS 関数をサポートしています。これらの関数は、Excel 2013 以前のバージョンではサポートされていません。 Aspose.Cells は、これらの関数の計算もサポートしています。次のスクリーンショットは、これらの関数の使用法を示しています。これらの機能がどのように機能するかについては、スクリーンショット内の赤いコメントをお読みください。
Excel 2016 MINIFS および MAXIFS 関数の計算
次のサンプル コードは、サンプルエクセルファイルそして、Workbook.calculateFormula() メソッドを使用して、Aspose.Cells 経由で式の計算を実行し、結果を出力 PDF.
サンプルコード
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); |