+ Reply to Thread
Results 1 to 6 of 6

Adding cricket overs - base 6

Hybrid View

  1. #1
    Registered User
    Join Date
    09-29-2007
    Location
    Australia
    MS-Off Ver
    2013
    Posts
    55
    Thanks for the help rylo.

    That works but the problem remains. For some reason, 5.3 + 5.3 = 10.6

    If you put 5.4 and 5.2, it's says 11, which is correct. But whenever the only decimals are 3s it goes for the old .6

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,887
    Hi cricket_stoner,

    Try this modified formula:
    =SUM(INT(J5:J24))+INT(ROUND(SUM(J5:J24-INT(J5:J24)),1)/0.6)+MOD(ROUND(SUM(J5:J24-INT(J5:J24)),1),0.6)
    I think the issue was due to Excel's use of binary math, and that 0.6 / 0.6 does not equal 1 in Excel (it's actually 0.99999999999, which when you take the INT of 0.999999 you get 0 instead of 1).
    Last edited by Paul; 01-07-2008 at 02:59 AM.

  3. #3
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,706
    Two other possibilities which don't need to be "array entered"

    =INT(SUMPRODUCT(J5:J24*10-INT(J5:J24)*4)/6)+MOD(SUMPRODUCT(J5:J24*10-INT(J5:J24)*4),6)/10

    or, if you don't mind using the Analysis ToolPak add-in function DOLLARFR

    =DOLLARFR(SUMPRODUCT(J5:J24*10-INT(J5:J24)*4)/6,6)

+ 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