A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
In Excel, the PRODUCT function can indeed be applied to an array, but the syntax you mentioned (=PRODUCT(1-A1:A9/100)) will not work as intended because the division operation needs to be performed element-wise before the PRODUCT function is called. Instead, you can use an array formula to achieve this.
To apply the discounts correctly, you can use the following formula:
=PRODUCT(1 - A1:A9/100)
However, to ensure that this formula works correctly, you need to enter it as an array formula. In Excel, you can do this by pressing Ctrl + Shift + Enter after typing the formula, which will wrap it in curly braces {} indicating it's an array formula. This way, Excel will evaluate each element in the range A1:A9 individually and then multiply the results together.
If you're using Excel 365 or Excel 2021, you can simply enter the formula without needing to use Ctrl + Shift + Enter, as these versions support dynamic arrays natively.