NPV Formula in Writer

NPV Formula in Writer

In the formula function drop down there is no option for NPV function.

Does anyone know of a way that we can create the same outcome?