+ Reply to Thread
Results 1 to 3 of 3

Month Function When Nested inside Text returns incorrect Month Serial Number

  1. #1
    Forum Contributor
    Join Date
    06-01-2014
    Location
    Riyadh, Saudi Arabia
    MS-Off Ver
    Microsoft 365
    Posts
    224

    Month Function When Nested inside Text returns incorrect Month Serial Number

    When I try to nest in the Month Function inside the Text Function as shown below, the formula gives me a Month Serial number of - 1

    Reference Date : 04/30/2018 (in Cell A1)

    Function:

    Text(Month(A1),"MM") = Result "01"

    Instead I am expecting the formula to give me - "04"

    Any help is appreciated !

  2. #2
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: Month Function When Nested inside Text returns incorrect Month Serial Number

    =text(a1,"mm")

  3. #3
    Forum Contributor
    Join Date
    06-01-2014
    Location
    Riyadh, Saudi Arabia
    MS-Off Ver
    Microsoft 365
    Posts
    224

    Re: Month Function When Nested inside Text returns incorrect Month Serial Number

    Thanks a lot. Logical it is.

+ 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. EDATE function comparing dates returns true for same number month
    By jrodertogo in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-04-2015, 04:19 AM
  2. Replies: 4
    Last Post: 06-30-2009, 02:40 AM
  3. [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
  4. [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
  5. Replies: 1
    Last Post: 02-04-2006, 12:19 PM
  6. Replies: 6
    Last Post: 01-09-2006, 04:55 AM
  7. =Month function in Excel gives incorrect month
    By jbmx in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 09-14-2005, 03:05 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