+ Reply to Thread
Results 1 to 6 of 6

How do I add 120 days to a cell that contains date and time?

  1. #1
    Registered User
    Join Date
    07-15-2011
    Location
    uk
    MS-Off Ver
    Excel 2003
    Posts
    1

    How do I add 120 days to a cell that contains date and time?

    I have a single column of cells that contain both date and time. I need to add 120 days to the date, I'm actually not interested in the time, I just need to create a new column showing the date + 120 days.

    e.g
    mm/dd/yyy hh:mm AM/PM
    10/27/2011 07:10 AM

    Can someone suggest what formula I can use within a cell to add 120 days? I'm using Excel 2010.

    Thanks

  2. #2
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: How do I add 120 days to a cell that contains date and time?

    =INT(A1)+120

    Dom
    "May the fleas of a thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch..."

    Use code tags when posting your VBA code: [code] Your code here [/code]

    Remember, saying thanks only takes a second or two. Click the little star to give some Rep if you think an answer deserves it.

  3. #3
    Valued Forum Contributor
    Join Date
    10-13-2010
    Location
    Sunderland, England
    MS-Off Ver
    Excel 2007 (Home) / 2003 (Work)
    Posts
    740

    Re: How do I add 120 days to a cell that contains date and time?

    =date(mid(j25,7,4),left(j25,2),mid(j25,4,2))+120
    ?

  4. #4
    Spammer
    Join Date
    01-26-2010
    Location
    Worcester MA
    MS-Off Ver
    Excel 2003
    Posts
    184

    Re: How do I add 120 days to a cell that contains date and time?

    If you want to include the time (which Dom's INT strips off), simply use

    =A1+120
    Jon Peltier
    http://PeltierTech.com/

  5. #5
    Registered User
    Join Date
    04-11-2011
    Location
    Texas
    MS-Off Ver
    Office 2007
    Posts
    78

    Re: How do I add 120 days to a cell that contains date and time?

    A few different way to approach it. If the number needs to change you can change the 120 (in any of the formulas) to a cell and input any number you want.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    11-15-2012
    Location
    Pakistan
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: How do I add 120 days to a cell that contains date and time?

    i need which formula that i put date this 03.06.2012 and auto calculate after 120 days...like 03.09.2012 any one have this..so email me plz.
    [email protected]
    +923214884958

+ 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