+ Reply to Thread
Results 1 to 3 of 3

SUMIF Criteria Issue

  1. #1
    Registered User
    Join Date
    01-26-2019
    Location
    London
    MS-Off Ver
    2016
    Posts
    11

    SUMIF Criteria Issue

    Hello all,
    Could someone please explain why SumIf does not see the difference in criteria below ?

    HTML Code: 
    Thank you and best regards.
    Last edited by AliGW; 10-20-2019 at 06:24 PM. Reason: Solved tag applied correctly.

  2. #2
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,704

    Re: SUMIF Criteria Issue

    XL, and SUMIF, will implicitly coerce the criteria - and interpret as a number - XL operates to 15 significant digits, and thus they're seen / interpreted as being the same.

    You could revert to less efficient SUMPRODUCT which will not perform the implicit coercion, i.e. below would return 0.0068 for both

    =SUMPRODUCT(($B$2:$B$3=$B2)+0,$A$2:$A$3)

  3. #3
    Registered User
    Join Date
    01-26-2019
    Location
    London
    MS-Off Ver
    2016
    Posts
    11

    Re: SUMIF Criteria Issue

    Hi XLent,
    Thank you for your explanation and alternative solution.

+ 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. sumif issue with duplicate criteria
    By Portz in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-06-2015, 01:02 PM
  2. [SOLVED] Shorten SUMIF + SUMIF + SUMIF each with same reference range but different criteria???
    By HeyInKy in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-13-2014, 09:25 PM
  3. [SOLVED] Variable Issue?
    By bhenderson in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-04-2011, 07:18 PM
  4. SumIf - SOLVED
    By billybobb in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 03-26-2011, 02:02 PM
  5. [Solved] SumIf
    By putnum in forum Excel General
    Replies: 2
    Last Post: 12-18-2009, 05:27 PM
  6. SOLVED (Forum Issue)
    By Coors in forum Excel General
    Replies: 2
    Last Post: 08-20-2009, 11:44 AM
  7. [SOLVED] [SOLVED] Another issue to resolve
    By Pat in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 02-20-2005, 05:06 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