OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

copying positive and negative numbers one column to another

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Calc
View previous topic :: View next topic  
Author Message
BertrandSz
Newbie
Newbie


Joined: 24 May 2012
Posts: 1

PostPosted: Thu May 24, 2012 4:45 pm    Post subject: copying positive and negative numbers one column to another Reply with quote

Hello,

My Dad the retired engineer is asking me for some tech support in OO Calc, help!

He has column E, F, G

In E he has a list of positive and negative numbers. Such as:

56
-9
90
-3.7

He is asking how you do a formula so that the positive numbers in column E are copied in the same row in column F and the negative numbers in column E are copied (times -1) in column G so that you get something like:

Code:

56      56   
-9                9
90      90
-3.7             3.7


We looked at the help file, googled it, tried formulas, looked at how Excel does it and tried imitating. What is the trick, how do you do that?

Be kind, help out an unworthy son.

And thanks in advance!

Cheers,
Bert
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
ken johnson
Super User
Super User


Joined: 23 Apr 2009
Posts: 2032
Location: Sydney, Australia

PostPosted: Thu May 24, 2012 5:07 pm    Post subject: Reply with quote

If the column E values start in E2 then try...
Code:
=IF(E2>=0;E2;"")
in F2 and
Code:
=IF(E2<0;ABS(E2);"")
in G2 then select F2:G2 and double-click the fill handle.

Ken Johnson
_________________
If your problem has been solved please add "[Solved]" to the beginning of your first post title (edit button).
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Calc All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group