+ Reply to Thread
Results 1 to 2 of 2

Custom Subtotals

  1. #1
    Registered User
    Join Date
    08-21-2007
    Posts
    14

    Custom Subtotals

    I have a data set of schedule activities that I have dumped into excel grouped by total days of float. I want to be able to group and total by custom amounts:

    <0 days
    0-10 days
    11-20 days
    21-50 days
    >50 days

    Is this possible? Doesn't have to be in a pivot table, but it can be.

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,557

    Re: Custom Subtotals

    Perhaps this will be of some help.
    Column A is populated with dates.
    Column B is populated with activities.
    Columns E and F have numbers of days (from today) broken down into start and end.
    Column G counts the number of activities in the time period using: =SUMPRODUCT(--(A$2:A$95-TODAY()<=F2))-SUM(G$1:G1)
    Column H displays the last date of the time period (may be moved and/or hidden for aesthetic purposes) using: =TODAY()+F2
    Columns I:AY display the activities in the time period using*:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    *Denotes an array entered formula with is confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.
    If this isn't what you envision, please upload a sample showing raw data and the expected outcome, manually typed in, so that we may attempt to automate the outcome using formulas and/or code.
    To upload a sample workbook click on the GO ADVANCED button below the Quick Reply window and then scroll down to Manage Attachments to open the upload window.
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. Replies: 1
    Last Post: 11-22-2015, 08:35 AM
  2. [SOLVED] How to add a custom function to subtotals?
    By OmniBlue in forum Excel General
    Replies: 4
    Last Post: 02-19-2014, 01:21 PM
  3. Custom groupings&subtotals in pivot table
    By GustavBA in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-11-2013, 02:53 AM
  4. Help me create a custom expense sheet with daily subtotals WITHOUT VB
    By kmanbob in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 05-16-2013, 01:55 AM
  5. Replies: 1
    Last Post: 05-16-2011, 04:25 AM
  6. Pivot Table: Custom Subtotals
    By thenbagis in forum Excel General
    Replies: 2
    Last Post: 03-09-2009, 01:40 PM
  7. [SOLVED] Problem with nested subtotals, placing secondary subtotals BELOW .
    By Dawn Cameron in forum Excel General
    Replies: 1
    Last Post: 06-03-2005, 06: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