NEGBINOM.DIST in FreeOffice PlanMaker: Syntax and Worked Examples
Use NEGBINOM.DIST and point-only NEGBINOMDIST to count failures before a specified success, with cumulative-mode examples.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
Quick answer
=NEGBINOM.DIST(2,3,0.5,FALSE) has an independent expected value of 0.1875. It is the probability of exactly two failures before the third success in independent trials with success probability 0.5.
With TRUE, the result is the probability of at most two failures before that third success: 0.5. =NEGBINOMDIST(2,3,0.5) is the older point-probability calculation.
Syntax and counting convention
=NEGBINOM.DIST(k, r, p, Cumulative)
=NEGBINOMDIST(k, r, p)
k counts failures, r counts successes and p is the success probability of each trial. TRUE selects P(K≤k); FALSE selects P(K=k). The official domain lists nonnegative k and r, with p between zero and one, and says count decimals are truncated.
For the ordinary stopping-time model in this guide, use a positive integer r and 0<p<1. The loose documented endpoints do not establish all degenerate implementation behavior. The examples do not depend on r=0 or an impossible stopping event.
The random variable is the number of failures, not the total number of trials. Exactly k failures before the r-th success means k+r total trials, with the final trial a success. Trials must be independent with an unchanged p for the model to apply.
Step-by-step: three successes
Enter 2 in A2, 3 in B2 and 0.5 in C2. Calculate =NEGBINOM.DIST(A2,B2,C2,FALSE), then compare =NEGBINOMDIST(A2,B2,C2). Use TRUE in the modern formula for the cumulative result.
Independent arithmetic uses:
P(K=k) = C(k+r−1,k) × p^r × (1−p)^k
For k=2,r=3,p=0.5:
C(4,2) × 0.5³ × 0.5² = 6/32 = 0.1875
There are six arrangements of the first four trials containing two successes and two failures; the fifth trial supplies the third success. Counting all arrangements of five trials without fixing the last success would calculate the wrong stopping event.
The first three masses are P(K=0)=0.125, P(K=1)=0.1875 and P(K=2)=0.1875. Their sum is 0.5, independently checking cumulative mode.
Advanced use: a total-trial allowance
Suppose a fictional process permits at most five trials to obtain three successes. Translate the allowance into failures: k=5−3=2. The model probability of finishing within that allowance is =NEGBINOM.DIST(2,3,0.5,TRUE), mathematically 0.5.
The probability of requiring more than five trials is its complement, also 0.5 here. By contrast, the probability of finishing on exactly trial five is the point result 0.1875. Label these three questions separately.
For context, the model’s expected failures are r(1−p)/p=3, and expected total trials are r/p=6. An expectation of six trials does not mean that every realization takes six trials, nor that a five-trial allowance has zero chance of success.
Count conversion and edge cases
The documented truncation makes =NEGBINOM.DIST(2.9,3.9,0.5,FALSE) comparable with the integer example; the corresponding legacy formula is expected to agree. Avoid fractional counts in production inputs unless truncation is intentional.
Zero failures is a valid event when r>0: three immediate successes have probability 0.5³=0.125. Probability p=1 is a distinct degenerate model. The tested modern formula at k=0,r=3,p=1 returned #NUM!, as detailed below; do not assume that the documented inclusive domain guarantees endpoint evaluation.
The help does not enumerate all error values for negative counts, probabilities outside [0,1] or text. Validate these inputs explicitly. The small-count examples do not certify extreme-tail numerical precision.
Legacy contract and compatibility
The NEGBINOMDIST reference describes point probabilities without a Cumulative argument. It corresponds to modern FALSE mode; TRUE is additional functionality.
The reference cites Excel 2010 or later for the modern name. It does not prove an export/recalculation roundtrip or a PlanMaker introduction version. Keep both the counting convention and the chosen mode visible when transferring formulas.
Native failure counts and endpoint limitation
Eight formulas were calculated in FreeOffice PlanMaker 2024 revision F1238.1005. Both point spellings returned 0.1875 for two failures before the third success at p=0.5, including the decimal-count truncation controls. Both returned 0.125 for zero failures. Modern cumulative mode through two failures returned 0.5. However, =NEGBINOM.DIST(0,3,1,FALSE) returned #NUM!, despite the help listing p within 0 to 1. The mathematical degenerate event has probability 1, so the tested rejection is an implementation boundary limitation, not that mathematical probability. All eight expressions survived PMDX save and reopen. Expected-failure and expected-total-trial calculations above are independent model arithmetic, not separate native cases.

Selected J2 displays 0.1875. J6:J7 show 0.125; J8 shows cumulative 0.5; J9 shows #NUM! for the p=1 probe.
Version and verification scope
The official FreeOffice PlanMaker 2024 reference was checked October 18, 2026. The installed application is FreeOffice PlanMaker 2024 revision F1238.1005. The original introduction version is not established by this evidence; the current reference does not identify the function as deprecated or retired. No availability claim for a different edition or a 2026 release is implied.
The native section identifies the exact scalar formulas calculated in revision F1238.1005 and preserved after native PMDX save and reopen. Independent mathematical expectations, extra arithmetic and observed approximations are distinguished. Cell-reference walkthroughs were not additional native cases. Excel compatibility statements are vendor guidance, not export tests. English formulas in this guide use commas; use the separators required by your formula settings.