I need help with a formula. I need C22 to return a value of O5 x C21,
but the value of C22 should never be higher than the value in Z98 and
never lower than the value in Z99. Right now, all I have in C22 is
*=O5*C21 *but of course it returns higher than Z98 or lower than Z99 so
my spreadsheet won't work. Can anyone help? Thanks in advance!--
sharkfoot
------------------------------------------------------------------------
sharkfoot's Profile: www.excelforum.com/member.php...oamp;userid=32164
View this thread: www.excelforum.com/showthread...hreadid=519148Hi
What do you want if O5*c21 is less than Z99 or more than Z98?
Andy.
quot;sharkfootquot; gt; wrote
in message ...
gt;
gt; I need help with a formula. I need C22 to return a value of O5 x C21,
gt; but the value of C22 should never be higher than the value in Z98 and
gt; never lower than the value in Z99. Right now, all I have in C22 is
gt; *=O5*C21 *but of course it returns higher than Z98 or lower than Z99 so
gt; my spreadsheet won't work. Can anyone help? Thanks in advance!
gt;
gt;
gt; --
gt; sharkfoot
gt; ------------------------------------------------------------------------
gt; sharkfoot's Profile:
gt; www.excelforum.com/member.php...oamp;userid=32164
gt; View this thread: www.excelforum.com/showthread...hreadid=519148
gt;
In C22 put the formula .MIN(MAX(Z99,05*C21),Z98) edwhoops: that should have a = in front of it
=MIN(MAX(Z99,.05*C21),Z28)
- May 27 Tue 2008 20:44
Maximum and minimum cell value
close
全站熱搜
留言列表
發表留言
留言列表

