+ Reply to Thread
Results 1 to 3 of 3

Sumproduct Formula Returning a Strange Result

  1. #1
    Registered User
    Join Date
    06-08-2010
    Location
    St. Charles, Missouri
    MS-Off Ver
    Excel 2007
    Posts
    5

    Sumproduct Formula Returning a Strange Result

    In the attached workbook on the UCA Data Input Sheet, column "I", cell I6, the formula is returning a result of 5,983. It should be returning 0. This is particularly baffling since identical formulas in the rest of the cells in column I work perfectly.

    What could possibly be going on?
    Attached Files Attached Files
    Last edited by Steve Collins; 07-02-2010 at 11:19 AM.

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

    Re: Sumproduct Formula Returning a Strange Result

    Excel regards empty cells as January dates so you can to introduce another condition to check that the date cells aren't blank, i.e.

    =SUMPRODUCT(--(TEXT('Definitized UCAs'!$L$3:$L$6000,"mmm")='UCA Summary Data'!E19),--('Definitized UCAs'!$L$3:$L$6000<>""),--('Definitized UCAs'!$G$3:$G$6000<180))
    Audere est facere

  3. #3
    Registered User
    Join Date
    06-08-2010
    Location
    St. Charles, Missouri
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Sumproduct Formula Returning a Strange Result

    Thanks so much. It now works just fine.

    I am not sure why that was the only formula that did not work when all of the other ones in the same column did work. That cell is the only one that referred back to a cell containing the text "Jan" so that must have had something to do with it.

+ Reply to Thread

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