+ Reply to Thread
Results 1 to 2 of 2

Dates

  1. #1
    justlearnin
    Guest

    Dates

    I have three cells on my worksheet that use dates. The dates that I use are
    the last day of the month. I want the first one to be inputed. The third one
    I want to be the same as the first, but the second to be the 15th of the
    month.

    date1 7/31/2006
    date2 7/15/2006
    date3 7/31/2006

    How can I do this since some months have 30 and some have 31?

  2. #2
    Forum Contributor
    Join Date
    10-14-2004
    Location
    San Diego, CA
    Posts
    213
    Justlearnin:

    Assuming cell A1 is your input date, place this formula in cell A2.

    =DATE(YEAR(A1),MONTH(A1),15)

    Place this formula in cell A3.

    =DATE(YEAR(A1),MONTH(A1)+1,1)-1


    Matt

+ 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