+ Reply to Thread
Results 1 to 4 of 4

How do I add items within the last 12 months?

  1. #1
    Kevbro7189
    Guest

    How do I add items within the last 12 months?

    I want to add up numbers that only happened within the last 12 months from
    the current date. I do have a column with the date I want to reference to.



  2. #2
    Domenic
    Guest

    Re: How do I add items within the last 12 months?

    Assuming that Column A contains the date, and Column B contains the
    numbers, try...

    =SUMIF(A1:A100,">="&TODAY()-365,B1:B100)

    Hope this helps!

    In article <8DA8B435-F4C2-4C3A-88D2-1A866DB9963C@microsoft.com>,
    "Kevbro7189" <Kevbro7189@discussions.microsoft.com> wrote:

    > I want to add up numbers that only happened within the last 12 months from
    > the current date. I do have a column with the date I want to reference to.


  3. #3
    bpeltzer
    Guest

    RE: How do I add items within the last 12 months?

    If the figures to conditionally add are in column B, and the dates are in A,
    =SUMIF(A:A,">=" & TODAY()-365,B:B) would add up all the values from the past
    366 days (including the current day). Use that anywhere except in columns A
    or B (in A or B you'll get a circular reference).

    "Kevbro7189" wrote:

    > I want to add up numbers that only happened within the last 12 months from
    > the current date. I do have a column with the date I want to reference to.
    >
    >


  4. #4
    Ron Rosenfeld
    Guest

    Re: How do I add items within the last 12 months?

    On Tue, 18 Oct 2005 17:42:02 -0700, "Kevbro7189"
    <Kevbro7189@discussions.microsoft.com> wrote:

    >I want to add up numbers that only happened within the last 12 months from
    >the current date. I do have a column with the date I want to reference to.
    >


    If your column of dates is named "dates" and your column of numbers is named
    "numbers" then:

    A1: StartDate of period of interest
    A2: EndDate of period of interest

    =SUMIF(dates,">="&A1,numbers) - SUMIF(dates,">"&A2,numbers)

    should do it.


    --ron

+ 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