Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Division of currency formula with/without rounding

Status
Not open for further replies.

Corinne30

Programmer
Mar 24, 2011
16
US
Need formula for:
User has an interest amount of 17.35 which needs to be divided by 2 which is a result set of 8.675.
Once that division is done I need to have the 2 amounts 1 should be 8.68 and the other should be 8.67 which when added together total back to 17.35
How should a formula for this be written so that the rounding is accurate?
 
Hi,

Welcome to the New Tek-Tips.

If your value is in A1, the expression below in the Formula Bar gives you one values in B1 and the other value in C1.
Row 2 shows the FormulaText in columns B & C.
Rows 3-6 show the progression of the formula calculation in column B

Hope that helps.

EDIT: Didn't notice this is Crystal Reports. Sorry. Thought I was in a different Forum for Excel.
My Formulas
 
Last edited:
I was hoping to see something in a Crystal reports formula
 
Hi,

Welcome to the New Tek-Tips.

If your value is in A1, the expression below in the Formula Bar gives you one values in B1 and the other value in C1.
Row 2 shows the FormulaText in columns B & C.
Rows 3-6 show the progression of the formula calculation in column B

Hope that helps.

EDIT: Didn't notice this is Crystal Reports. Sorry. Thought I was in a different Forum for Excel.
View attachment 18
 
I meant to post your formulas that return the 2 dollar amounts, not the interest rate. Please try again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top