=SUMPRODUCT(ROUND(A1:A10,0))
is also an array formula that will work, but you can
enter this normally (just <enter>
Nitpick.... Excel reserves the term "array formula" for only formulas
that are entered by pressing ctrl+shift+Enter. Excel does not make a
distinction between "array-entered" and "array formula"; the terms are
synonyms.
Some quotes from the Excel Help....
"You create array formulas in the same way that you create other
formulas, except you press CTRL+SHIFT+ENTER to enter the formula."
"When you enter an array formula, Microsoft Excel automatically
inserts the formula between { } (braces)."
-----
Since both SUM and SUMPRODUCT accept array arguments, it has never
been clear to me why SUM(ROUND(A1:A10,0)) must be array-entered,
whereas SUMPRODUCT(ROUND(A1:A10,0)).
Also, since both IF and ROUND do not accept array arguments, it has
never been clear to me why SUMPRODUCT(IF(A1:A10>0,A1:A10)) must be
array-entered to work as intended [1], whereas
SUMPRODUCT(ROUND(A1:A10,0)) does not.
And since both ROUND and N do not accept array arguments, it has never
been clear to me why SUM(ROUND(A1:A10,0)) works as intended [1] when
it is array-entered, but SUM(N(A1:A10)) does not. And why
SUMPRODUCT(ROUND(A1:A10,0)) works as intended [1] when array-entered
or entered normally, but SUMPRODUCT(N(A1:A10)) does not.