![]() |
TEXT function to format a date in English & French
I have cells formatted with TEXT and the format_text "mmmm yyyy".
Unfortunately this does not work in Europe as they expect (say in France) "mmmm aaaa". Is there any way around this to use TEXT in more than 1 language? |
Hi
the only solution I have for this: - create an empty sheet which stores some language dependent information (you can hide this) - e.g. in row 2 enter the different date formats per language (with row 1 as heading row for the language name) - in X1 enter the current language name (maybe use a VBA function to determine the current language setting automatically) Now create a formula such as: =TEXT(A1,HLOOKUP('language_sheet'!X1,'language_she et'!A1:F20,2,0)) "IanC" wrote: I have cells formatted with TEXT and the format_text "mmmm yyyy". Unfortunately this does not work in Europe as they expect (say in France) "mmmm aaaa". Is there any way around this to use TEXT in more than 1 language? |
Absolutely brilliant. Thank you.
"Frank Kabel" wrote: Hi the only solution I have for this: - create an empty sheet which stores some language dependent information (you can hide this) - e.g. in row 2 enter the different date formats per language (with row 1 as heading row for the language name) - in X1 enter the current language name (maybe use a VBA function to determine the current language setting automatically) Now create a formula such as: =TEXT(A1,HLOOKUP('language_sheet'!X1,'language_she et'!A1:F20,2,0)) "IanC" wrote: I have cells formatted with TEXT and the format_text "mmmm yyyy". Unfortunately this does not work in Europe as they expect (say in France) "mmmm aaaa". Is there any way around this to use TEXT in more than 1 language? |
All times are GMT +1. The time now is 07:07 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com