What Is COMBIN Function In Google Sheets?
COMBIN Function in Google sheets is an inbuilt function used to calculate the possible combinations in a given data set. In other words, the COMBIN function in Google sheets helps users find the number of ways users can choose some values from a given data set
The COMBIN function is available in both Excel and Google sheets and uses two values – n and k, which is the total number of set and the number of items to choose, respectively.
For example, consider the below image showing values in columns A, B, and C respectively.

Now, let us use the COMBIN function to find the combination of values for the given data set.
The steps are:
Step 1: To begin with, insert the cell range in the spreadsheet. In this example, the data is available in the cell range A1:C6. Next, select the cell where we want to find the result. In this example, it is cell C2.
Step 2: Next, insert the COMBIN function in Google sheets.
So, the complete formula is =COMBIN(A2,B2)
Step 3: Press Enter key.
We will be able to find the result, as shown in the below image.

Likewise, we can find the result using COMBIN function in Google sheets.
In this article, let us learn how to use the COMBIN function with detailed examples.
Table of Contents
Key Takeaways
- COMBIN function in Google sheets is used to find the possible values to create combinations.
- This is a default function and is categorized under Math & Trig functions in Excel and Google Sheets.
- The syntax of COMBIN function in Google sheets is =COMBIN(n,k) where both the arguments are mandatory.
- The argument n shows the total number of values and argument k shows the number of values we want to include in the combination.
- We can use this function while we need to create combinations.
COMBIN() Google Sheets Formula

COMBIN Google sheets function formula is =COMBIN(n,k)
where,
- n is the total number of values in the given data set
- k is the number of values we want to include in the combination
Both the arguments are mandatory in COMBIN function in Google sheets.
How To Use COMBIN Function In Google Sheets?
The steps to use COMBIN function in Google sheets are:
- Step 1: To begin with, insert the cell range in the spreadsheet. Next, select the cell where we want to find the result.
- Step 2: Next, insert the COMBIN function in Google sheets.
- Step 3: Press Enter key.
We will be able to find the result, in the active cell.
Likewise, we can use COMBIN function in Google sheets.
Examples
Example #1 – Calculate The Number Of Possible Password Combinations
For example, consider the below image showing date and month in columns A, B, and C respectively.

Now, let us use the COMBIN function to calculate the number of possible password calculations.
The steps are:
Step 1: To begin with, insert the cell range in the spreadsheet. In this example, the data is available in the cell range A1:C6. Next, select the cell where we want to find the result. In this example, it is cell C2.
Step 2: Next, insert the COMBIN function in Google sheets.
So, the complete formula is =COMBIN(A2,B2)

Step 3: Press Enter key.
We will be able to find the result, as shown in the below image.

Now, using AutoFill option, we can find the result in other cells, as shown in the below image.

Likewise, we can use the COMBIN function to calculate the number of possible password calculations.
Example #2 – Calculate Combinations In A Lottery Draw
For example, consider the below image showing values in columns A, B, and C respectively.

Now, let us use the COMBIN function to calculate combinations in a lottery draw.
The steps are:
Step 1: To begin with, insert the cell range in the spreadsheet. In this example, the data is available in the cell range A1:C6. Next, select the cell where we want to find the result. In this example, it is cell C2.
Step 2: Next, insert the COMBIN function in Google sheets.
So, the complete formula is =COMBIN(A2,B2)

Step 3: Press Enter key.
We will be able to find the result, as shown in the below image.

Now, using AutoFill option, we can find the result in other cells, as shown in the below image.

Likewise, we can use the COMBIN function to calculate combinations in a lottery draw.
Example #3 – Determine Possible Team Combinations For Competitions
For example, consider the below image showing values in columns A, B, and C respectively.

Now, let us use the COMBIN function to determine the possible team combinations for competitions.
The steps are:
Step 1: To begin with, insert the cell range in the spreadsheet. In this example, the data is available in the cell range A1:C6. Next, select the cell where we want to find the result. In this example, it is cell C2.
Step 2: Next, insert the COMBIN function in Google sheets.
So, the complete formula is =COMBIN(A2,B2)

Step 3: Press Enter key.
We will be able to find the result, as shown in the below image.

Now, using AutoFill option, we can find the result in other cells, as shown in the below image.

Likewise, we can determine possible team combinations for competitions using COMBIN function in Google sheets.
Example #4 – Determine Possible Investment Combinations
For example, consider the below image showing values in columns A, B, and C respectively.

Now, let us use the COMBIN function to determine possible investment combinations.
The steps are:
Step 1: To begin with, insert the cell range in the spreadsheet. In this example, the data is available in the cell range A1:C6. Next, select the cell where we want to find the result. In this example, it is cell C2.
Step 2: Next, insert the COMBIN function in Google sheets.
So, the complete formula is =COMBIN(A2,B2)

Step 3: Press Enter key.
We will be able to find the result, as shown in the below image.

Now, using AutoFill option, we can find the result in other cells, as shown in the below image.

Likewise, we can determine possible investment combinations using COMBIN function.
Important Things To Note
- COMBIN function is used to find the possible combinations from a dataset.
- Users can use this function in Google sheets and Excel to find the number of ways to choose values, in a combination.
- As shown in the article, we can use this function to generate passwords, team combinations and lucky-draws.
Frequently Asked Questions
For example, consider the below image showing values in columns A, B, and C respectively.
Now, let us use the COMBIN function to find the combination of values for the given data set.
The steps are:
Step 1: To begin with, insert the cell range in the spreadsheet. In this example, the data is available in the cell range A1:C6. Next, select the cell where we want to find the result. In this example, it is cell C2.
Step 2: Next, insert the COMBIN function in Google sheets.
So, the complete formula is =COMBIN(A2,B2)
Step 3: Press Enter key
We will be able to find the result, as shown in the below image.
Likewise, we can find the result using COMBIN function.
COMBIN function, as the name suggests, generates different ways to choose numbers and create combinations. The COMBIN function in Google sheets is categorized under Math and Trig functions.
COMBIN function may not work because
• The values contain non-numeric values such as text or punctuation marks
• The values of both n and k are outside the constraint level
Recommended Articles
Guide to What is COMBIN Function In Google Sheets. Here we discuss how to use COMBIN Function In Google Sheets with its examples. You can learn more from the following articles. –
Leave a Reply