A column of quantities looks right, but the total at the bottom is too low or zero. The numbers are stored as text.
You can usually spot them. They are left-aligned instead of right-aligned, a small green triangle may sit in the corner of the cell, and SUM skips them. They arrive from exports, copied web tables and systems that store everything as text.
The formula fix is VALUE: =VALUE(A2). Two shorter forms do the same thing, because arithmetic forces conversion: =--A2 (a double negative) and =A2*1. Pick one and use it consistently, so the next person recognises it.
When the text uses separators that do not match your computer's settings, such as 1.250,50 from a European system, name the separators yourself with NUMBERVALUE: =NUMBERVALUE(D2, ".", ",") reads "." as the decimal point and "," as the thousands separator, whatever the regional settings.
Without formulas, there are two ribbon fixes. Select the cells and, if the green-triangle warning icon appears, open it and choose Convert to Number. Or select the column, go to Data > Text to Columns, and choose Finish straight away: Excel re-reads the cells and converts the ones that look like numbers.
Keep one thing in mind: a converted copy lives in a new column. If you want to replace the original, copy the new column and paste it back with Paste Special > Values. The Logic and text track practises this alongside TRIM and CLEAN.