+ Reply to Thread
Results 1 to 4 of 4

SUMIF only if matching a date criteria

  1. #1
    Registered User
    Join Date
    11-12-2012
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    21

    SUMIF only if matching a date criteria

    Hello,

    I am having a tough time allocating tallied data into the appropriate date it was booked on or consumed.

    my data sheet look something like this....

    Rooms sold Stay Date Rate Code RATE
    1 11/12/12 REGF 219.00
    3 11/15/12 REGA 209.00
    4 11/21/12 CORF 199.00
    1 12/1/12 LRTA 139.00
    1 12/13/12 GENR 129.00
    2 11/22/12 REGF 119.00

    Currently I have a SUMIF formula to get the total rooms sold per rate code...but I can't break it out by stay date...


    I want the total rooms sold per date for each rate code ....and if I could find a way to add the average rate for those rooms booked at the rate program for the day that would be icing on the cake.

    Thank you in advance.

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: SUMIF only if matching a date criteria

    hi Adsup01, welcome to the forum. how about doing a pivot?
    Attached Files Attached Files

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    11-12-2012
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    21

    Re: SUMIF only if matching a date criteria

    Thank you for prompt response. I did the pivot table previously...but am looking for more of a calendar style and pulling from a data workbook.

    I have attached an example, please feel free to play around with it.

    THANK YOU A TON!
    Attached Files Attached Files

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: SUMIF only if matching a date criteria

    play around wit sumifS() and see if that will help?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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