Changing formula

Davg

Board Regular
Joined
Jul 19, 2011
Messages
62
I have a formula for which the value changes between 0 and a number greater than 0. What I need is for the formula in that cell, or a formula in another cell, to always return the number greater than 0 if it ever occurs.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Hi there,

Try this where the cell housing the amount is A2 (change to suit):

=IF(A2>0,A2,0)

HTH

Robert
 
Upvote 0
Just tried that but it changes back to 0 once A2 changes to 0...
I guess this is because the logical test fails i.e. A2 is not > 0 so the false result is output i.e. 0
 
Upvote 0
I guess this is because the logical test fails i.e. A2 is not > 0 so the false result is output i.e. 0

Correct. What you like the formula to return if the value is not greater than zero?
 
Upvote 0
I think that's it! Thanks, the circular formula seems to be working. I didn't even know you could do circular formulas. Thanks again.
 
Upvote 0

Forum statistics

Threads
1,224,550
Messages
6,179,459
Members
452,915
Latest member
hannnahheileen

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top