1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Solved: Adding Dates

Discussion in 'Business Applications' started by floydcojacket, Apr 27, 2010.

Thread Status:
Not open for further replies.
  1. floydcojacket

    floydcojacket Thread Starter

    Joined:
    Jul 4, 2008
    Messages:
    278
    Cell A1 is formatted "mmm./dd/yyyy" (Apr./27/2010)
    In cell B1 if I put in formula "=A1+1" I get the "dd" added by one. (Apr./28/2010)
    How would I formulate cell B1 to be "A1+1=next month? next year? (May./27/2010) or (Apr./27/2011)?

    In short, how do I formula cell B1 to be A1 + month or day or year?
    Thank you for your help.
     
  2. CJSquibb

    CJSquibb

    Joined:
    Feb 8, 2010
    Messages:
    40
    Use the DATE() function which has arguments of year, month, day in that order.

    For date + 1 month use:

    Code:
    =date(year(a1),month(a1)+1, day(a1))
    For date + 1 year use:

    Code:
    =date(year(a1)+1,month(a1),day(a1))
    HTH
     
  3. floydcojacket

    floydcojacket Thread Starter

    Joined:
    Jul 4, 2008
    Messages:
    278
    Thank you CJSquibb, your reply does exactly what I hoped for.
    Have a great day!
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/919547

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice