Results 1 to 7 of 7

Sum Distinct Values within Time Constraints?

Threaded View

  1. #1
    Registered User
    Join Date
    10-21-2020
    Location
    New York City
    MS-Off Ver
    2016
    Posts
    2

    Sum Distinct Values within Time Constraints?

    Hi All,

    I'm trying to solve the following problem using some combination of sumproduct, sumif, and countif functions: I have a dataset where people move into and out of areas at different times. Sometimes there are multiple people in an area at a time, other times there are none. Each area has a value associated with it.

    I am trying to calculate the the sum of the values of each distinct area at successive time intervals if that area had at least one person in it at that time. I have attached a brief fictitious example and have manually calculated the correct result next to the cells with red question marks.

    My thinking so far has been to use a technique combining SUMPRODUCT with 1/COUNTIF to control for duplicate values, a technique documented on ExcelJet article Count unique values in a range with COUNTIF. However, I haven't been able to successfully apply the time constraints to this formula.

    Any help is immensely appreciated!
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Sum values distinct in time
    By jeremy62375 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-08-2017, 11:38 AM
  2. Deduct amount based on sum of distinct values over a period of time...
    By Mesanic in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-10-2017, 12:11 PM
  3. [SOLVED] get distinct values from criteria AND sum all of the values of the distinct
    By dluhut in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-10-2017, 02:57 PM
  4. [SOLVED] Max function with time constraints
    By invendis in forum Excel General
    Replies: 6
    Last Post: 11-15-2016, 06:39 AM
  5. Time Constraints
    By atrades in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-06-2013, 02:19 PM
  6. time constraints for SLA
    By penfold1992 in forum Excel General
    Replies: 14
    Last Post: 10-29-2012, 06:35 AM
  7. Standard Deviation Function with Time Constraints
    By ckatzman in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-10-2012, 06:36 PM

Tags for this Thread

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