+ Reply to Thread
Results 1 to 4 of 4

If then statement for date

  1. #1
    Forum Contributor
    Join Date
    01-28-2013
    Location
    Spencerport, NY
    MS-Off Ver
    Excel 2016
    Posts
    270

    If then statement for date

    Hello All
    Having a bit of a problem with creating an if/then formula
    In the attached example in column D I am looking to insert the month of the date on column A when it is populated with a date, and return a blank cell if there is no date in column A.
    Any help is appreciated as always
    Thanks in advance
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: If then statement for date

    =if(a3<>"",text(a3,"mmmm"),"")
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: If then statement for date

    Please try at D2

    =TEXT(A2,"MMMM;;")

  4. #4
    Forum Contributor
    Join Date
    01-28-2013
    Location
    Spencerport, NY
    MS-Off Ver
    Excel 2016
    Posts
    270

    Re: If then statement for date

    Thank you Bo Ry

+ 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: 10
    Last Post: 01-15-2017, 08:02 AM
  2. Replies: 1
    Last Post: 08-13-2015, 03:19 PM
  3. Replies: 2
    Last Post: 03-13-2015, 12:03 PM
  4. [SOLVED] If Statement with today's date minus due date for a delay calculation
    By RDFUC in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-26-2013, 02:58 PM
  5. [SOLVED] If statement to check if date falls between date range
    By mcranda in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-21-2013, 07:31 PM
  6. IF Statement to return value if a date is before another date
    By david1987 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-18-2012, 04:59 AM
  7. Replies: 8
    Last Post: 12-21-2007, 12:21 AM

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