Adverse numbers are a pure a part of life, however they could be a ache to work with, particularly in Excel. In the event you’re making an attempt so as to add up a column of numbers and certainly one of them is unfavourable, it could actually throw off your whole calculation. Fortuitously, there’s a simple solution to make a unfavourable quantity optimistic in Excel. Simply observe these easy steps.
First, choose the cell that comprises the unfavourable quantity. Then, click on on the “House” 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 “Sort” discipline, enter the next components: "[Red]0;". This components 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 should use this components to make any unfavourable quantity optimistic. Simply keep in mind that the components will solely change the way in which the quantity is displayed. It won’t change the precise worth of the quantity. If you want to calculate with the unfavourable quantity, you will have to enter it as a unfavourable quantity within the components.
Altering the Signal of the Quantity
To vary the signal of a quantity in Excel, you should utilize the minus signal (-) or the components ABS(). The minus signal merely adjustments the signal of the quantity, whereas the ABS() components removes the unfavourable signal and returns absolutely the worth of the quantity. For instance, you probably have a cell that comprises the quantity -10, you may change the signal to optimistic by getting into the next components:
-(-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 | Consequence |
|---|---|---|
| Minus signal | -(-10) | 10 |
| ABS() components | =ABS(-10) | 10 |
Using the ROUNDUP Perform
The ROUNDUP perform in Excel is a flexible software that may be utilized to spherical numbers as much as the closest specified a number of. By harnessing the ability of this perform, you may effortlessly rework unfavourable numbers into optimistic ones. Here 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” perform class. Find and choose the ROUNDUP perform from the accessible choices.
Inside the ROUNDUP perform’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 illustration, if you wish to spherical as much as the closest entire quantity, merely enter 1 because the second argument. In the event you want 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 required a number of, successfully changing it right into a optimistic quantity. This method affords an easy and environment friendly solution to deal with and manipulate unfavourable numbers in your Excel spreadsheets.
| ROUNDUP Perform Syntax | Description |
|---|---|
| =ROUNDUP(quantity, a number of) | Rounds the required quantity as much as the closest a number of. |
Highlighting Constructive Numbers with Conditional Formatting
Conditional formatting is a robust software in Excel that lets you robotically apply formatting to cells primarily based on particular standards. You should use conditional formatting to spotlight cells that comprise optimistic numbers, making it straightforward to determine them in a dataset.
Making use of Conditional Formatting to Adverse Numbers
To use conditional formatting to spotlight unfavourable numbers, observe these steps:
- Choose the vary of cells you need to format.
- Go to the “House” tab within the ribbon.
- Click on the “Conditional Formatting” button.
- Choose “New Rule…” from the drop-down menu.
- Within the “New Formatting Rule” dialog field, choose the “Use a components to find out which cells to format” choice.
- Within the “Format values the place this components is true” field, enter the next components: =A1<0
- Click on the “Format” button and select the formatting you need to apply to unfavourable numbers.
- 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 also use conditional formatting to spotlight different forms of knowledge, akin to:
| Standards | Components |
|---|---|
| Constructive numbers | =A1>0 |
| Zero | =A1=0 |
| Textual content | =ISTEXT(A1) |
| Particular worth | =A1=”worth” |
Making a Customized Components
If the built-in features do not meet your particular wants, you may create a customized components utilizing the IF perform. The IF perform 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 components, you should utilize the next components:
“`
=IF(A1<0, -A1, A1)
“`
On this components, A1 is the cell containing the unfavourable quantity. If the worth in A1 is lower than 0, the components will multiply it by -1 to make it optimistic. If the worth in A1 is 0 or larger, the components will merely return the worth in A1.
7. Adverse Numbers to Constructive Numbers Examples
| Adverse Quantity | Constructive Quantity | Components |
|---|---|---|
| -5 | 5 | =IF(A1<0, -A1, A1) |
| -10 | 10 | =IF(A1<0, -A1, A1) |
| -15 | 15 | =IF(A1<0, -A1, A1) |
As you may see, the customized components works for all unfavourable numbers, changing them to their optimistic counterparts. This technique is especially helpful when you want to work with numerous unfavourable values and need to automate the method of constructing them optimistic.
How To Make A Adverse Quantity Constructive In Excel
When coping with unfavourable numbers in Excel, you might typically need to convert them to optimistic values. There are a number of methods to do that, relying in your particular wants. Listed here are two widespread strategies:
- Use the ABS Perform: Making use of the ABS perform to a unfavourable quantity returns its absolute worth, which is at all times optimistic. The syntax for the ABS perform is =ABS(quantity), the place “quantity” is the unfavourable worth you need to convert. For instance, =ABS(-10) would return 10.
- Multiply by -1: Multiplying a unfavourable quantity by -1 ends in a optimistic worth. This technique is simple and will be achieved in Excel by merely including a unfavourable signal (-) earlier than the quantity. As an illustration, -(-10) would lead to 10.
Folks Additionally Ask About How To Make A Adverse Quantity Constructive In Excel
Can I take advantage of a components to alter a number of unfavourable numbers to optimistic?
Sure, you should utilize the ABS perform in a components to transform a number of unfavourable numbers to optimistic values. For instance, the components =ABS(A1:A10) would convert all unfavourable numbers within the vary A1:A10 to optimistic.
Is there a solution to make all unfavourable numbers in a column optimistic?
To make all unfavourable numbers in a column optimistic, you should utilize the Discover and Substitute function in Excel. Choose the column, press Ctrl + F to open the Discover and Substitute dialog field, and enter “-1” (with out quotes) within the “Discover what” discipline and “1” (with out quotes) within the “Substitute with” discipline. Then click on “Substitute All” to alter all unfavourable numbers to optimistic.