I have a spreadsheet that is used in both the UK and France, and I’m having problems dealing with the regional differences in presenting numbers and dates.
Specifically, I need to use the TEXT function to present some numbers and dates in particular formats.
For example, =TEXT(DATE(ReportYear,ReportPeriod,1),”yyyy-mm-“”01″”Thh:mm:ssZ”) (where ReportYear = 2009 and ReportPeriod = 9) returns the following:
– UK = 2009-09-01T00:00:00Z
– France = yyyy-09-01T00:00:00Z
As another example, =TEXT(CostImpact,”0.00″) (where CostImpact = -168.6470588) returns:
– UK = -168.65
– France = -1.69
In both examples, the UK result is correct. I presume the differences are due to:
1) “yyyy” not being recognised as a year format in France;
2) the French using a comma instead of a period to indicate the decimal part of the number.
I use a computer with UK regional settings, and if I open a spreadsheet created in France, I’ll initially see the incorrect results, until I refresh the cells, then I’ll see the correct results. For the date, I think I can just construct a formula to create the required string, but dealing with the number could be more tricky.
Any ideas? Thanks in advance for any responses!