LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default Help please... Simple calculation - with unexpected results

On Fri, 28 Jul 2006 15:24:01 -0700, MLK wrote:

I am getting unexpected results from a simple multiplication formula. Column
A contains rates, Column B contains billing discounts and Col C calculates
the billing $.

For example: Col A = 100, Col B = .44 and Column C calculation is: a2*(
50*37.5*0.85)*b2
Both Column B and C display only 2 decimals.

The answer that comes out is $70,492.79 but I'm expecting $70,125. It
appears to be calculating at 7 decimal places but should only be calculating
at 2. When I enter the actuals numbers into a function (100*1593.75*.44)
the answers comes out right (70,125).

Am I missing something basic? I have done a ton of formulas but have not
come across this before.


Excel calculates to 15 decimal places. Unless you check Precision as Displayed
under Tools/Options, the formatting will not change that.

Given:

A2: 100.004987921697
B2: 0.44228564109933

you would see 100.00 in A2, 0.44 in B2, and get the results you report in C2.

If you only want to calculate using two decimal places, you must either use
Precision as Displayed (which may have unexpected results elsewhere in your
workbook), or round the factors in A2:B2 to two decimal places.

You can either use the ROUND function within A2 and B2, or use it in C2:

=ROUND(A2,2)*(50*37.5*0.85)*ROUND(B2,2)

depending on what you want.

If you will only want two decimal precision in A2 and B2, then I would do the
rounding there.
--ron
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
A simple date calculation question. Seldum Excel Discussion (Misc queries) 2 June 26th 06 04:56 PM
The ispmt function is providing unexpected results Louis Zaffino Excel Worksheet Functions 1 May 3rd 06 03:56 AM
Mortgage calculation after a large extra payment Gary Wachs Excel Discussion (Misc queries) 6 April 16th 06 08:55 AM
Mortgage calculation after a large extra payment Gary Wachs Excel Worksheet Functions 4 April 16th 06 02:01 AM
need explanation on simple time calculation Georgina Excel Discussion (Misc queries) 1 April 2nd 06 02:36 PM


All times are GMT +1. The time now is 07:56 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"