Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
CadensDad
 
Posts: n/a
Default IF positive/If negative????


I have a column set up where I will be entering numbers. My problem is
that if the number is entered as a negative number I want the cell to
the right of it to do a certain calculation. However if the number I
enter is a positive number I would like a different calculation to be
done in that cell to the right. I hope I am not too confusing on this.


Basically when all is said and done I would like Ex.

A1 has -130 entered in it then A2 has the result of 1.77 (rounded to 2
dec. points)
or
A1 has 120 entered in it then A2 would have the result of 2.2

here is how I get to those numbers
my calculation for the cells are for A1 is 1+(100/130) giving a 1.77. I
would like the negative number entered actually changed to a positive
for this calculation.

for there is a positive number entered I would like this calculation.

1+(120*.01) giving a 2.2


--
CadensDad
------------------------------------------------------------------------
CadensDad's Profile: http://www.excelforum.com/member.php...o&userid=17469
View this thread: http://www.excelforum.com/showthread...hreadid=476222

  #2   Report Post  
Richard Buttrey
 
Posts: n/a
Default


=IF(A1<0,1+ABS(100/A1),1+(A1*0.01))

Rgds

On Fri, 14 Oct 2005 07:45:09 -0500, CadensDad
wrote:


I have a column set up where I will be entering numbers. My problem is
that if the number is entered as a negative number I want the cell to
the right of it to do a certain calculation. However if the number I
enter is a positive number I would like a different calculation to be
done in that cell to the right. I hope I am not too confusing on this.


Basically when all is said and done I would like Ex.

A1 has -130 entered in it then A2 has the result of 1.77 (rounded to 2
dec. points)
or
A1 has 120 entered in it then A2 would have the result of 2.2

here is how I get to those numbers
my calculation for the cells are for A1 is 1+(100/130) giving a 1.77. I
would like the negative number entered actually changed to a positive
for this calculation.

for there is a positive number entered I would like this calculation.

1+(120*.01) giving a 2.2


__
Richard Buttrey
Grappenhall, Cheshire, UK
__________________________
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
Formula to make Negative Values Positive & Positive Values Negative? mustard Excel Discussion (Misc queries) 4 September 26th 05 11:05 PM
irritating warning for negative data on log charts Roger Charts and Charting in Excel 0 September 10th 05 01:04 AM
Negative Values Only [email protected] Excel Discussion (Misc queries) 1 August 8th 05 09:58 PM
Summing negative time Bumblebee Excel Discussion (Misc queries) 8 July 29th 05 03:02 AM
How do I replace a negative number at the end of a formula with a. dealn2 Excel Discussion (Misc queries) 5 December 23rd 04 08:47 PM


All times are GMT +1. The time now is 07:51 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"