amount less a percentage only if amount is not 0

JLRjersey

New Member
Joined
Jan 29, 2022
Messages
3
Platform
  1. MacOS
How do I calculate an amount minus 1.69% in a cell ONLY if that number is greater than 0? ie I don't want a negative amount if the amount is zero, ie A1 is £20, A2 is £20 less 1.69% but if A1 is £0 A2 must also be £0 not -£0.02
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Hi & welcome to MrExcel.
How about
Excel Formula:
=MAX(0,A1-1.69%)
 
Upvote 0
Oops, missed the 2nd A1
Excel Formula:
=MAX(0,A1-1.69%*A1)
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0
That expression (the original) will never be negative, 1.69% of zero is of course zero
 
Upvote 0

Forum statistics

Threads
1,216,115
Messages
6,128,919
Members
449,478
Latest member
Davenil

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