+ Reply to Thread
Results 1 to 6 of 6

Month number to Text formula

  1. #1
    Forum Contributor
    Join Date
    01-25-2021
    Location
    Atlanta, Georgia
    MS-Off Ver
    365
    Posts
    110

    Month number to Text formula

    I am racking my brains but can't figure out why the formula is not working for Aug thru Nov. I used Text(A2, "mmm"). Any ideas?
    Attached Files Attached Files

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    Excel 2010 on Linux - O365
    Posts
    12,576

    Re: Month number to Text formula

    Try =DATE(YEAR(TODAY()),Table1[@[Data.DOB (Month)]],1) pulled down and formatted as "mmm" or insert it in the TEXT function

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel (Windows 11 64-bit)
    Posts
    60,519

    Re: Month number to Text formula

    I hope this will explain why:

    AliGW on MS365 Insider (Windows) 32 bit
    A
    B
    C
    D
    E
    F
    1
    Data.DOB (Month)
    2
    7
    Jan
    07/01/1900
    Jul =TEXT(DATE(2021,Table1[@[Data.DOB (Month)]],1),"mmm")
    3
    8
    Jan
    08/01/1900
    Aug
    4
    9
    Jan
    09/01/1900
    Sep
    5
    10
    Jan
    10/01/1900
    Oct
    6
    11
    Jan
    11/01/1900
    Nov
    Sheet: Sheet1
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" to anyone who has offered you help in your thread. You can reward them by clicking on * Add Reputation below theur user name on the left, if you wish.


    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.

  4. #4
    Forum Contributor
    Join Date
    01-25-2021
    Location
    Atlanta, Georgia
    MS-Off Ver
    365
    Posts
    110

    Re: Month number to Text formula

    thanks....worked

  5. #5
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    Excel 2010 on Linux - O365
    Posts
    12,576

    Re: Month number to Text formula

    To add my two cents, to Excel 1 is 01/01/1900, so 7 is 07/01/1900 (d/m/y). the MONTH function will always return 1 for numbers up to 31, 2 from 32, to 60 , etc.. ( yes, XL made the mistake of thinking 1900 was a leap year)

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel (Windows 11 64-bit)
    Posts
    60,519

    Re: Month number to Text formula

    Thanks for the rep.

+ 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. Replies: 3
    Last Post: 07-02-2019, 08:55 AM
  2. [SOLVED] Month Function When Nested inside Text returns incorrect Month Serial Number
    By ibuhary in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-06-2018, 04:12 AM
  3. Formula to give week number of a month according to date of the month
    By tukae in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-08-2016, 11:14 PM
  4. Replies: 3
    Last Post: 09-25-2007, 10:26 AM
  5. [SOLVED] Function or formula to convert "text" month to number of month?
    By Steve Vincent in forum Excel General
    Replies: 1
    Last Post: 02-06-2006, 05:35 PM
  6. [SOLVED] RE: Function or formula to convert "text" month to number of month?
    By Kevin Vaughn in forum Excel General
    Replies: 0
    Last Post: 02-04-2006, 12:50 PM
  7. Replies: 1
    Last Post: 02-04-2006, 12:19 PM

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