+ Reply to Thread
Results 1 to 3 of 3

Getting an incorrect result when combining text() and month()

  1. #1
    Registered User
    Join Date
    09-25-2012
    Location
    San Antonio, Texas
    MS-Off Ver
    Excel 2003
    Posts
    21

    Getting an incorrect result when combining text() and month()

    Howdy,

    I'm trying to extract the full month name from cells that are in a "d"-"mmm" format by using the text() formula. The full formula I'm using is
    Please Login or Register  to view this content.
    But it always returns "January" regardless of the actual date. Any idea what I'm doing wrong?

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

    Re: Getting an incorrect result when combining text() and month()

    If E2 contains a date that is formatted to look like d-mmmm, then you can do this:

    =TEXT($E2,"mmmm")

    If it is a text value, then you can do this:

    =RIGHT($E2,LEN($E2)-FIND("-",$E2))

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    09-25-2012
    Location
    San Antonio, Texas
    MS-Off Ver
    Excel 2003
    Posts
    21

    Re: Getting an incorrect result when combining text() and month()

    Ah, first one definitely works. Much appreciated.

+ 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. isblank & vlookup formula returns #n/a result and incorrect result
    By helpmeplease333 in forum Excel General
    Replies: 5
    Last Post: 05-06-2012, 11:41 PM
  2. Changing a number result to a Month in text
    By OttGuy in forum Excel General
    Replies: 2
    Last Post: 07-18-2009, 11:44 AM
  3. [SOLVED] vlookup based on random result returns incorrect result
    By rickat in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-05-2005, 09:20 AM
  4. Median result used in formula gives incorrect result
    By vlatham in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-21-2005, 12:05 PM
  5. =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