1 Easy Trick to Make a Negative Number Positive in Excel

1 Easy Trick to Make a Negative Number Positive in Excel

Adverse numbers are a pure a part of life, however they could be a ache to work with, particularly in Excel. Should you’re making an attempt so as to add up a column of numbers and one in all them is unfavourable, it could actually throw off your whole calculation. Happily, there’s a straightforward method to make a unfavourable quantity optimistic in Excel. Simply observe these easy steps.

First, choose the cell that accommodates the unfavourable quantity. Then, click on on the “Residence” 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, below “Class,” choose “Customized.” Within the “Sort” discipline, enter the next method: "[Red]0;". This method will format the quantity as a optimistic quantity, even whether it is really unfavourable. Click on on the “OK” button to avoid wasting your adjustments.

Now, the unfavourable quantity can be displayed as a optimistic quantity. You need to use this method to make any unfavourable quantity optimistic. Simply do not forget that the method will solely change the best way the quantity is displayed. It is not going to change the precise worth of the quantity. If it’s worthwhile to calculate with the unfavourable quantity, you will have to enter it as a unfavourable quantity within the method.

How To Make A Negative Number Positive In Excel

Altering the Signal of the Quantity

To vary the signal of a quantity in Excel, you need to use the minus signal (-) or the method ABS(). The minus signal merely adjustments the signal of the quantity, whereas the ABS() method removes the unfavourable signal and returns absolutely the worth of the quantity. For instance, if in case you have a cell that accommodates the quantity -10, you possibly can change the signal to optimistic by getting into the next method:

-(-10)

This can return the worth 10.

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

Methodology Instance End result
Minus signal -(-10) 10
ABS() method =ABS(-10) 10

Using the ROUNDUP Perform

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

Firstly, choose the cell containing the unfavourable 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 unfavourable quantity as the primary argument. For the second argument, enter the a number of to which you need to spherical up. As an example, if you wish to spherical as much as the closest complete quantity, merely enter 1 because the second argument. Should 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 unfavourable quantity to the desired a number of, successfully changing it right into a optimistic quantity. This method presents an easy and environment friendly method to deal with and manipulate unfavourable 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 Optimistic Numbers with Conditional Formatting

Conditional formatting is a strong instrument in Excel that means that you can mechanically apply formatting to cells primarily based on particular standards. You need to 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 Adverse Numbers

To use conditional formatting to focus on unfavourable numbers, observe these steps:

  1. Choose the vary of cells you need to format.
  2. Go to the “Residence” 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 need to apply to unfavourable numbers.
  8. Click on “OK” to use the conditional formatting rule.

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

Further Info

You may as well use conditional formatting to focus on different sorts of information, comparable to:

Standards Formulation
Optimistic numbers =A1>0
Zero =A1=0
Textual content =ISTEXT(A1)
Particular worth =A1=”worth”

Making a Customized Formulation

If the built-in features 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 unfavourable quantity optimistic utilizing a customized method, you need to use the next method:

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

On this method, A1 is the cell containing the unfavourable 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 larger, the method will merely return the worth in A1.

7. Adverse Numbers to Optimistic Numbers Examples

Adverse Quantity Optimistic Quantity Formulation
-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 unfavourable numbers, changing them to their optimistic counterparts. This technique is especially helpful when it’s worthwhile to work with a lot of unfavourable values and need to automate the method of constructing them optimistic.

How To Make A Adverse Quantity Optimistic In Excel

When coping with unfavourable numbers in Excel, chances are you’ll generally need 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 unfavourable quantity returns its absolute worth, which is at all times optimistic. The syntax for the ABS operate is =ABS(quantity), the place “quantity” is the unfavourable worth you need to convert. For instance, =ABS(-10) would return 10.
  2. Multiply by -1: Multiplying a unfavourable quantity by -1 ends in a optimistic worth. This technique is simple and could be achieved in Excel by merely including a unfavourable signal (-) earlier than the quantity. As an example, -(-10) would end in 10.

Folks Additionally Ask About How To Make A Adverse Quantity Optimistic In Excel

Can I exploit a method to vary a number of unfavourable numbers to optimistic?

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

Is there a method to make all unfavourable numbers in a column optimistic?

To make all unfavourable numbers in a column optimistic, you need to use 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 unfavourable numbers to optimistic.