Max Value in a cell

R

razlan

I want the value of a sum of few cellls to not exceed 50. Example ; Sum
(A1:E1) will show in F1 cell the value of 56. Can I make F1 cell shows
the value of 50 instead of 56. Tq for ur kind help.
 
J

JoeU2004

razlan said:
I want the value of a sum of few cellls to not exceed 50.
Example ; Sum (A1:E1) will show in F1 cell the value of 56.
Can I make F1 cell shows the value of 50 instead of 56.

=MIN(50, SUM(A1:E1))
 
B

Bernard Liengme

=MIN(SUM(A1:E1),50)
will return the Sum's value until it exceeds 50 and then it will return 50
best wishes
 
R

razlan

Thank you, JoeU2004 and Bernard.
The formula given by u works fine with me.
Warmest regards.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top