ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   MS Excel (https://www.excelbanter.com/excel-discussion-misc-queries/31255-ms-excel.html)

Gav

MS Excel
 
Does any one know the formula for converting positive figures to Negatives

Bob Phillips

=IF(A10,-A1,A1)

--
HTH

Bob Phillips

"Gav" wrote in message
...
Does any one know the formula for converting positive figures to Negatives




Dave Peterson

=if(a10,-a1,a1)

or ...

=-abs(a1)

==========
If you're careful, you can do this without formulas.
Put -1 in an empty cell
copy that cell
select your cells to change (click on the first and ctrl-click on subsequent)
edit|paste special|check multiply

Clean up that helper cell with -1 in it.



Gav wrote:

Does any one know the formula for converting positive figures to Negatives


--

Dave Peterson


All times are GMT +1. The time now is 12:27 PM.

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