Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 29
Default I have a column of 50 numbers

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default I have a column of 50 numbers

=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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing A Column Of Text numbers To True Numbers: How ? Robert11[_3_] New Users to Excel 2 March 4th 09 09:08 PM
How do I convert a column of positive numbers to negitive numbers JMason Excel Worksheet Functions 2 January 22nd 09 02:12 AM
Excel, change column of negative numbers to positive numbers? Nita New Users to Excel 3 November 27th 07 04:54 AM
Can I change a column of calculated numbers to absolute numbers? Kate Bissell Excel Discussion (Misc queries) 3 October 25th 06 06:10 PM
Excel Formula - Add column of numbers but ignore negative numbers view for Distribution List members Excel Worksheet Functions 1 April 7th 06 03:13 AM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"