# IF over 100 then display value 100

#### kelv

##### New Member
I have a formula already existing;

=IF(C13=0,0,SUM(C13/(N13*32)*100))

All fields are formatted as numbers.

If the value of this Formula is greater than 100 then I want to display "100" . i.e. 100 should be the max value in the cell.

Current Layout

C13 N13 Formula Cell
 775 24 100.91

<TBODY>
</TBODY>

Required Layout

C13 N13 Formula Cell
 775 24 100

<TBODY>
</TBODY>

The original formula (or similar) must remain + the max value of 100. When I try to add in if greater than 100 then = 100 I am displaying an error.

Any help appreicated - thanks.

### Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
=if(c13=0,0,min(100,sum(c13/(n13*32)*100)))

Isn't that just

=MIN(100,C13/(N13*32)*100)

If C13 is zero, the expression C13/(N13*32)*100 will also be zero.

It certainly is.
Sorry, didn't give it much thought.

Replies
4
Views
113
Replies
3
Views
489
Replies
3
Views
127
Replies
6
Views
219
Replies
5
Views
88

1,203,171
Messages
6,053,874
Members
444,692
Latest member
Queendom

### 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.

### Which adblocker are you using?

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

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