ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   I need to round in the middle of a formula (https://www.excelbanter.com/excel-discussion-misc-queries/239846-i-need-round-middle-formula.html)

Simon

I need to round in the middle of a formula
 
Hi there,

Can somebody help me to round in the middle of a formula. My formula is...

=(D11*E11)+(((D11-39.45)/2+39.45)*F11)+(((D11+2)/2)*G11)+(((D11/2)*H11))

The problem is I need the last three groups rounded individually

I've rounded them individually in other cells with
=ROUND(((M10-39.45)/2)+39.45,2)

But since they aren't rounding in the middle of the first formula, my totals
aren't matching with the second set of numbers.

I hope this is clear enough

joeu2004

I need to round in the middle of a formula
 
"Simon" wrote:
=(D11*E11)+(((D11-39.45)/2+39.45)*F11)+(((D11+2)/2)*G11)+(((D11/2)*H11))
[....]
I've rounded them individually in other cells
[....]
But since they aren't rounding in the middle of the first formula,
my totals aren't matching with the second set of numbers.


Making assumptions about what subexpressions are rounded "individually in
other cells":

=round(D11*E11,2) + round(((D11-39.45)/2+39.45)*F11,2)+
round(((D11+2)/2)*G11,2) + round(((D11/2)*H11),2)


----- original message -----

"Simon" wrote in message
...
Hi there,

Can somebody help me to round in the middle of a formula. My formula
is...

=(D11*E11)+(((D11-39.45)/2+39.45)*F11)+(((D11+2)/2)*G11)+(((D11/2)*H11))

The problem is I need the last three groups rounded individually

I've rounded them individually in other cells with
=ROUND(((M10-39.45)/2)+39.45,2)

But since they aren't rounding in the middle of the first formula, my
totals
aren't matching with the second set of numbers.

I hope this is clear enough




All times are GMT +1. The time now is 04:37 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com