+ Reply to Thread
Results 1 to 2 of 2

Daily totals matching weekly value throwing "false" negatives

  1. #1
    Valued Forum Contributor
    Join Date
    01-16-2012
    Location
    England
    MS-Off Ver
    MS 365
    Posts
    1,397

    Daily totals matching weekly value throwing "false" negatives

    Real file has almost three thousand records where formula in Col B should show "FALSE" if the five daily totals in Cols D - H do not match the weekly total in Col C.

    =C3=SUM(D3:H3)

    For some reason nine of them are saying the totals do not match when they do.

    All clarifications welcome, because I can't explain to the End User why this is happening, and (obviously) they are not happy at false "Error Messages" being generated.

    Ochimus
    Attached Files Attached Files

  2. #2
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,743

    Re: Daily totals matching weekly value throwing "false" negatives

    quote from Wiki:
    "Although Excel can display 30 decimal places, its precision for a specified number is confined to 15 significant figures"
    You have to ROUND values before comparing.

    20 decimals
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    still give you false
    but
    13 decimals
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    give you true.
    As I see it is about days or hours, If I am not mistaken seconds needs 6 decimals, so rounding into 13 I think is enough precision.
    Happy with my answer * Add Reputation.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.

+ 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. Replies: 5
    Last Post: 02-05-2019, 12:03 AM
  2. [SOLVED] add totals of "matching" rows together and delete the leftovers.
    By khalloran in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-16-2014, 04:18 PM
  3. [SOLVED] Need Macro to compile data from "Weekly" sheets and sum up into "Monthly" summary sheet
    By mo4391 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-21-2013, 07:25 PM
  4. Application.ExecuteExcel4Macro "SHOW.TOOLBAR(""Ribbon"",False)" not working
    By redders in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-31-2011, 03:52 PM
  5. Replies: 5
    Last Post: 10-12-2010, 06:46 AM
  6. Replies: 7
    Last Post: 05-13-2006, 05:02 PM
  7. [SOLVED] IF(VLOOKUP("MYDATA", MYNAME, 4) = 0, "TRUE", "FALSE")
    By Souris in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-17-2005, 01:05 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