Excel 2016のMINIFSおよびMAXIFS関数の計算
Contents
[
Hide
]
可能な使用シナリオ
Microsoft Excel 2016はMINIFSおよびMAXIFS関数をサポートしています。これらの関数はExcel 2013またはそれ以前のバージョンではサポートされていません。Aspose.Cellsもこれらの関数の計算をサポートしています。次のスクリーンショットではこれらの関数の使用例が示されています。これらの関数の動作について詳しく知るには、スクリーンショット内の赤いコメントを読んでください。
Excel 2016のMINIFSおよびMAXIFS関数の計算
次のサンプルコードは、サンプルExcelファイル を読み込み、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-.NET | |
// Load your source workbook containing MINIFS and MAXIFS functions | |
Workbook workbook = new Workbook(sourceDir + "sampleMINIFSAndMAXIFS.xlsx"); | |
// Perform Aspose.Cells formula calculation | |
workbook.CalculateFormula(); | |
// Save the calculations result in pdf format | |
PdfSaveOptions options = new PdfSaveOptions(); | |
options.OnePagePerSheet = true; | |
workbook.Save(outputDir + "outputMINIFSAndMAXIFS.pdf", options); |