Aug 13 2017 09:28 AM
Setting up a spreadsheet, have columns with formulas that will automatically pop in specific numbers. I can't get those columns to give me total (sum). What am I doing wrong. Been too long since I've set up a spreadsheet. I attached an example with just one column. I want the total to show for the ELEC/HEAT column.
Aug 13 2017 10:14 AM
Peg,
you formula in H2 results in text. And text is ignored by SUM().
=IF(B2="DEPOSIT",30,"")
Aug 13 2017 05:33 PM
Aug 13 2017 08:03 PM
Peg,
I suggest you read my last posting again and again and again ...
Aug 13 2017 08:34 PM
Hi Peg,
your formula in H5 being =IF(B5="DEPOSIT","$30.00", " ") shows 30 as text, because it is encircled with quotation marks. This is why your sum formula at the bottom cannot pick up 30 (bacause it thinks that it is a text). If you remove the quotation marks and the dollar sign, the sum formula at the bottom will work. Please replace the formula in the H5 cell with "=IF(B5="DEPOSIT",30, " "), with is the same as Detlef correctly mentioned, and copy it accross to the entire column to make it consistent.
Please see attached the adjusted file
Hope this helps