The discount rate is the rate for one period, assumed to be annual.

NPV in Excel is a bit tricky, because of how the function is implemented.

Excel formula: NPV formula for net present value

Excel PV function

Excel IRR function