Saltar al contenido principal

¿Cómo cambiar números negativos a positivos en Excel?

Cuando procesa operaciones en Excel, a veces, es posible que deba cambiar los números negativos por números positivos o viceversa. ¿Hay algún truco rápido que pueda aplicar para cambiar números negativos a positivos? Este artículo le presentará los siguientes trucos para convertir fácilmente todos los números negativos en positivos o viceversa.

Cambie números negativos a positivos con la función especial Pegar

Cambie fácilmente números negativos a positivos con Kutools para Excel

Usando el código VBA para convertir todos los números negativos de un rango en positivos


Cambie números negativos a positivos con la función especial Pegar

Puede cambiar los números negativos a números positivos con los siguientes pasos:

1. Ingresar número -1 en una celda en blanco, seleccione esta celda y presione Ctrl + C teclas para copiarlo.

2. Seleccione todos los números negativos en el rango, haga clic derecho y seleccione Pegado especial… desde el menú contextual. Ver captura de pantalla:

Notas:
(1) Sosteniendo Ctrl clave, puede seleccionar todos los números negativos haciendo clic en ellos uno por uno;
(2) Si tiene Kutools para Excel instalado, puede aplicar su Seleccionar celdas especiales función para seleccionar todos los números negativos rápidamente. ¡Tenga una prueba gratis!

3. Y una Pegado especial Se mostrará el cuadro de diálogo, seleccione Todos opción de Pasta, seleccione Multiplicar opción de Operación, haga clic OK. Ver captura de pantalla:

4. Todos los números negativos seleccionados se convertirán en números positivos. Elimina el número -1 como necesites. Ver captura de pantalla:

Cambie fácilmente los números negativos a positivos en el rango especificado en Excel

En comparación con eliminar el signo negativo de las celdas una por una manualmente, Kutools para Excel Cambiar signo de valores La función proporciona una manera extremadamente fácil de cambiar rápidamente todos los números negativos a positivos en la selección. ¡Obtenga una prueba gratuita de 30 días con todas las funciones ahora!

anuncio convertir negativo a positivo

Kutools for Excel - Potencia Excel con más de 300 herramientas esenciales. ¡Disfrute de una prueba GRATUITA de 30 días con todas las funciones sin necesidad de tarjeta de crédito! Consíguelo ahora


Cambie rápida y fácilmente números negativos a positivos con Kutools para Excel

La mayoría de los usuarios de Excel no quieren usar el código VBA, ¿hay algún truco rápido para cambiar los números negativos en positivos? Kutools para sobresalir puede ayudarlo de manera fácil y cómoda a lograrlo.

Kutools for Excel - Potencia Excel con más de 300 herramientas esenciales. ¡Disfrute de una prueba GRATUITA de 30 días con todas las funciones sin necesidad de tarjeta de crédito! Consíguelo ahora

1. Seleccione un rango que incluya los números negativos que desea cambiar y haga clic en Kutools > Contenido > Cambiar signo de valores.

2. Comprobar Cambiar todos los valores negativos a positivos bajo OperaciónY haga clic en Ok. Ver captura de pantalla:

Ahora verá que todos los números negativos cambian a números positivos como se muestra a continuación:

Note: Con este Cambiar signo de valores función, también puede corregir los signos negativos finales, cambiar todos los números positivos a negativos, invertir el signo de todos los valores y cambiar todos los valores negativos a cero. ¡Tenga una prueba gratis!

(1) Cambie rápidamente todos los valores positivos a negativos en el rango especificado:

(2) Invierta fácilmente el signo de todos los valores en el rango especificado:

(3) Cambie fácilmente todos los valores negativos a cero en el rango especificado:

(4) Arregle fácilmente los signos negativos finales en el rango especificado:

Consejo: Para utilizar esta función, debe instalar Kutools for Excel primero, por favor haga clic para descargar y tener una prueba gratuita de 30 días ahora.

Usando el código VBA para convertir todos los números negativos de un rango en positivos

Como profesional de Excel, también puede ejecutar el código VBA para cambiar los números negativos a números positivos.

1. Presione las teclas Alt + F11 para abrir la ventana de Microsoft Visual Basic para Aplicaciones.

2. Aparecerá una nueva ventana. Hacer clic recuadro > Módulo, luego ingrese los siguientes códigos en el módulo:

Sub Positive
Dim Cel As Range
For Each Cel In Selection
If IsNumeric(Cel.Value) Then
Cel.Value = Abs(Cel.Value)
End If
Next Cel
End Sub

3. Luego haga clic Ejecutar botón o prensa F5 para ejecutar la aplicación, y todos los números negativos se cambiarán a números positivos. Ver captura de pantalla:


Demostración: cambie los números negativos a positivos o viceversa con Kutools para Excel


Kutools for Excel: ¡Más de 300 herramientas útiles a tu alcance! Comience hoy su prueba gratuita de 30 días sin limitaciones de funciones. ¡Descargar ahora!
Comments (31)
Rated 4.5 out of 5 · 1 ratings
This comment was minimized by the moderator on the site
=sqrt((numbers)^2)
This comment was minimized by the moderator on the site
Hi Kevin Alexander,
The SQRT function is a good way. However, if you want to convert a negative number to positive by excel formula/function, you can use the ABS function directly, =ABS(your_negative_number). For example, =ABS(-5) will return 5.
This comment was minimized by the moderator on the site
I chose a simpler solution, no formulas needed. First, to preserve the original data in case I goofed up, I copied the raw CMM measurement data in Worksheet 1 to Worksheet 2. Next, In Worksheet 2, I selected the multiple disconnected blocks of cells which had some negative numbers I wanted to convert to positive numbers. Then, I simply used the “replace” function to replace the minus sign with … nothing! It worked perfectly, and was clean; no formulas, no conditional formatting, and the raw unaltered data remained on Worksheet 1 as my backup resource. Applying a formula is not always the answer. I love using Excel to do data logging, tracking, analysis, and to answer so many math questions, both at work and personally. At work, I measure parts, and the machine measures distances to the left as negative numbers, and not just a positive number distance. Other measurements, though, are at a position of being on a datum X or Y, at zero. Those measurements will be off zero in the positive or negative direction, and I need hose occasional negative numbers to remain negative. That meant I had to select a partial column here, another there, and skip ones that measured around a zero target, then apply that “negative sign removal) to only those measurements that were negatives, but did not have zero as the target dimension. It is probably confusing until actually seeing the spreadsheet I was fixing, but the method I chose worked perfectly, and had no formula involved, just a clean minus-sign removal done as a “replace” edit. Thank you, Joel
This comment was minimized by the moderator on the site
Thank you so much!
This comment was minimized by the moderator on the site
use this formula (A1 is a cell reference in which you want to convert) =max(A1,-A1) What this formula does is to choose the highest number, and positive will normally be the highest number.
This comment was minimized by the moderator on the site
Taimoor, Your solution requires adding a column of formulas. The easiest way is to use "find and replace", as I explained here on 4/20/16. Enter a dash in the first line, nothing in the second, and replace as many of them as you want ("find next" or "replace all"). Not "complexed" at all. Your method creates clutter on the spreadsheet with a new column of formulas that requires the first column of negative numbers to remain, although it is now just a sub-component of the formulas column. Then, if you want to clean up the spreadsheet, you would have to hide that first column of negative numbers. Messy. No thank you. You say other people's methods are "complexed", but yours is not, IMHO, much, if any, of an improvement.
This comment was minimized by the moderator on the site
"Formulas? We don' need no ... " Click on Find and Replace. Enter a dash in the "Find What" section. Leave the "Replace With" section blank. Click "Replace All" and BAM! Negativity" gone. If you want to play it safe, and aren't sure about whether or not you will muck up your spreadsheet, copy Sheet 1 to Sheet 2, then perform the Find and Replace action with Sheet 2. If you like it, copy what you want and paste it back into Sheet 1. Safe as can be!
This comment was minimized by the moderator on the site
Click on that Negative Number. Right Click & go on Format Cell & click on 1234.
This comment was minimized by the moderator on the site
Sachin, when you go to "Format Cell, and do as you suggested, that does not change the value of the number, it will only change the format, the color. And you left out a couple steps: 1. what tab to click on (number?), and 2. what category in that tab do you choose, then 3. which style option do you select (which still will not change the VALUE of the number, only the appearance (negative numbers showing in red, for example).
This comment was minimized by the moderator on the site
It's so simple. Don't know why it's been explained in such a complexed manner. Suppose you have a column A with following values: Cell A: A2= -4000 A3= -5000 A4= -8000 Apply the formula in cell B2 =A2*(-1) And drag it down till the last value of column A. Done!
This comment was minimized by the moderator on the site
Just did the copy/paste -1 onto highlighted positive numbers and puff, like magic my job is done here. Big time saver big help
This comment was minimized by the moderator on the site
I've found highlighting the column hitting ctrl F, then replacing - with nothing will remove the -. Its easy
This comment was minimized by the moderator on the site
It is so simple if you multiply -1 with the value or column and drag the formula :)
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations