Forum Discussion

Haytham Amairah's avatar
Haytham Amairah
Silver Contributor
Feb 05, 2017
Solved

How to add separator (comma) inside a formula?

How to separate the value of SUM by comma in this case?

 

 

 

 

 

  • Haytham, format the SUM as well, like ="Total: " & TEXT(SUM(D3:D12),"#,##0_ ;-#,##0 "). If I understood your question correctly...

17 Replies

  • azahaib's avatar
    azahaib
    Copper Contributor

    =LARGE(N6:N15,1)&" on first "&LARGE(N6:N15,2)&" on second "&LARGE(N6:N15,3)&" on third "

     

    Hi can we add separator commas in this formulae.?

     

    THanks

  • suresh_k8309's avatar
    suresh_k8309
    Copper Contributor

    Haytham Amairah please help me fix this formula 

    =("5% VAT ON AED")&ROUND(SUM(H36:H37),2) ( the output in the sum i need to add Coma like in accounting format) 

     

  • Heelllo's avatar
    Heelllo
    Copper Contributor

    I am trying to write a formula where I am using a cell and a rule. Below explains what i am trying to achieve

    A1 - $1,000

    =A1 &IF(A1<0,"CR",""

     

    The result i get from this is 1000CR. I cannot get it to format to $1,000CR if cell A1 is less than 0. PLEASE HELP

     

    • SergeiBaklan's avatar
      SergeiBaklan
      Diamond Contributor

      Heelllo , you may apply custom number format to your cell like

      [$$-en-US]#,##0;-[$$-en-US]#,##0"CR";[$$-en-US]#,##0

      or, if with formula, use

      TEXT(A1,"[$$-en-US]#,##0") & "CR"

      with IF

       

       

  • SergeiBaklan's avatar
    SergeiBaklan
    Diamond Contributor

    Haytham, format the SUM as well, like ="Total: " & TEXT(SUM(D3:D12),"#,##0_ ;-#,##0 "). If I understood your question correctly...