+ Reply to Thread
Results 1 to 5 of 5

dates

  1. #1
    Registered User
    Join Date
    04-11-2007
    Posts
    2

    Question dates

    Assume the following: Cell A1 contains a month - 04; cell A2 contains a year - 2007, cell A3 contains a date - 04/09/1973, and cell A4 also contains a date - 08/09/2007. How do I make a date from the month in cell A1, the day in cell A3, and the year in cell A2 so that the end result is 04/09/2007? I need this so that I can then calculate the number of days between this date and the date in cell A4.

  2. #2
    Forum Contributor
    Join Date
    03-14-2006
    Location
    Pakistan
    Posts
    1,791

    Lightbulb

    Quote Originally Posted by Genny
    Assume the following: Cell A1 contains a month - 04; cell A2 contains a year - 2007, cell A3 contains a date - 04/09/1973, and cell A4 also contains a date - 08/09/2007. How do I make a date from the month in cell A1, the day in cell A3, and the year in cell A2 so that the end result is 04/09/2007? I need this so that I can then calculate the number of days between this date and the date in cell A4.
    try this

    =DATE(A2,A1,DAY(A3))

  3. #3
    Forum Expert
    Join Date
    01-12-2007
    Location
    New Jersey
    Posts
    2,127
    Try this formula and let me know if it works:

    =DATE(A2,A1,DAY(A3))

    EDIT: Starguy beat me to it

  4. #4
    Registered User
    Join Date
    04-11-2007
    Posts
    2

    Smile

    I tried it and it works beautifully!! Thank you both very much!!!!

  5. #5
    Forum Contributor
    Join Date
    03-14-2006
    Location
    Pakistan
    Posts
    1,791

    Lightbulb

    Quote Originally Posted by Genny
    I tried it and it works beautifully!! Thank you both very much!!!!
    you're welcome here and thank you for the feedback.

+ 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