+ Reply to Thread
Results 1 to 4 of 4

Totals based on meeting multiple criteria

  1. #1
    JerryS
    Guest

    Totals based on meeting multiple criteria

    I have a sheet that looks something like this:

    Date New Old
    1/1/06 10
    1/5/06 5 5
    1/8/06 20
    1/8/06 15 5

    How do I get a total for New and old between specific dates? For example,
    dtotal New between 1/1/06 and 1/5/06?

    Thanks
    --
    JerryS

  2. #2
    Don Guillett
    Guest

    Re: Totals based on meeting multiple criteria

    something like this
    =sumproduct((a3:a22>=a1)*(a3:a22<=a2)*b3:b22)

    --
    Don Guillett
    SalesAid Software
    [email protected]
    "JerryS" <[email protected]> wrote in message
    news:[email protected]...
    >I have a sheet that looks something like this:
    >
    > Date New Old
    > 1/1/06 10
    > 1/5/06 5 5
    > 1/8/06 20
    > 1/8/06 15 5
    >
    > How do I get a total for New and old between specific dates? For example,
    > dtotal New between 1/1/06 and 1/5/06?
    >
    > Thanks
    > --
    > JerryS




  3. #3
    Roger Govier
    Guest

    Re: Totals based on meeting multiple criteria

    Hi Jerry

    One way
    =SUMPRODUCT(--($A$2:$A$100>=DATE(2006,1,1),--($A$2:$A$100<=DATE(2006,1,5),$B$2:$C:100)

    --
    Regards

    Roger Govier


    "JerryS" <[email protected]> wrote in message
    news:[email protected]...
    >I have a sheet that looks something like this:
    >
    > Date New Old
    > 1/1/06 10
    > 1/5/06 5 5
    > 1/8/06 20
    > 1/8/06 15 5
    >
    > How do I get a total for New and old between specific dates? For
    > example,
    > dtotal New between 1/1/06 and 1/5/06?
    >
    > Thanks
    > --
    > JerryS




  4. #4
    CLR
    Guest

    Re: Totals based on meeting multiple criteria

    =SUMIF(A:A,"<=1/5/2006",B:B)-SUMIF(A:A,"<1/1/2006",B:B)

    Vaya con Dios,
    Chuck, CABGx3


    "JerryS" <[email protected]> wrote in message
    news:[email protected]...
    > I have a sheet that looks something like this:
    >
    > Date New Old
    > 1/1/06 10
    > 1/5/06 5 5
    > 1/8/06 20
    > 1/8/06 15 5
    >
    > How do I get a total for New and old between specific dates? For example,
    > dtotal New between 1/1/06 and 1/5/06?
    >
    > Thanks
    > --
    > JerryS




+ 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