+ Reply to Thread
Results 1 to 4 of 4

Problem with month format

  1. #1
    Forum Contributor
    Join Date
    02-23-2015
    Location
    Sweden
    MS-Off Ver
    2013
    Posts
    109

    Problem with month format

    Hello guys

    I got like 2000 cells that have this format:
    2015-07-29

    my code make the result to:

    07-29

    the problem is..

    in my cell it says then "29 jul"

    Please Login or Register  to view this content.

    Could someone help me?

    Thank you in advance

  2. #2
    Forum Expert
    Join Date
    02-22-2013
    Location
    London, UK
    MS-Off Ver
    Office 365
    Posts
    1,218

    Re: Problem with month format

    if you want the result as a text string, one way is to add the prefix '

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    02-23-2015
    Location
    Sweden
    MS-Off Ver
    2013
    Posts
    109

    Re: Problem with month format

    Quote Originally Posted by berlan View Post
    if you want the result as a text string, one way is to add the prefix '

    Please Login or Register  to view this content.
    Well I actually dont want that prefix.

    I actually solved by:


    Please Login or Register  to view this content.
    cheers
    Last edited by elmnas; 08-17-2015 at 07:30 AM.

  4. #4
    Forum Expert
    Join Date
    02-22-2013
    Location
    London, UK
    MS-Off Ver
    Office 365
    Posts
    1,218

    Re: Problem with month format

    Do you want it as a text string, otherwise change the number formatting?
    Please Login or Register  to view this content.
    without changing the content.

    or,
    Please Login or Register  to view this content.
    changing the number formatting to recognize it as text. and fyi, a prefix character wouldn't the change the effect when comparing to other data, as you can see with the example below:
    Please Login or Register  to view this content.
    Last edited by berlan; 08-17-2015 at 07:36 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] IF statement to read month format and place month name in next cell
    By david1987 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-05-2012, 11:41 AM
  2. Replies: 1
    Last Post: 11-22-2011, 08:11 AM
  3. Auto Format spreadsheet with various rows month to month
    By sratkins in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-05-2009, 01:07 AM
  4. day/month/year in incorrect format for date format
    By M&A_Jack in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 PM
  5. [SOLVED] day/month/year in incorrect format for date format
    By M&A_Jack in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 10:05 AM
  6. [SOLVED] day/month/year in incorrect format for date format
    By Peo Sjoblom in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-06-2005, 04:05 AM
  7. [SOLVED] how do i change the format for excel to day-month:as day-month.
    By swy in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-02-2005, 03:05 AM
  8. Date Format - converting number of month to name of month
    By Merlinwb in forum Excel - New Users/Basics
    Replies: 0
    Last Post: 04-12-2005, 11:55 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1