+ Reply to Thread
Results 1 to 7 of 7

Sumifs by name by period

  1. #1
    Forum Contributor
    Join Date
    12-02-2008
    Location
    Brisbane
    MS-Off Ver
    2016
    Posts
    807

    Sumifs by name by period

    I am trying to sum the transactions by time period by name. I've got most of it done except for the final step which is in the array colored yellow. I've attached a sample. Thanks for all help received.
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    07-01-2018
    Location
    Adelaide, South Australia
    MS-Off Ver
    Office 365, & Excel 2016 on windows 10, & 14.7 for mac, & Excel 2015 for mac
    Posts
    173

    Re: Sumifs by name by period

    To make it easier to read I converted your transaction list into a table object (ctrl + t)
    This means that your formulas won't need to be updated as you add extra lines of data.

    I also got rid of your hour extraction and added a helper column "time" to the table using formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    To count transactions per hour, I just used the time in the given row as the start time, and the time in the next row as the end time of the period. Countifs formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    the sumifs formula in the table per person was
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    To make it easier to fill across I made the table references absolute
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    These formulas also work with standard range references, but I like tables better. Let me know if you need any of this explained more
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    12-02-2008
    Location
    Brisbane
    MS-Off Ver
    2016
    Posts
    807

    Re: Sumifs by name by period

    Hi Truk

    You have given me the sum of the total value of Transactions which I also have to do, so you've solved that issue for me!

    I explained myself badly - I also need to allocate the actual number of transactions which is column P. I extended the table to include that, but I still can't get the number of transactions by name by period. Does that explain it any better?

    Thanks for your help

  4. #4
    Registered User
    Join Date
    01-04-2020
    Location
    Hull, UK
    MS-Off Ver
    2016
    Posts
    60

    Re: Sumifs by name by period

    I think this is what you're looking for

    Please Login or Register  to view this content.
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    12-02-2008
    Location
    Brisbane
    MS-Off Ver
    2016
    Posts
    807

    Re: Sumifs by name by period

    That is the solution originally sought and I thank you, juddaaaa.

    Truk, I have also incorporated your solution and I thank you.

    Kind regards

  6. #6
    Registered User
    Join Date
    01-04-2020
    Location
    Hull, UK
    MS-Off Ver
    2016
    Posts
    60

    Re: Sumifs by name by period

    You're very welcome

  7. #7
    Forum Contributor
    Join Date
    07-01-2018
    Location
    Adelaide, South Australia
    MS-Off Ver
    Office 365, & Excel 2016 on windows 10, & 14.7 for mac, & Excel 2015 for mac
    Posts
    173

    Re: Sumifs by name by period

    You are welcome.
    Sorry I wasn't online to answer you again. juddaaaa gave the same solution I would have given.

+ 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: 6
    Last Post: 11-03-2017, 10:39 AM
  2. [SOLVED] Calculate the portion of a planned number during a period, based on another time period
    By BryGuy81 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-19-2017, 01:29 PM
  3. Replies: 1
    Last Post: 04-24-2013, 11:38 PM
  4. [SOLVED] Complicated:Calculate time period based on no. of units sold + fluctuations within period
    By omaha.crab in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-06-2012, 03:04 AM
  5. If Cell Ends with a Period, Remove Period
    By Ocean Zhang in forum Excel General
    Replies: 2
    Last Post: 08-07-2011, 04:18 PM
  6. Replies: 2
    Last Post: 08-06-2011, 11:15 AM
  7. Period to Period percentage change?
    By cs120 in forum Excel General
    Replies: 1
    Last Post: 09-18-2005, 08:05 AM

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