Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
RDW
 
Posts: n/a
Default Need excel formula for "if A1<0 adjust A2"

I need an Excel formula for the following function "if value is less than or
greater than 0 adjust value in cell reference A1 to give a result of 0". I
know this can be achieved manually using Goal Seek but I was wondering if
this can be achieved automatically using a formula.
  #2   Report Post  
Posted to microsoft.public.excel.misc
Gary''s Student
 
Posts: n/a
Default Need excel formula for "if A1<0 adjust A2"

In cell A2 enter:
=IF(A1<=0,0,123)

just replace 123 with whatever value you desire
--
Gary's Student


"RDW" wrote:

I need an Excel formula for the following function "if value is less than or
greater than 0 adjust value in cell reference A1 to give a result of 0". I
know this can be achieved manually using Goal Seek but I was wondering if
this can be achieved automatically using a formula.

  #3   Report Post  
Posted to microsoft.public.excel.misc
RDW
 
Posts: n/a
Default Need excel formula for "if A1<0 adjust A2"

Thanks for the reply. I tried your formula but unfortunately it didn't work.
Maybe this explains my question a little better;

A1 + A2 = 0

If A2's value changes automatically adjust the value in A1 so the rusult
remains at 0.

"Gary''s Student" wrote:

In cell A2 enter:
=IF(A1<=0,0,123)

just replace 123 with whatever value you desire
--
Gary's Student


"RDW" wrote:

I need an Excel formula for the following function "if value is less than or
greater than 0 adjust value in cell reference A1 to give a result of 0". I
know this can be achieved manually using Goal Seek but I was wondering if
this can be achieved automatically using a formula.

  #4   Report Post  
Posted to microsoft.public.excel.misc
Dan
 
Posts: n/a
Default Need excel formula for "if A1<0 adjust A2"

You won't be able to adjust A1 since you either enter data in the cell OR a
formula in the cell. The best you can do is calculate the value needed as
Gary's Student suggested and store this in another cell.

What you can do is take all of these calculated values copy them and then
Paste Special - Values Only over the orignial data. If you don't use the
Values Only, you will probably get a circular reference error.

"RDW" wrote:

Thanks for the reply. I tried your formula but unfortunately it didn't work.
Maybe this explains my question a little better;

A1 + A2 = 0

If A2's value changes automatically adjust the value in A1 so the rusult
remains at 0.

"Gary''s Student" wrote:

In cell A2 enter:
=IF(A1<=0,0,123)

just replace 123 with whatever value you desire
--
Gary's Student


"RDW" wrote:

I need an Excel formula for the following function "if value is less than or
greater than 0 adjust value in cell reference A1 to give a result of 0". I
know this can be achieved manually using Goal Seek but I was wondering if
this can be achieved automatically using a formula.

  #5   Report Post  
Posted to microsoft.public.excel.misc
GregP1962
 
Posts: n/a
Default Need excel formula for "if A1<0 adjust A2"


I think this is what you are looking for;

=if(FORMULA IN CELL<0,0,FORMULA IN CELL)


--
GregP1962
------------------------------------------------------------------------
GregP1962's Profile: http://www.excelforum.com/member.php...o&userid=33063
View this thread: http://www.excelforum.com/showthread...hreadid=534943



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
Excel displaying formulae as constant and not calculating formula gpbell Excel Worksheet Functions 2 February 16th 06 08:26 AM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
How can i get an If formula in excel to edit another cell? Jimmy Hoffa Excel Worksheet Functions 2 August 16th 05 05:53 PM
converting formula from lotus.123 to excel zaharah Excel Worksheet Functions 2 July 27th 05 03:04 PM
Formula Integrity Not Preserved During Sort in Excel 2000 Kevin Excel Discussion (Misc queries) 1 April 15th 05 10:26 PM


All times are GMT +1. The time now is 03:34 PM.

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"