Forum Discussion

Peg Kavanagh's avatar
Peg Kavanagh
Copper Contributor
Aug 13, 2017

sum Function

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.

5 Replies

  • Detlef_Lewin's avatar
    Detlef_Lewin
    Silver Contributor

    Peg,

     

    you formula in H2 results in text. And text is ignored by SUM().

    =IF(B2="DEPOSIT",30,"")
    • Peg Kavanagh's avatar
      Peg Kavanagh
      Copper Contributor
      So does that mean I can't I can't get a total of the column? Is there a way to do it?
      • Detlef_Lewin's avatar
        Detlef_Lewin
        Silver Contributor

        Peg,

         

        I suggest you read my last posting again and again and again ...