ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Reverse value in a column (https://www.excelbanter.com/excel-worksheet-functions/136792-reverse-value-column.html)

RB

Reverse value in a column
 
If I have a column with numbers and there are both positive and negative
numbers and I want to change all positive numbers to negative in one formula.
I know how to change negative into positive.

David Biddulph[_2_]

Reverse value in a column
 
If you want to change +ve to -ve and leave the -ve unchanged, use =-ABS(A1)
If you want to change +ve to -ve and -ve to +ve, use =-A1

Copy the formula down the column.
--
David Biddulph

"rb" wrote in message
...
If I have a column with numbers and there are both positive and negative
numbers and I want to change all positive numbers to negative in one
formula.
I know how to change negative into positive.





All times are GMT +1. The time now is 05:05 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com