Advertisement
Guest User

Untitled

a guest
Feb 8th, 2016
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. {=IFERROR(INDEX(Sheet2!$A$2:$C$13,MATCH(1,(Sheet2!$A$2:$A$13=$A2)*(Sheet2!$C$2:$C$13=$D2),0),2),"FAIL")}
  2.  
  3. String formula = "AboveFormulaWithIterativeCell" // (without {} and =)
  4. String range = "XFC" + i; // i is iterative row number
  5. sheet.setArrayFormula(formula, CellRangeAddress.valueOf(range));
  6.  
  7. XSSFFormulaEvaluator.evaluateAllFormulaCells(wb);
  8.  
  9. String cellValue = c.getStringCellValue();
  10.  
  11. {=IF(TRUE,TRUE,FALSE)}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement