Need to get rid of negative numbers

dudoubleb

New Member
Joined
Jun 15, 2005
Messages
27
Subtracting one column from another that sometimes results in a negative number....instead of a negative number i want the result displayed as 0.001
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
A pointless alternative (but it works).

=--TEXT(A1-B1,"[<0]""0.001"";0.000")
 
Upvote 0
ABS won't return .001 if it is a negative number.

Try 4 in A1 and 7 in B1.
 
Upvote 0
but not quite the same result if a1-b1 = anything between .001 and 0

You are right.

I assumed that since the OP wants negatives as 0.001 and not 0 that 0.001 was ok as a minimum value. I should, however, have written this.

Thanks for pointing it out.
 
Upvote 0

Forum statistics

Threads
1,215,521
Messages
6,125,308
Members
449,218
Latest member
Excel Master

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