Forum Discussion

chewbaka's avatar
chewbaka
Copper Contributor
Aug 15, 2020
Solved

summing cells with $ sign

Hello,   I am having problems using the normal formula for adding.  (ex. =O3+G3 )  if I have $ signs in the mentioned cells.  Is there a walk around?   Thanks.
  • HansVogelaar's avatar
    Aug 15, 2020

    chewbaka 

    Ideally the cells should contain numbers such as 37 or 123.45, and their number format should be set to a currency format with $. That way, you can simply sum the values.

    But if the cells contain text values that start with $, you can use a formula like this:

     

    =SUBSTITUTE(G3,"$","")+SUBSTITUTE(O3,"$","")

     

    Format the cell with the formula as currency. Or if you prefer the result as a text value again:

     

     =TEXT(SUBSTITUTE(G3,"$","")+SUBSTITUTE(O3,"$",""),"$ #,##0.00")