+ Reply to Thread
Results 1 to 3 of 3

How to force a formula to round numbers while calculating.

  1. #1
    Registered User
    Join Date
    11-07-2013
    Location
    Kansas City, MO
    MS-Off Ver
    Excel 2007
    Posts
    2

    How to force a formula to round numbers while calculating.

    Hi. I have an excel formula that is pulling data from another worksheet and using it in a couple different ways. Excel is rounding the results to 10 decimals to calculate and I cannot figure out how to change that.

    For example,
    =(E18/INDEX(WORKSHEET!C3:C71,(MATCH(G18,WORKSHEET!A3:A71,0))))*G3
    Where E18 is 100, IndexMatch is returning a value of 180, and G3 is 1538
    When I do the math 100/180 = .56 * 1538 = 861.28
    Excel does the same, except .5555555556 * 1538 = 854.45

    How do I make it so excel only rounds the calculation to 2 decimals & returns 861.28, not 854.45?

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: How to force a formula to round numbers while calculating.

    It seems to me that if you round at that point you'll be losing accuracy......but if that's what you want try this

    =ROUND(E18/INDEX(WORKSHEET!C3:C71,MATCH(G18,WORKSHEET!A3:A71,0)),2)*G3
    Audere est facere

  3. #3
    Registered User
    Join Date
    11-07-2013
    Location
    Kansas City, MO
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: How to force a formula to round numbers while calculating.

    You are wonderful. It is less accurate, but my boss wants it to come out the same way he does it on his calculator. Oh well, nothing I can do. Thanks so much. I tried =ROUND, but I put the 2 in the wrong spot, so I really appreciate the help.

+ 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. [SOLVED] Macro needed for calculating impulse of ground reaction force
    By willevans in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-10-2013, 07:27 AM
  2. [SOLVED] Formula to round retails to specific ending numbers
    By Agent in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-24-2012, 08:25 PM
  3. Replies: 2
    Last Post: 08-10-2011, 11:11 AM
  4. Calculating the distance round an arc
    By stephen1000 in forum Excel General
    Replies: 10
    Last Post: 01-27-2009, 03:45 PM
  5. Numbers round down when a 5 is in the third decimal place using a formula
    By Jbagger in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-27-2007, 11:59 AM

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