ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Set a limit on cell value, so that it does not exceed a set figure (https://www.excelbanter.com/excel-discussion-misc-queries/33869-set-limit-cell-value-so-does-not-exceed-set-figure.html)

lennysc14

Set a limit on cell value, so that it does not exceed a set figure
 
How do I ensure that a value displayed in a cell does not exceed a set figure?

bj

If this is a cell into which people input data check out <data<validation
if this is from a formula
=min(Value,formula)

"lennysc14" wrote:

How do I ensure that a value displayed in a cell does not exceed a set figure?


lennysc14

I need to ensure that the percentage sum of two cells does not exceed a set
figure

"lennysc14" wrote:

How do I ensure that a value displayed in a cell does not exceed a set figure?


RagDyer

If the set figure is 100, try any of these:

=MIN(A1*B1,100)
=MIN(A1+B1,100)
=MIN(SUM(A1:A25,100)
--
HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================


"lennysc14" wrote in message
...
I need to ensure that the percentage sum of two cells does not exceed a

set
figure

"lennysc14" wrote:

How do I ensure that a value displayed in a cell does not exceed a set

figure?



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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com