+ Reply to Thread
Results 1 to 2 of 2

help with sum product formula?

  1. #1
    Registered User
    Join Date
    07-16-2013
    Location
    Oxnard, California
    MS-Off Ver
    Excel 2007
    Posts
    44

    help with sum product formula?

    HI,

    I'm trying to use a formula that determines the census in a room at any given hour. I have a test formula set up, but it is not returning correct values. For examples, in the 1/1/2013 rows, it should return ) because no one was using the room at that time. Please see attached file.
    Attached Files Attached Files

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: help with sum product formula?

    You probably need to exclude rows where column E is blank, try this version in I2 copied across and down

    =SUMPRODUCT(($E$2:$E$569<=$H2+I$1)*($F$2:$F$569>$H2+I$1)*($E$2:$E$569<>""))
    Audere est facere

+ 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. Macro for Name Generation from Product to Product with Sizes and Filenames
    By ddenicola in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-30-2014, 11:59 AM
  2. Produce Product list by product category
    By barnowl in forum Excel General
    Replies: 2
    Last Post: 01-03-2013, 05:57 PM
  3. [SOLVED] Find Product Details in Another Sheet based on Product ID and Copy some Fields From there
    By kevalkothari in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-29-2012, 10:43 AM
  4. [SOLVED] Need Function that will find ordered product, and display the product code in a 2nd workbk
    By rollerden in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-21-2012, 08:52 AM
  5. Replies: 2
    Last Post: 04-02-2009, 05:56 AM

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