Hi Amanda,
We have created the sample at our side for the given formulas and attached here.And the inbuilt function, curly braces, multiple ranges are working correctly here.
These are all the Formulas working fine with my sample.
sheet.Range["K13"].Formula = "SUM(COUNTIF(INDIRECT({\"E1:E5\",\"E7:E10\"}), \">0\"))";
sheet .Range ["J13"].Formula ="SUM(COUNTIF(INDIRECT({\"E2:E13\"}), \">0\"))";
Please try the sample at your side and let us know if this helps you.
Please let us know if you require any further clarifications.
Note:
Dont leave any spaces between the characters because we are passing the formula as an string value it also takes the spaces between them.
Thanks,
Sridhar.S
F98556_a7979744.zip