Next week I am going to travel to Europe and I wanted to have in a spreadsheet all my spendings, but as I will need to use both Euros and British Pounds, I need to have a way to set the currency used that time. I thought of using a dropdown list to select the currency, but I can't find a way to change the currency formatting of the amount cell based on the data entered in the list.
Can someone please help me make a script that can do this for me?
Best Answer
As requested this is one way to do it in google app scripts:
Personally I would rather just add a third helper column where I would put
=if(A3="EURO",text(B3,"[$£]#,##0.00"))
etc and have the column I type things in just be formatted as a regular number. Either way you are going to have to type or select the currency type, although if you had the keyboard to do it you could even just type in the currency symbol.