Results 1 to 2 of 2

Thread: Adding Criteria with DSum
Thanks Thanks: 0 Likes Likes: 0

  1. #1
    Board Regular
    Join Date
    Oct 2018
    Post Thanks / Like
    2 Post(s)
    0 Thread(s)

    Default Adding Criteria with DSum

    Good Morning,

    I have an extensive data set. Within the data set, one column has date and one column has time (both formatted as such).
    On another page/tab, I have a series of dsum formulas that add various columns from the data set. One of those formulas is below. I used to use the formula to add all data that fell within the date range specified in A16:B17 but I'd like to change this to now include times. So, the new formula should find all data within the specified date and time and add it. I'm not sure how to do this- my initial idea was to add a column in the data set for combined date and time but that hasn't seemed to have worked. Thanks.

    Formula: =DSUM('VOYAGE DATA'!$A:$CY,"ME MGO",A14:B15)
    A14 is "Date"
    A15 is >8/31/2019 12:00 PM
    B14 is "Date"
    B15 is <=10/01/2019 12:00 PM

    And currently "Date" is a column heading in the data set and "Time" is another column heading.
    Last edited by sassriverrat; Sep 24th, 2019 at 03:45 AM.
    0 0

  2. #2
    MrExcel MVP
    Fluff's Avatar
    Join Date
    Jun 2014
    Post Thanks / Like
    467 Post(s)
    47 Thread(s)

    Default Re: Adding Criteria with DSum


    Please do not post the same question multiple times. All clarifications, follow-ups, and bumps should be posted back to the original thread.
    Per forum rules, posts of a duplicate nature will be locked or deleted (rule 12 here: Forum Rules).
    - Posting Data try one of these tools
    - Posting guidelines, forum rules and terms of use
    - Read the FAQs

    Running Office 365 on Win 10
    0 0

Some videos you may like

User Tag List

Tags for this Thread

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts