+ Reply to Thread
Results 1 to 3 of 3

Sum if criteria matches and is between certain dates

  1. #1
    Registered User
    Join Date
    08-26-2015
    Location
    Melbourne
    MS-Off Ver
    2011
    Posts
    15

    Post Sum if criteria matches and is between certain dates

    Hi All,

    never used a site like this before.

    need assistance with calcuating the tolat amount earned on a car rental between the dates an owner has the car listed.

    Column B & D have intentionall been left blank.

    example: Car rego xcvbn was listed by the owner between 10/5/15 & 7/6/15 and then again from 30/7 - 30/8

    that same car has been rented 3 times. twice during the first listing and once during the second listing.

    I need to tally up to amount eared from the rental during each listing. ie from 10/5-7/6 the total earned is $1000 and from30/7 - 30/8 the total earned is $300.

    Can anyone help me with a formula? i've been tinkering with Sumif and median... but no luck

    Owner

    A B C D E
    1 Date listed Date collected Rego #
    2 15/05/2015 27/05/2015 sdfgh
    3 5/06/2015 8/07/2015 dfghj
    4 15/05/2015 7/06/2015 xcvbh
    5 20/05/2015 20/06/2015 bvcxz
    6 30/07/2015 30/08/2015 xcvbh





    Renter
    A B C D E F
    1 Rental start date Rental end date Rego # Amount earned
    2 20/05/2015 25/05/2015 xcvbh $100
    3 6/06/2015 3/07/2015 dfghj $300
    4 25/05/2015 30/05/2015 xcvbh $900
    5 30/05/2015 7/06/2015 bvcxz $100
    6 20/05/2015 25/05/2015 sdfgh $200
    7 1/08/2015 6/08/2015 xcvbh $300


    Thanks
    Attached Images Attached Images
    Last edited by Benjiboi_87; 08-26-2015 at 11:28 PM.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: Sum if criteria matches and is between certain dates

    General formula ..

    =SUMIFS($G$9:$G$14,$F$9:$F$14,$F2,$C$9:$C$14,">=" &$C2,$E$9:$E$14,"<=" &$E2)

    See attached.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    08-26-2015
    Location
    Melbourne
    MS-Off Ver
    2011
    Posts
    15

    Cool Re: Sum if criteria matches and is between certain dates

    What a legend.


    thanks very much

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. If only the Month matches when comparing 2 dates then...
    By swade730 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 01-05-2015, 09:59 AM
  2. Add Values only if Matches with criteria
    By Ashurk77 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 01-31-2014, 06:52 AM
  3. Get the minimum value when there are two matches for the criteria
    By Akriti9 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-26-2012, 12:58 AM
  4. Excel 2007 : multiple criteria matches
    By luix in forum Excel General
    Replies: 4
    Last Post: 12-22-2010, 12:13 AM
  5. [SOLVED] Move row if matches criteria
    By XLVBA in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-01-2010, 02:13 AM
  6. Conditional Format Dates in a Calender when Matches dates in a list
    By Lungfish in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-14-2009, 06:23 AM
  7. SumIf Criteria Matches
    By Debbie Dies in forum Excel Formulas & Functions
    Replies: 68
    Last Post: 09-06-2005, 07:05 PM

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