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/136455-re-reverse-value-column.html)

Mike

Reverse value in a column
 
You need a helper column so assuming you numbers are in column A type this in
B1 and drag down as required.

=IF(A1<0,A1,A1*-1)

Mike

"rb" wrote:

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 04:14 PM.

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