+ Reply to Thread
Results 1 to 8 of 8

Need Help: Need to Assign Text to Date Specific Month

  1. #1
    Registered User
    Join Date
    09-24-2012
    Location
    Ohio
    MS-Off Ver
    Excel 2010
    Posts
    18

    Need Help: Need to Assign Text to Date Specific Month

    Example:

    In Column A I have the following months,

    APR-2013
    MAY-2013
    JUN-2013
    JUL-2013
    AUG-2013
    SEP-2013
    OCT-2013
    NOV-2013
    DEC-2013
    JAN-2014
    FEB-2014
    MAR-2014

    In Column B I need to assign a text value "SUM" (if the month/yr is a Summer month) and/or "WIN" (if the month/yr is a Winter month).


    Any help would be appreciated.

    Thank you,
    Dorej
    Last edited by dooredge; 02-27-2013 at 04:00 PM. Reason: Solved

  2. #2
    Registered User
    Join Date
    12-16-2012
    Location
    Austin, TX
    MS-Off Ver
    Excel 2010 & 2007
    Posts
    66

    Re: Need Help: Need to Assign Text to Date Specific Month

    Is Column A already in a date format, or are those text entries?

    Also, which months are summer vs winter? Do you need Spring/Fall? If you define which months correspond to which seasons, then we can set up a reference table.

  3. #3
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Need Help: Need to Assign Text to Date Specific Month

    With your list in A1:A12

    This regular formula begins the list of season assignments
    B1: =LOOKUP(MONTH(EOMONTH(A1,1)),{1,4,7,10},{"WIN","SPR","SUM","FALL"})

    Copy that formula down through B12.

    Is that something you can work with?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  4. #4
    Registered User
    Join Date
    09-24-2012
    Location
    Ohio
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: Need Help: Need to Assign Text to Date Specific Month

    Hi,

    Column A must be in a date format.

    Summer Months are Apr13 through Oct13.

    Winter Months are Nov13 through Mar14.

    I do not need to designate spring/fall.

    Thanks!

  5. #5
    Registered User
    Join Date
    09-24-2012
    Location
    Ohio
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: Need Help: Need to Assign Text to Date Specific Month

    Had to run to a meeting, will let you know!

  6. #6
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: Need Help: Need to Assign Text to Date Specific Month

    Hi

    Assuming your data is in A1:A11

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Regards Kevin


    Merged Cells (They are the work of the devil!!!)

  7. #7
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Need Help: Need to Assign Text to Date Specific Month

    Try this regular formula:
    Please Login or Register  to view this content.
    Does that help?

  8. #8
    Registered User
    Join Date
    09-24-2012
    Location
    Ohio
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: Need Help: Need to Assign Text to Date Specific Month

    Quote Originally Posted by Kevin UK View Post
    Hi

    Assuming your data is in A1:A11

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Kevin,

    This is the exact solve I needed. Thanks!

    And thanks to you as well, Ron.


    Dorej

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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