+ Reply to Thread
Results 1 to 5 of 5

Month format to number and month

  1. #1
    Forum Contributor
    Join Date
    06-27-2014
    Location
    Margate, FL
    MS-Off Ver
    MS Office 2016
    Posts
    217

    Month format to number and month

    I have a column with dates and another column with a formula showing my date as Month (in this case Apr for April). I need my formula to show me the Apr with its month number like this "04-Apr" ... How do I do that? My formula looks like this so far...

    =MONTH(DATEVALUE(K15&1))
    Last edited by trosasco23; 07-21-2022 at 11:03 AM.

  2. #2
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,256

    Re: Month format to number and month

    Please Login or Register  to view this content.
    Try this formula
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,604

    Re: Month format to number and month

    If you have proper dates in column A then you could have this formula in B2:

    =TEXT(A2,"dd-mmm")

    Alternatively, you could just have:

    =A2

    in B2 and apply a custom format of:

    dd-mmm

    to the cell.

    Your dates in column A might be text values, so it would be a good idea to attach a sample Excel workbook, by following the guidelines in the yellow banner at the top of the screen.

    Hope this helps.

    Pete

  4. #4
    Forum Contributor
    Join Date
    06-27-2014
    Location
    Margate, FL
    MS-Off Ver
    MS Office 2016
    Posts
    217

    Re: Month format to number and month

    Thank you. That was perfect.

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,604

    Re: Month format to number and month

    Using the information that you have now added, you could try this:

    =TEXT(DATEVALUE(K15&1),"dd-mmm")

    Hope this helps.

    Pete

+ 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] Return Month-on-Month growth using current month-prior month/prior month per country
    By losincog in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-21-2020, 05:37 AM
  2. [SOLVED] Need to split 240 rows into an equal number, but that number may change month to month
    By taylorsm in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-17-2016, 04:15 PM
  3. Replies: 12
    Last Post: 02-08-2013, 02:26 PM
  4. [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
  5. Replies: 1
    Last Post: 11-22-2011, 08:11 AM
  6. 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
  7. 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