+ Reply to Thread
Results 1 to 8 of 8

Excel date month help

  1. #1
    Registered User
    Join Date
    08-17-2013
    Location
    chicago
    MS-Off Ver
    Excel 2003
    Posts
    27

    Question Excel date month help

    Hi,

    I have a table that I have created and I have the following problem:

    In column 1, I put the date. Lets say 8/2/2013.
    In column 2, I want excel to display August if the date falls between August 1 to August 14, and display September if the date falls between August 15th to August 31st.

    I have tried everything from =if to =count if, however I just am stumped and I don't know what to do.

    If anyone has any ideas I would really appreciate your help.


    I have tried =IF(DAY(B4)<15,"mm/yy","LATE"), however it just displays "mm/yy" if the date I entered in B4 is less than 15th. AAHHH I don't know what to do (((((

  2. #2
    Valued Forum Contributor Miraun's Avatar
    Join Date
    04-03-2009
    Location
    New England
    MS-Off Ver
    2003, 2007, 2010, 2013
    Posts
    554

    Re: Excel date month help

    =IF(DAY(A1)<16,"September","August")
    ?
    Going for Guru! Click the Star to the bottom left of this post if I helped!

  3. #3
    Registered User
    Join Date
    08-17-2013
    Location
    chicago
    MS-Off Ver
    Excel 2003
    Posts
    27

    Re: Excel date month help

    Hi Miraun,
    Yes, however how do I have excel determine by itself which month it should display.

    =if(day(A1)<15,display the current month, if date is after 15th display next month)

    Thank you for the fast reply

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Excel date month help

    Try

    =TEXT(DATE(YEAR(A1),MONTH(A1)+(DAY(A1)>14),1),"mm/yy")

  5. #5
    Valued Forum Contributor Miraun's Avatar
    Join Date
    04-03-2009
    Location
    New England
    MS-Off Ver
    2003, 2007, 2010, 2013
    Posts
    554

    Re: Excel date month help

    Ohh... I didn't get that from your earlier question... I thought it was specific to August/September

    =TEXT(IF(DAY(A1)<15,MONTH(A1),MONTH(A1)+1)*30,"mmmm")

    Give that a shot... turns out the mmmm text format pulls the day... so multiply by 30 gives a consistent month measurement.

  6. #6
    Registered User
    Join Date
    08-17-2013
    Location
    chicago
    MS-Off Ver
    Excel 2003
    Posts
    27

    Re: Excel date month help

    THANK YOU SO MUCH!!!!!!

    This works perfectly, I really appreciate it, I was so confused.

  7. #7
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Excel date month help

    Also

    =TEXT(A1+IF(DAY(A1)>14,28,0),"mm/yy")

  8. #8
    Registered User
    Join Date
    08-17-2013
    Location
    chicago
    MS-Off Ver
    Excel 2003
    Posts
    27

    Re: Excel date month help

    What if I need it to do display as 1/1/13?

    as in if the first date is, for example, 1/5/13, in the next column because it is before the 15th of the month, I want it to automatically write 1/1/13??
    And if it is after the 15th, 1/15/13, I want it to show 2/1/13.

    The second column must show only 1, as in 1/1/13, 2/1/13, 3/1/13....etc

+ 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. Sort month/date/year data using month and date only
    By SMW820 in forum Excel General
    Replies: 8
    Last Post: 11-18-2014, 08:39 AM
  2. Array function for date(month), Range Date(month)
    By dluhut in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-19-2013, 05:14 PM
  3. [SOLVED] Excel month dropdown list to generate day of week and date for selected month
    By aaaaaaaa in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-17-2010, 02:45 PM
  4. Date arithmetic: adding 1 month to prior end of month date
    By manxman in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-14-2006, 04:35 PM
  5. [SOLVED] How does Excel add 1 month to a date?
    By [email protected] in forum Excel General
    Replies: 5
    Last Post: 06-29-2006, 01:40 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