I need some help with a calculated column. My formula looks like this, and so far it is working.


But The data shown if Column1 = Sweden, contains a "-" in the middle, I want to remove this "-" from every entry that has Sweden in Column1.

I can't seem to figure this out, I've tried a lot of variations but it does not work for me.

1 Answer 1


If there is - in the middle of [Column2], you can use below formula:



  1. Sometimes comma(,) does not work in formula (I am not sure but it is based on something language or regional settings on your site). So in that case use semicolon(;) instead of comma(,).

Same formula with ; separator:


Update from comments:

Use below formula to show the empty calculated field if Column1 or Column2 is empty:

  • Hi again @Ganesh This formula is amazing, but it returns a "0" if Column1 or Column2 are empty. Is it possible to remove this "0" and just leave it empty?
    – Sweden
    Feb 3, 2021 at 9:44
  • Check updated answer for this. Feb 3, 2021 at 10:01
  • 1
    Brilliant, thank you very much!
    – Sweden
    Feb 3, 2021 at 10:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.