+ Reply to Thread
Results 1 to 3 of 3

sumproduct formula result incorrect

  1. #1
    Registered User
    Join Date
    10-08-2014
    Location
    So. California
    MS-Off Ver
    2010
    Posts
    4

    sumproduct formula result incorrect

    I am wondering why I am not getting same result with both formulas in attached.

    Please use R "Raney Formula Question", question is on spreadsheet
    Attached Files Attached Files
    Last edited by bobraney; 10-08-2014 at 09:03 PM. Reason: bad title

  2. #2
    Forum Expert boopathiraja's Avatar
    Join Date
    07-12-2013
    Location
    Coimbatore,TamilNadu, India
    MS-Off Ver
    Excel 2007, 2013, 2016, 365
    Posts
    1,455

    Re: sumproduct formula result incorrect

    Hi, Check out for cell D1 and L6 that too duplicates
    Click just below left if it helps, Boo?ath?

  3. #3
    Forum Expert
    Join Date
    05-01-2014
    Location
    California, US
    MS-Off Ver
    Excel 2010
    Posts
    1,795

    Re: sumproduct formula result incorrect

    Quote Originally Posted by boopathiraja View Post
    Hi, Check out for cell D1 and L6 that too duplicates
    Typo: L1. And that is the root cause of the problem.

    But even when L2 is cleared as it should be, note that =MATCH(A1,A2,0) returns #N/A. This is because A1 and A2 are infinitesimally different due to arithmetic anomalies that arise by summing B1:Q1/COUNTIF(...).

    If that is a concern, one remedy is to round the SUMPRODUCT to the precision that you require. For example:

    =ROUND(SUMPRODUCT(B1:Q1,1/COUNTIF(B1:Q1,B1:Q1)),3)

    rounds to 1 percentage decimal place.

    Also note the change in the second COUNTIF parameter. I don't see any value is writing B1:Q1&"".

    Caveat lector: B1:Q1/COUNTIF(B1:Q1,B1:Q1) does not work because the seemingly empty cells in B1:Q1 are not truly empty. For example, ISBLANK(I1) returns FALSE. Presumably, Bob did copy-and-paste-special-value of null strings into I1 et al.

+ 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. vlookup giving #N/A results
    By Jazzzbo in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-18-2014, 12:28 AM
  2. VLOOKUP not giving apt results....
    By lifeisaspreadsheet in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-04-2012, 04:36 AM
  3. VBA in 2003 giving different results when run in 2007
    By pirukas in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-04-2012, 02:59 AM
  4. Drop Down Box / VLookup not giving results
    By waki01 in forum Excel General
    Replies: 4
    Last Post: 01-08-2009, 05:04 PM
  5. Equation giving unexpected results
    By Mike K in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 01-27-2005, 11:06 AM

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