حساب وظائف 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); |