Change positive numbers to negative in Excel and Google Sheets
=IF(A2>0,-A2,A2)
=IF(A2>0,-A2,A2)
=IF(A2>0,-A2,A2)
The condition is to find if the cell is less than zero and if TRUE changes to negative and keep the same value if the cell has negative data.
💡 If you want to change the 0 value as well to a negative value, change the condition from >0 to >=0
=IF(A2>0,-A2,A2)
The condition is to find if the cell is less than zero and if TRUE changes to negative and keep the same value if the cell has negative data.
💡 If you want to change the 0 value as well to a negative value, change the condition from >0 to >=0