Try
=SUMPRODUCT(B18:B25*A18:A25)

this works for me too =sumif(B18:B25,true,A18:A25)
Hey, i'm very new to sheets and have probably an easy question but i can't find an answer trying to google it.
i have this sheet with specific value that i sum up in another cell, next to the numbers they each have their own checkbox to the right of the value.
Can i somehow only sum the total of the numbers, if they haven't been checked off yet?
Google Sheets SUMIFS not adding correctly with checkboxes - Google Docs Editors Community
Using SUMIF with a checkbox in Excel Online
google sheets - How to make Checkbox=TRUE if SUM of cells in its row are more than a specific value - Web Applications Stack Exchange
SUMIF with a checkbox
When a checkbox is checked, the value of the cell is TRUE, not CHECKED.
2.
The rownumbers of the ranges in 1 formula must be the same;
you used B8:B14 and H8:H13,
it must be: B8:B13 and H8:H13
or B8:B14 and H8:H14
- The solution of 'Snow Lu MSFT' is correct, but you also can use: =SUMIFS(B8:B14,H8:H14,TRUE)
Not sure why Snow suggests that this is a bug. You have simply mixed up the arguments. SUMIF takes the criteria_range first, then the criteria, then the sum_range. And then I recommend that you keep the dimensions of both the criteria_ range and the sum_range the same.
change your formula to:
=SUMIF(H8:H13, TRUE, B8:B13)
and it shall work.