+ Reply to Thread
Results 1 to 9 of 9

Subtotal & count

  1. #1
    Registered User
    Join Date
    06-23-2012
    Location
    Dubai
    MS-Off Ver
    Excel 2010
    Posts
    7

    Subtotal & count

    Hi:
    I have a column and i need to make a subtotal to count the products or the dates in that column with out counting the duplicates?

    Thanks

    R70
    Last edited by r70; 06-23-2012 at 05:24 PM. Reason: Not solved yet

  2. #2
    Forum Contributor
    Join Date
    11-02-2011
    Location
    Rugby, England
    MS-Off Ver
    Office 365
    Posts
    884

    Re: Subtotal & count

    Hi,

    See attached
    Attached Files Attached Files
    Last edited by galvinpaddy; 06-23-2012 at 12:04 PM. Reason: Note how the formula is saved as an Array (confirmed by holding - CTRL+SHIFT & hitting enter

  3. #3
    Forum Contributor
    Join Date
    11-02-2011
    Location
    Rugby, England
    MS-Off Ver
    Office 365
    Posts
    884

    Re: Subtotal & count

    sry, didnt explain that very well (or at all)
    the formula uses 2 ranges:
    1) list1
    2) list2

    list1 = cell A2
    list2 = Range - A2:A11

    This calculates only the unique values in A2:A11, and ignores the duplicates.

    Edit - If you load a sample i can try put it into your worksheet for you.

  4. #4
    Registered User
    Join Date
    06-23-2012
    Location
    Dubai
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Subtotal & count

    Hi there:
    If i have one column for drivers name and another for there trips date ( one driver can make tow trips and above a day) how can i calculate the working days of the driver by sorting filtering his name See Attached

    Many Thanks
    R70
    Attached Files Attached Files

  5. #5
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,333

    Re: Subtotal & count

    Hi r70,

    Does this work for you?
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  6. #6
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,333

    Re: Subtotal & count

    Hi r70,

    With 2 helper columns I have a better answer. See attached.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    06-23-2012
    Location
    Dubai
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Subtotal & count

    Sorry marvinp you done a good job but i sent an attached file with more details please review and help me if you can ...

    Many thanks
    R70
    Attached Files Attached Files

  8. #8
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,333

    Re: Subtotal & count

    Hey r70

    I added more data so you could see how easy it is. With the 2 helper columns and using the Helper2 as a filter, then group the PT by month. See the attached.
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    06-23-2012
    Location
    Dubai
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Subtotal & count

    Thanks MarvinP thats great ....

+ 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