Practice free

FACTDOUBLE function

FACTDOUBLE multiplies every second whole number down from the input, so 7 gives 7 x 5 x 3 x 1. It is not the same as taking a factorial twice.

Example

Read it as a sentence: multiply 7 by every second whole number below it (7, 5, 3, 1), which gives 105.

Practice this in the app

Syntax

FACTDOUBLE(number)

number (required)
A whole number, -1 or higher.

Returns: The product of every second whole number down from the input.

What Excel actually returns

Each formula below was run in desktop Excel. The result is exactly what the cell showed, errors included.

FormulaExcel showsCase
=FACTDOUBLE(0.5) 1 Positive
=FACTDOUBLE(0) 1 Zero
=FACTDOUBLE(-0.5) 1 Negative
=FACTDOUBLE(2) 2 Larger value
=FACTDOUBLE("0.5") 1 Text number "0.5"
=FACTDOUBLE({0.1,0.2}) 1 Array constant spills
=FACTDOUBLE("abc") #VALUE! Non-numeric text
=FACTDOUBLE(TRUE) #VALUE! TRUE

Watch out for

  • This is not (n!)!.
  • Numbers below -1 return #NUM!.

Where it works

Excel
FACTDOUBLE is in every version of Excel from 2007 on.
Google Sheets
Same name, same behaviour for everyday use.

Part of Math and trig functions. Every result on this page was measured in desktop Excel, build 16.0.20527. Last updated .