Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
some are positive some are negative. I need to add +2 to the positive
numbers, and -2 to the negative numbers. 4 will become 6 and -12 become -14. I recieved help adding +1 and -1, but now +2/-2 are needed. Thanks |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=IF(A1<0,A1-2,IF(A10,A1+2,"I haven't said what I want to do if the original
number is zero")) or, making a guess at your unspecified result, =A1+2*SIGN(A1) -- David Biddulph "Skip" wrote in message ... some are positive some are negative. I need to add +2 to the positive numbers, and -2 to the negative numbers. 4 will become 6 and -12 become -14. I recieved help adding +1 and -1, but now +2/-2 are needed. Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Changing A Column Of Text numbers To True Numbers: How ? | New Users to Excel | |||
How do I convert a column of positive numbers to negitive numbers | Excel Worksheet Functions | |||
Excel, change column of negative numbers to positive numbers? | New Users to Excel | |||
Can I change a column of calculated numbers to absolute numbers? | Excel Discussion (Misc queries) | |||
Excel Formula - Add column of numbers but ignore negative numbers | Excel Worksheet Functions |