Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / May 2008

Tip: Looking for answers? Try searching our database.

formatting in different countries

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Libby - 10 May 2008 09:01 GMT
I've recently created a spreadsheet which contains a date formatted to show
as the day of the week by means of "dddd".
However this spreadsheet is to be used in Germany and France and I've
discovered that in order for the formatting to work, "dddd" has to be
replaced with "tttt" in Germany (for Tag) and "jjjj" in France (jour).

I'm quite surprised by this as I though that the formatting would have been
taken care of in Excel regardless of the country it was being opened.

Is this a problem anyone else has encountered and how did you get around it?

Libby
JP - 10 May 2008 20:09 GMT
I might be mistaken, but wouldn't the regional settings translate that
appropriately?

Does this help?
http://www.oaltd.co.uk/ExcelProgRef/Ch22/

--JP

> I've recently created a spreadsheet which contains a date formatted to show
> as the day of the week by means of "dddd".
[quoted text clipped - 8 lines]
>
> Libby
Libby - 11 May 2008 12:00 GMT
You'd have thought so, but apparently not. A spreadsheet with a date
formatted with a formula as text to "dddd" displays "dddd" in Germany unless
the dddd in the formula is changed to tttt.

> I might be mistaken, but wouldn't the regional settings translate that
> appropriately?
[quoted text clipped - 16 lines]
> >
> > Libby
Bob Phillips - 11 May 2008 15:03 GMT
Libby,

The way I do it is as follows:

- first, create a cell with my preferred date format, let's say Z1 on sheet
Control (it can be a hidden sheet)
- add a defined name (Insert>Name>Define...) of say myDateFormat, and a
RefersTo value of =GET.CELL(7,Control!$Z$1)

and then in your spreadsheet use =TEXT(NOW(),myDateFormat)

To be really flexible, you could create a number of cells with different
formats, all with different defined names, and use appropriately.

Signature

HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

> You'd have thought so, but apparently not. A spreadsheet with a date
> formatted with a formula as text to "dddd" displays "dddd" in Germany
[quoted text clipped - 24 lines]
>> >
>> > Libby
Rick Rothstein (MVP - VB) - 11 May 2008 21:27 GMT
I posted a version of this in your previous thread dealing with this
question (but I'm guessing you haven't checked back there yet)...

Try this variation (the "aaaa" returns the day name with the localized
spelling for the computer it is being run on)...

=TEXT(<<YourDate>>,"aaaa")

Also, instead of "aaaa", you can use "aaa" for the localized abbreviated day
name. You can also use these patterns when Custom Formatting a Cell.

Rick

> You'd have thought so, but apparently not. A spreadsheet with a date
> formatted with a formula as text to "dddd" displays "dddd" in Germany
[quoted text clipped - 24 lines]
>> >
>> > Libby
Rick Rothstein (MVP - VB) - 11 May 2008 21:41 GMT
Just to follow up on this issue... Harlan Grove has raised a question about
how this would work in French Excel since that version uses "a" for its year
patterns. Any French Excel users out there who can test it out for us?

Rick

>I posted a version of this in your previous thread dealing with this
>question (but I'm guessing you haven't checked back there yet)...
[quoted text clipped - 37 lines]
>>> >
>>> > Libby
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.