azizrasul
Well-known Member
- Joined
- Jul 7, 2003
- Messages
- 1,304
- Office Version
- 365
- 2019
- 2016
- Platform
- Windows
How do I change the formula so that if I delete the values from which the averages are based on, but want the average values to remain. I also want to alter the formula so that the averages are to 1 decimal place. Thanks in advance.
Code:
For x = 4 To 22
Cells(9, x).Select
ActiveCell.FormulaR1C1 = "=AVERAGE(R[1]C:R[" & z & "]C)"
Next x
Last edited: