+ Reply to Thread
Results 1 to 5 of 5

Array Sum to three decimal places

  1. #1
    Forum Contributor
    Join Date
    06-28-2004
    MS-Off Ver
    Home/Office 2016
    Posts
    246

    Array Sum to three decimal places

    I have an array in cells BN:CA - - each cell contains 120.12
    The array total is in CB - formatted to 3 decimal places

    Totaled, the ARRAY shows 1681.680 - - i want it to show 1680.168
    but the decimals are overflowing.

    Here is the array - - {=SUM(LARGE($BN9:$CA9,ROW(INDIRECT(1&":"&$C$2))))}

    I also tried adding a ROUND....,3 to it...but couldn't get that to work either.

    ideas?
    Last edited by x65140; 12-12-2018 at 04:17 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    04-13-2011
    Location
    Ottawa, Canada
    MS-Off Ver
    365
    Posts
    1,067

    Re: Array Sum to three decimal places

    Well...BN to CA is 14 columns, and in each column has a value of 120.12.

    Thus, mathematically, 120.12 x 14 = 1,681.68.

    Why is it that you'd like to show is as 1680.168?

    ASSUME if the sum of the cell is 1,685.89, how would you like to show it? 1684.589 or 1680.589?

  3. #3
    Forum Contributor
    Join Date
    06-28-2004
    MS-Off Ver
    Home/Office 2016
    Posts
    246

    Re: Array Sum to three decimal places

    Because it is a scoring system. BEFORE the decimal place is points for HORSE and RIDER, then AFTER the decimal place is the number of pluses (or bonuses) so I need to keep them separate.

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: Array Sum to three decimal places

    So, the decimal point is not really a decimal point, but some marker to split two distinct numbers?

    In that case you will need to add the (integer) parts and the (decimal) parts separately, and then join them together again. It would help to see a sample of your workbook.

    Pete

  5. #5
    Forum Contributor
    Join Date
    06-28-2004
    MS-Off Ver
    Home/Office 2016
    Posts
    246

    Re: Array Sum to three decimal places

    i will treat separately and rework. was looking too closely. thx

+ 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. Adusting decimal places based on greatest number of places in a series
    By anelson87 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-11-2022, 01:05 PM
  2. [SOLVED] rounding down to nearest 3 decimal places after the decimal point
    By swfarm in forum Excel General
    Replies: 2
    Last Post: 10-18-2018, 11:42 AM
  3. Replies: 2
    Last Post: 12-29-2013, 08:37 PM
  4. [SOLVED] Calculating decimal places in a non decimal format (ie sixes not tens)
    By Mike Brewer in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-07-2013, 08:58 AM
  5. Paste two decimal number in excel without extra decimal places appearing
    By jeffery_frick in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-13-2009, 07:49 PM
  6. Replies: 4
    Last Post: 06-10-2009, 12:50 PM
  7. Replies: 3
    Last Post: 07-06-2005, 09: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