Let’s say that in my cell A1 I have the amount 2’000. And I used the format so that it writes me $2000.
How could I write a formula that would write in B1: $
So only keep the currency in B1.
Because when I use =LEFT(A1;1), it will find “2” as the first value of the list (as the currency has been added changing the format of the cell)
Thank you very much in advance
You can test for the currency format like this:
=IF(LEFT(CELL("format",A1),1)="C","$","not currency")