It is in fact possible to do rounding within a QUERY, but it needs to be done indirectly with a bit of maths. To do so, you have to exploit the (undocumented, I think) modulo operator (%). Replicating the answer given by player0:
=ArrayFormula(query(query(query({B:C,month(C:C&1)}, "select Col2, sum(Col1), Col3 where Col2 is not null group by Col2,Col3 order by Col3"),"select Col1,Col2,(Col2+100)-(Col2+100)%100"),"offset 1",0))
What we are doing here within the query is adding 100 to each amount, then from this subtracting (amount+100) modulo 100, which rounds the answer back down to the nearest hundred (achieving the same result as you requested). It should be possible to do account for other rounding scenarios by changing the addend and modulus accordingly.
Answer from The God of Biscuits on Stack OverflowUsing ceiling function within Google Sheets QUERY - Stack Overflow
Why is the Ceiling function messing with me... I feel like I'm on crazy pills.
Ceiling command in same cell.
=CEILING(E4*C4*0.0333+E4,0.5)More on reddit.com
Mass inserting "CEILING" function without increasing cells/numbers upon dragging?
like, =CEILING($B$2,2.5)? If not, can you give us some sample data.
Videos
It is in fact possible to do rounding within a QUERY, but it needs to be done indirectly with a bit of maths. To do so, you have to exploit the (undocumented, I think) modulo operator (%). Replicating the answer given by player0:
=ArrayFormula(query(query(query({B:C,month(C:C&1)}, "select Col2, sum(Col1), Col3 where Col2 is not null group by Col2,Col3 order by Col3"),"select Col1,Col2,(Col2+100)-(Col2+100)%100"),"offset 1",0))
What we are doing here within the query is adding 100 to each amount, then from this subtracting (amount+100) modulo 100, which rounds the answer back down to the nearest hundred (achieving the same result as you requested). It should be possible to do account for other rounding scenarios by changing the addend and modulus accordingly.
try:
=ARRAYFORMULA(SPLIT(REGEXREPLACE(FLATTEN(QUERY(TRANSPOSE({
QUERY({Expenses!B1:B, TEXT(MONTH(Expenses!C1:C&1), "00ร")&Expenses!C1:C},
"select Col2,sum(Col1) where Col1 is not null group by Col2 label sum(Col1)''", ),
ROUNDUP(QUERY({Expenses!B1:B, TEXT(MONTH(Expenses!C1:C&1), "00ร")&Expenses!C1:C},
"select sum(Col1) where Col1 is not null group by Col2 label sum(Col1)''", ), -2)}),,9^9)),
"(^\d+ร)", ), " "))

So I have a Google Sheet with the column specifically set to Number. I have the field set to Number.
No matter what I try to do with ceiling() it will not round up. Checked my formulas values and even tried a simple generic math expression:
Simple math expression: ceiling(35/2) as shown below:
Expresion: ceiling(35/2)This should return 18 not 17, correct? It did not, while the Row value is set to Number (see above) it returned the rounded down value below for every row:
Any help or guidance is appreciated even if it's to point out something reaaaalllly simple I am missing or doing. I will take my lumps as needed.