montecarlo2012
Well-known Member
- Joined
- Jan 26, 2011
- Messages
- 985
- Office Version
- 2010
- Platform
- Windows
Hi All.
Working on
How is possible to make shorter.
thanks.
Working on
VBA Code:
Sub j()
Range("B2").Formula = "=Countif(Q2:WAK2)"
Range("C2").Formula = "=Max(Q2:WAK2)"
Range("D2").Formula = "=Countif(Q2:WAK2, 0)"
Range("E2").Formula = "=COUNTIF(Q2:WAK2, 1)"
Range("F2").Formula = "=COUNTIF(Q2:WAK2, 2)"
Range("G2").Formula = "=COUNTIF(Q2:WAK2, 3)"
Range("H2").Formula = "=COUNTIF(Q2:WAK2, 4)"
Range("I2").Formula = "=COUNTIF(Q2:WAK2, 5)"
Range("J2").Formula = "=COUNTIF(Q2:WAK2, 6)"
Range("K2").Formula = "=Average(Q2:WAK2)"
End Sub
thanks.