+ Reply to Thread
Results 1 to 4 of 4

Sum certain items for a date range

  1. #1
    Registered User
    Join Date
    02-13-2011
    Location
    Cairo
    MS-Off Ver
    Excel 2003
    Posts
    2

    Sum certain items for a date range

    I have two sheets:
    1. Sheet 1: this has the following columns: Date, Category, Cost
    2. Sheet 2: Calculates the total for each category with the sumif formula. It has the following columns: Category, Total.

    Now I want to add a breakdown of my totals of each category for each month. This would cause Sheet 2 to receive additional columns for each month. Turning it into something like: Category, Total, January, February, March, ...., December.

    The problem is that I don't know how to limit the sumif function to a certain date range. Any help would be greatly appreciated.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,705

    Re: Sum certain items for a date range

    Here is a tutorial on SumProduct. That will help you to achieve your end result.

    http://www.xldynamic.com/source/xld.SUMPRODUCT.html

    Alan
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    02-13-2011
    Location
    Cairo
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Sum certain items for a date range

    Thanks Alan! It works perfect now.

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Sum certain items for a date range

    I would think a PivotTable would be best
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

+ 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