Results 1 to 16 of 16

Help with SUMIFS/SUMPRODUCT Formula? for date/time

Threaded View

auswtz Help with SUMIFS/SUMPRODUCT... 03-31-2013, 06:14 AM
AndyLitch Re: Help with... 03-31-2013, 07:09 AM
auswtz Re: Help with... 03-31-2013, 07:32 AM
Kevin UK Re: Help with... 03-31-2013, 07:34 AM
auswtz Re: Help with... 03-31-2013, 08:02 AM
dilipandey Re: Help with... 03-31-2013, 07:36 AM
AndyLitch Re: Help with... 03-31-2013, 07:43 AM
auswtz Re: Help with... 03-31-2013, 08:10 AM
Kevin UK Re: Help with... 03-31-2013, 07:48 AM
auswtz Re: Help with... 03-31-2013, 07:58 AM
daddylonglegs Re: Help with... 03-31-2013, 08:11 AM
auswtz Re: Help with... 03-31-2013, 08:43 AM
Kevin UK Re: Help with... 03-31-2013, 08:53 AM
daddylonglegs Re: Help with... 03-31-2013, 09:18 AM
auswtz Re: Help with... 03-31-2013, 09:04 AM
Kevin UK Re: Help with... 03-31-2013, 09:47 AM
  1. #2
    Valued Forum Contributor
    Join Date
    03-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Office/Excel 2013
    Posts
    1,749

    Re: Help with SUMIFS/SUMPRODUCT Formula? for date/time

    The first problem you have is that the times in Column B are text... Before you can do any time calculations you need to convert those to real Excel times. This function isn't elegant but it works :-)
    =IF(RIGHT(B16,1)="m",(VALUE(LEFT(B16,FIND(":",B16)-1)+(IF(RIGHT(B16,2)="pm",12,0)))*3600*1/86400)+(VALUE(MID(B16,FIND(":",B16)+1,2))*60*1/86400),"")
    Paste it down through the table starting from row 16

    Then the formula from N3 down is :

    =SUMPRODUCT((H$16:H$72>=L3)*(H$16:H$72<=M3)*E$16:E$72)
    Last edited by AndyLitch; 03-31-2013 at 07:37 AM.

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