# Calculate Cap Percentages to Specific Value

If you are a newbie on Excel or google Sheets, you may be able to do this task manually. This method works for tasks with a small amount of data, but it is not a wise method for large amounts of data because it will consume a lot of your time.

How can you quickly calculate the cap percentage of a set of amount values? When you calculated the cap percentage of the amount, how do you limit that value to a given value? You can read the following section where we will explain how to do this with formulas in Microsoft Excel or google sheets.

## Calculate the cap percentage on a given amount

You can use the MIN function in Google Sheets or Microsoft Excel Spreadsheet to limit the cap percentage of a given amount to a specific value.

Suppose we have an amount value of 1500 and we need to calculate the upper limit of ten percent of that amount value and return 100 if the calculated cap value is greater than 100, or return that cap value if the calculated cap value is less than 100.

The general formula to complete this task is as follows.

`=MIN(B1*percentage,100)`

By executing this formula, you can always limit the cap percentage value of the amount value to 100.

### Explanation of the formula

Let’s look at how this formula works：

Here are the three logics implemented in this formula.

• The MIN formula returns the cap percentage value when the calculated cap percentage value is less than 100.
• The MIN formula returns 100 when the calculated upper percentage value is greater than 100.
• The MIN formula returns 100 when the calculated upper percentage value is equal to 100.

From the above explanation, we can see that the MIN function can return the smallest value between the two values, but also can be used to achieve similar to the IF function can be used to select a specific value of the processing logic. Therefore, sometimes we can also use the MIN function instead of the IF function to complete our task.

### Related Functions

The Google Sheets IF function perform a logical test to return one value if the condition is TRUE and return another value if the condition is FALSE. The IF function is a build-in function in Google Sheets and it is categorized as a Logical Function.The syntax of the IF function is as below:= IF (condition, [true_value],
The Google Sheets MIN function returns the smallest numeric value from the numbers that you provided. Or returns the smallest value in the array.The MIN function is a build-in function in Google Sheets and it is categorized as a Statistical Function.The syntax of the MIN function is as below:= MIN(num1,[num2,…numn])….

Related Posts

Phone Number Format in Excel

Sometimes when we import phone numbers from external sources, the formatting of the phone numbers is removed. Even if in some situations the phone numbers are not imported from external resource, sometimes the phone numbers in worksheet are not displayed ...

Check Cell If Contains One of Many with Exclusions

In Microsoft Excel Spreadsheet or google sheets, when cells contain multiple strings, how can we accomplish this task if you want to check whether these cells contain more than one given string and exclude other given strings? In this article, ...

If Cell Contain Specific Text

This article will explain how to check if a cell contains text or a specific text string in Google Sheets or Microsoft Excel spreadsheets. In our daily work, we often look for specific text in worksheets containing large amounts of ...

Cell Contains Number

This article will talk about how to check if a given cell contains any numbers in Microsoft Excel Spreadsheet or Google Sheets. How to quickly check if a cell contains a number? When you have a small number of cells ...

Cash Denomination Calculator

Every country has different cash denominations, so you may need to calculate the number of different denominations based on the total amount. If it is just a small amount of cash, then you can calculate the different cash denominations manually, ...

Sidebar