# FORMULA

#### sitelbanat

##### Board Regular
Is there any command I can use to say up to in a formula, for example calculate up to 56

### Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a \$25,000 loan, 5% annual interest, 60 month loan.

#### Richard Schollar

##### MrExcel MVP
Hi

You are going to have to provide some contextual information here as to what exactly you are trying to achieve. 56 what?

Best regards

Richard

#### Andrew Poulsom

##### MrExcel MVP
You mean?

=MIN(56,YourFormula)

#### daniels012

##### Well-known Member
Give us an example of what you are trying to accomplish. More info in your subject will get you more hits aslo!

Michael

#### Smitty

##### Legend
Something like this:

=MIN(56,A1)

Will return any number in A1 up to 56.

Hope that helps,

Smitty

Replies
0
Views
761
Replies
3
Views
171
Replies
7
Views
677
Replies
4
Views
187
Replies
4
Views
161

1,172,048
Messages
5,878,891
Members
433,380
Latest member

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