Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Use a for loop if you know how many times you need to iterate.
For i = 1 to 100 Range("C" & i & "").Select ActiveCell.FormulaR1C1 = "=AVERAGE("A" & i & ":B" & i & "")" Next This assumes A(i) and B(i) hold the numbers you want averaged and the result is placed in C(i) |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
IF formula-simple question; simple operator | Excel Discussion (Misc queries) | |||
Simple Simple Excel usage question | Excel Discussion (Misc queries) | |||
simple question about macros | Excel Programming | |||
Learning Macros and ActiveX controls...have a simple question... | Excel Programming | |||
simple question, hopefully a simple answer! | Excel Programming |