+ Reply to Thread
Results 1 to 3 of 3

simple date function

  1. #1
    Registered User
    Join Date
    07-22-2004
    Posts
    89

    simple date function

    A1 contains a date, say 04/xx/13
    I need A2 to parse A1, and output, regardless of the value of xx, the first day of the same month, thus "04/01/13"

    thanks!

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

    Re: simple date function

    =a1-day(a1)+1

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

    Re: simple date function

    or
    =EOMONTH(A1,-1)+1
    or
    =DATE(YEAR(A1), MONTH(A1), 1)
    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

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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