taking a number times a percentage, then dividing by that percentage does not equal zero, why?

ChristopherBaber

New Member
Joined
Jun 11, 2023
Messages
5
Office Version
  1. 365
Platform
  1. Windows
I'm taking fee1 + fee2 - refund - total paid / 35%
where total paid = 35% of fee1 + fee2 - refund

and I'm getting something like -2.8421709430404E-15 instead of 0

what is getting rounded to cause this issue?

the formula I'm using is

=(SUMIFS([@[Fee1]],[@[Fee1 Paid Date]],"<="&$U$1)+SUMIFS([@[Fee2]],[@[Fee2 Paid Date]],"<="&$U$1)-SUMIFS([@[Fees Refund]],[@[Refund Date]],"<="&$U$1)-[@[Total Paid ]]/35%)*5%

*$U$1= some date

I'm trying to calculate how much I might still owe someone. I pay a 35% commission on fee1 plus fee2. If I've already paid them their 35%, I think the formula above should show that I owe them 0, but it's rounding somewhere and showing I owe them -2.8421709430404E-15 instead of zero.

Where is the issue, and how do I fix it?
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Upvote 0
Upvote 0

Forum statistics

Threads
1,223,905
Messages
6,175,297
Members
452,633
Latest member
DougMo

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top