1 Easy Trick to Make a Negative Number Positive in Excel

1 Easy Trick to Make a Negative Number Positive in Excel

Detrimental numbers are a pure a part of life, however they could be a ache to work with, particularly in Excel. When you’re attempting so as to add up a column of numbers and considered one of them is damaging, it may possibly throw off your whole calculation. Thankfully, there’s a straightforward solution to make a damaging quantity optimistic in Excel. Simply comply with these easy steps.

First, choose the cell that accommodates the damaging quantity. Then, click on on the “Dwelling” tab within the ribbon and discover the “Quantity” group. Within the “Quantity” group, click on on the “Cells” button and choose “Format Cells.” Within the “Format Cells” dialog field, click on on the “Quantity” tab. Then, underneath “Class,” choose “Customized.” Within the “Kind” discipline, enter the next method: "[Red]0;". This method will format the quantity as a optimistic quantity, even whether it is really damaging. Click on on the “OK” button to avoid wasting your modifications.

Now, the damaging quantity can be displayed as a optimistic quantity. You should use this method to make any damaging quantity optimistic. Simply do not forget that the method will solely change the way in which the quantity is displayed. It won’t change the precise worth of the quantity. If it is advisable calculate with the damaging quantity, you will want to enter it as a damaging quantity within the method.

How To Make A Negative Number Positive In Excel

Altering the Signal of the Quantity

To alter the signal of a quantity in Excel, you should utilize the minus signal (-) or the method ABS(). The minus signal merely modifications the signal of the quantity, whereas the ABS() method removes the damaging signal and returns absolutely the worth of the quantity. For instance, you probably have a cell that accommodates the quantity -10, you possibly can change the signal to optimistic by getting into the next method:

-(-10)

It will return the worth 10.

Here’s a desk summarizing the 2 strategies for altering the signal of a quantity in Excel:

Methodology Instance Outcome
Minus signal -(-10) 10
ABS() method =ABS(-10) 10

Using the ROUNDUP Perform

The ROUNDUP operate in Excel is a flexible device that may be utilized to spherical numbers as much as the closest specified a number of. By harnessing the ability of this operate, you possibly can effortlessly rework damaging numbers into optimistic ones. This is the way it works:

Firstly, choose the cell containing the damaging quantity you want to convert. Subsequently, navigate to the “Formulation” tab within the ribbon and click on on the “Math & Trig” operate class. Find and choose the ROUNDUP operate from the out there choices.

Inside the ROUNDUP operate’s syntax, specify the damaging quantity as the primary argument. For the second argument, enter the a number of to which you wish to spherical up. As an illustration, if you wish to spherical as much as the closest entire quantity, merely enter 1 because the second argument. When you need to spherical as much as the closest tenth, enter 0.1 because the second argument.

Upon getting into the suitable arguments, press the “Enter” key. Excel will immediately spherical up the damaging quantity to the desired a number of, successfully changing it right into a optimistic quantity. This system presents a simple and environment friendly solution to deal with and manipulate damaging numbers in your Excel spreadsheets.

ROUNDUP Perform Syntax Description
=ROUNDUP(quantity, a number of) Rounds the desired quantity as much as the closest a number of.

Highlighting Constructive Numbers with Conditional Formatting

Conditional formatting is a strong device in Excel that means that you can routinely apply formatting to cells based mostly on particular standards. You should use conditional formatting to focus on cells that include optimistic numbers, making it straightforward to determine them in a dataset.

Making use of Conditional Formatting to Detrimental Numbers

To use conditional formatting to focus on damaging numbers, comply with these steps:

  1. Choose the vary of cells you wish to format.
  2. Go to the “Dwelling” tab within the ribbon.
  3. Click on the “Conditional Formatting” button.
  4. Choose “New Rule…” from the drop-down menu.
  5. Within the “New Formatting Rule” dialog field, choose the “Use a method to find out which cells to format” possibility.
  6. Within the “Format values the place this method is true” field, enter the next method: =A1<0
  7. Click on the “Format” button and select the formatting you wish to apply to damaging numbers.
  8. Click on “OK” to use the conditional formatting rule.

Now, all of the damaging numbers within the chosen vary can be highlighted with the formatting you specified.

Extra Info

You can even use conditional formatting to focus on different forms of knowledge, corresponding to:

Standards System
Constructive numbers =A1>0
Zero =A1=0
Textual content =ISTEXT(A1)
Particular worth =A1=”worth”

Making a Customized System

If the built-in capabilities do not meet your particular wants, you possibly can create a customized method utilizing the IF operate. The IF operate evaluates a logical expression and returns a unique worth relying on whether or not the expression is TRUE or FALSE.

Syntax

IF(logical_test, value_if_true, value_if_false)

Instance

To make a damaging quantity optimistic utilizing a customized method, you should utilize the next method:

“`
=IF(A1<0, -A1, A1)
“`

On this method, A1 is the cell containing the damaging quantity. If the worth in A1 is lower than 0, the method will multiply it by -1 to make it optimistic. If the worth in A1 is 0 or better, the method will merely return the worth in A1.

7. Detrimental Numbers to Constructive Numbers Examples

Detrimental Quantity Constructive Quantity System
-5 5 =IF(A1<0, -A1, A1)
-10 10 =IF(A1<0, -A1, A1)
-15 15 =IF(A1<0, -A1, A1)

As you possibly can see, the customized method works for all damaging numbers, changing them to their optimistic counterparts. This technique is especially helpful when it is advisable work with a lot of damaging values and wish to automate the method of creating them optimistic.

How To Make A Detrimental Quantity Constructive In Excel

When coping with damaging numbers in Excel, chances are you’ll generally wish to convert them to optimistic values. There are a number of methods to do that, relying in your particular wants. Listed below are two frequent strategies:

  1. Use the ABS Perform: Making use of the ABS operate to a damaging quantity returns its absolute worth, which is all the time optimistic. The syntax for the ABS operate is =ABS(quantity), the place “quantity” is the damaging worth you wish to convert. For instance, =ABS(-10) would return 10.
  2. Multiply by -1: Multiplying a damaging quantity by -1 leads to a optimistic worth. This technique is simple and might be achieved in Excel by merely including a damaging signal (-) earlier than the quantity. As an illustration, -(-10) would end in 10.

Folks Additionally Ask About How To Make A Detrimental Quantity Constructive In Excel

Can I take advantage of a method to vary a number of damaging numbers to optimistic?

Sure, you should utilize the ABS operate in a method to transform a number of damaging numbers to optimistic values. For instance, the method =ABS(A1:A10) would convert all damaging numbers within the vary A1:A10 to optimistic.

Is there a solution to make all damaging numbers in a column optimistic?

To make all damaging numbers in a column optimistic, you should utilize the Discover and Exchange characteristic in Excel. Choose the column, press Ctrl + F to open the Discover and Exchange dialog field, and enter “-1” (with out quotes) within the “Discover what” discipline and “1” (with out quotes) within the “Exchange with” discipline. Then click on “Exchange All” to vary all damaging numbers to optimistic.