LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default CELL("Format") function and Locale

Hi,
In cell B5 I have the contents of 01.03.2004 and the format is "MMMM JJJJ" (Germany settings), I would like to show a title of a column with the following text "YTD Rev März 2003 (GCIX)" but when a use opens the file a computer will UK settings the column should read "YTD Rev March 2003 (GCIX)" since I can't write the format directly into the formula because Excel want change the format, hence I'm trying to read the format of the cell using the cell information function but this only return D3 which is "mmm-jj" so how do I get Excel to use this format or even better the format of the cell.

="YTD Rev " & TEXT(EDATE(B5;-12);CELL("Format";B5)) & " (GCIX)"

returns

YTD Rev D3 (GCIX)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
TEXT(Cell1,"MMMM YYYY") to work in all locale. Jonathan Rynd Excel Programming 0 February 12th 04 06:33 PM
TEXT(Cell1,"MMMM YYYY") to work in all locale. Kevin McCartney[_2_] Excel Programming 1 February 12th 04 02:10 PM
TEXT(Cell1,"MMMM YYYY") to work in all locale. Kevin McCartney[_2_] Excel Programming 2 February 12th 04 01:36 PM
TEXT(Cell1,"MMMM YYYY") to work in all locale. Dianne Excel Programming 0 February 10th 04 04:28 PM
TEXT(Cell1,"MMMM YYYY") to work in all locale. arno Excel Programming 0 February 10th 04 07:35 AM


All times are GMT +1. The time now is 09:58 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"