Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
It works! You need, however, to introduce a separate Counter for the
destination column since it is not related to the destination row index i. Counter = 0 For i = 12 To 8 Step -1 'destination rows 12 to 8, destination cols Q::17 to U::21 Counter = Counter + 1 Set myFormula = myFormula.Offset(, 1) myFormula.Formula = "=C21*$D$" & i & "^D21*$E$" & i & "^E21*$F$" & i & "^F21*... " Cells(i, 16 + Counter).Formula = "=sum(" & myFormula.Rows().Address(False, True) & ")" Next i Thank you. "Bob Phillips" wrote: I think that should be "gocush" /delete wrote in message "monir" wrote: |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Complex AND OR Formula | Excel Worksheet Functions | |||
Complex formula help | Excel Discussion (Misc queries) | |||
complex color fill conditions- if statements or complex formula? | Excel Discussion (Misc queries) | |||
need complex if formula (I think) | Excel Worksheet Functions | |||
Do---Loop Error in Complex Code | Excel Programming |