Limiting results of formula

CBlues

New Member
Joined
Apr 2, 2002
Messages
1
I am trying to limit the results of a formula to a maximum value of 100. The basic formula looks like this:
=(F19*G21)+(G19*G22)+(H19*G23)+I19

If anyone can tell me what needs to be done to limit the result to a maximum of 100 that would be great!
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
On 2002-04-03 14:08, CBlues wrote:
I am trying to limit the results of a formula to a maximum value of 100. The basic formula looks like this:
=(F19*G21)+(G19*G22)+(H19*G23)+I19

If anyone can tell me what needs to be done to limit the result to a maximum of 100 that would be great!

Hi,

Change the formula to:

=MIN(100,(F19*G21)+(G19*G22)+(H19*G23)+I19)

Bye,
Jay
 
Upvote 0
use and IF statement, ie:

=IF(((F19*G21)+(G19*G22)+(H19*G23)+I19)>100,100,(F19*G21)+(G19*G22)+(H19*G23)+I19)
 
Upvote 0
Hi CBlues


I would not suggest using such formulas without at least having some sort of flag as to which result is being returned. You may see 100 in the cell without realising the calculated formula is simply True for MIN(100)
 
Upvote 0

Forum statistics

Threads
1,213,549
Messages
6,114,264
Members
448,558
Latest member
aivin

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