+ Reply to Thread
Results 1 to 5 of 5

Subtract 6 months

  1. #1
    Lynn
    Guest

    Subtract 6 months

    I would like to create a formula that will subtract 6 months from today's
    date. What function can I use for this?



  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    =DATE(YEAR(TODAY()),MONTH(TODAY())-6,DAY(TODAY()))

    VBA Noob

  3. #3
    Thufir Howat
    Guest

    Re: Subtract 6 months

    Well, here is the quick and dirty.

    =DATE(YEAR(TODAY()),MONTH(TODAY())-6,DAY(TODAY()))

    Hopefully someone has a more elegant solution.

    Lynn wrote:
    > I would like to create a formula that will subtract 6 months from today's
    > date. What function can I use for this?



  4. #4
    Lynn
    Guest

    Re: Subtract 6 months

    thanks - this will work!

    "Thufir Howat" wrote:

    > Well, here is the quick and dirty.
    >
    > =DATE(YEAR(TODAY()),MONTH(TODAY())-6,DAY(TODAY()))
    >
    > Hopefully someone has a more elegant solution.
    >
    > Lynn wrote:
    > > I would like to create a formula that will subtract 6 months from today's
    > > date. What function can I use for this?

    >
    >


  5. #5
    JMB
    Guest

    Re: Subtract 6 months

    =EDATE(TODAY(),-6)

    which requires the Analysis Toolpak to be installed.

    If today is 8/31/06, the other formula will return 2/31/06 which excel will
    interpret as 3/3/06. I assume you would want 2/28/06?


    "Lynn" wrote:

    > thanks - this will work!
    >
    > "Thufir Howat" wrote:
    >
    > > Well, here is the quick and dirty.
    > >
    > > =DATE(YEAR(TODAY()),MONTH(TODAY())-6,DAY(TODAY()))
    > >
    > > Hopefully someone has a more elegant solution.
    > >
    > > Lynn wrote:
    > > > I would like to create a formula that will subtract 6 months from today's
    > > > date. What function can I use for this?

    > >
    > >


+ 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