The discount in question is a fixed percentage, the numbers to be reduced by said percentage is in the column to the immediate left. I've tried this in D5:
=ARRAYFORMULA(C5:C27 - (INDIRECT("RC[-1]",FALSE) * TO_PURE_NUMBER(D4)))
Where C5:C27 are the original numbers and the indirect bit just grabs the cell to the left with D4 being the percentage.
My problem is it grabs the cell to the left.. of the first row only so every number gets discounted by the same exact amount.
I am using Google Sheets.