+ Reply to Thread
Results 1 to 3 of 3

Round formula including multiply by zero produces rounded amount

  1. #1
    Registered User
    Join Date
    02-17-2007
    Posts
    6

    Round formula including multiply by zero produces rounded amount

    Can someone explain why

    =ROUND(F19 +0.15(F16-F15),0) is equal to F19 when (F16-F15) is equal to zero?

    As a matter of fact I can replace 0.15 with any number (plus or minus) and the formula still gives F19 as the answer.

    However, if I take the 0.15 out of the formula the result is 0 just as you would expect.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Round formula including multiply by zero produces rounded amount

    there is an operator missing after the 0.15 and the (F16-F15). If the operator should be * (mulitplication), then 0.15*0 is 0 and so result is F19 rounded to 0 decimals...
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    02-17-2007
    Posts
    6

    Re: Round formula including multiply by zero produces rounded amount

    You are correct about the missing operator and you are also correct about the solution.

    Thanks for helping me see the obvious that somehow was escaping me!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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