Math & trig function

COMBINA function

Returns the number of combinations when items can be chosen more than once (with repetition).

Available in Excel 2013 and later, Microsoft 365, Excel for the web, Excel for Mac 2016 and later

Excel 2013 and laterWorks in Google Sheets

Syntax

COMBINA(number, number_chosen)
ArgumentWhat it means
numberRequiredThe number of item types available.
number_chosenRequiredHow many items are chosen; can be larger than number.

Returns: COMBIN(number + number_chosen − 1, number_chosen).

How COMBINA works

COMBINA counts selections where the order does not matter but the same type may be chosen repeatedly: three scoops of ice cream from 8 flavours (chocolate twice is allowed), a box of 4 doughnuts from 6 kinds, or how many ways an order of 10 identical units can be spread over 3 warehouses.

Mathematically it equals COMBIN(n + k − 1, k), the "stars and bars" count. Unlike COMBIN, number_chosen may exceed number. Decimals are truncated and negative values return #NUM!.

Examples

1Ice-cream cups with three scoops

D2fx=COMBINA(B2, C2)
ABCD
1ShopFlavoursScoops
2Gelateria83120

Result: 120

Allowing repeated flavours, there are 120 different cups (COMBIN would give only 56 without repeats).

2Mixed boxes of doughnuts

D2fx=COMBINA(B2, C2)
ABCD
1BakeryKindsPer box
2Box of 464126

Result: 126

126 possible boxes, from four of the same kind to four different ones.

⬇Practice workbookExamples with live formulas + practice sheets · .xlsx · 13 KB

Common errors and how to fix them

ErrorWhy it happensFix
#NUM!A negative argument, or number 0 with number_chosen above 0.Check the inputs.

Tips

  • COMBINA(n, k) = COMBIN(n + k − 1, k), handy in versions before 2013.

Google Sheets

COMBINA also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.

COMBINA in other languages

In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.

LanguageFunction name
DanishKOMBINA
DutchCOMBIN.A
FinnishKOMBINAATIOA
GermanKOMBINATIONEN2
HungarianKOMBINÁCIÓK.ISM
ItalianCOMBINAZIONE.VALORI
Norwegian (Bokmål)KOMBINASJONA
PolishKOMBINACJE.A
Portuguese (Portugal)COMBIN.R
RussianЧИСЛКОМБА
SwedishKOMBINA
TurkishKOMBİNASYONA