حساب وظائف MINIFS وMAXIFS في Excel 2016

سيناريوهات الاستخدام المحتملة

يدعم Microsoft Excel 2016 وظائف MINIFS وMAXIFS. هذه الوظائف غير مدعومة في Excel 2013 أو الإصدارات الأقدم. تدعم Aspose.Cells أيضًا حساب هذه الوظائف. يوضح اللقطة الشاشة التالية استخدام هذه الوظائف. يرجى قراءة التعليقات الحمراء داخل اللقطة الشاشة لمعرفة كيف تعمل هذه الوظائف.

todo:image_alt_text

حساب وظائف MINIFS و MAXIFS في Excel 2016

يحمل الرمز النموذجي التالي ملف إكسل عينة ويستدعي الطريقة Workbook.calculateFormula() لأداء حساب الصيغة عبر Aspose.Cells ومن ثم يحفظ النتائج في PDF الناتج.

الكود المثالي

// 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);