Sub ColleFormule()
For C = 41 To 140 Step 2
Cells(64, C).FormulaLocal = "=INDEX(64:64;0.5*COLONNE()+173.5)"
Next C
End Sub
=SOMME(GL13:GL62)
=SOMME(AO13:AO62)
ou
=SOMME(AO13:AP62)
Sub Formule()
Range("AO64:AP64").FormulaLocal = "=SOMME(AO13:AO62)"
Range("AO64:AP64").Copy
Range("AO64:EJ64").Select
Selection.PasteSpecial Paste:=xlPasteFormulas, Operation:=xlNone, _
SkipBlanks:=False, Transpose:=False
End Sub
Sub Formule()
Range("GL64").Copy
Range("AO64:AP64").Select
Selection.PasteSpecial Paste:=xlPasteFormulas, Operation:=xlNone, _
SkipBlanks:=False, Transpose:=False
Range("AO64:AP64").Copy
Range("AO64:EJ64").Select
Selection.PasteSpecial Paste:=xlPasteFormulas, Operation:=xlNone, _
SkipBlanks:=False, Transpose:=False
End Sub
Sub ColleFormule()
For C = 41 To 140 Step 2
Cells(64, C).FormulaLocal = "=INDEX(64:64;0.5*COLONNE()+173.5)"
Next C
End Sub
=SOMME(DECALER($GL13:$GL62;;(COLONNES($AO:AO)-1)/2))
Bonjour Job, sylvanuBonjour chaelie2015, sylvanu,
Formule en AO64, à tirer vers la droite :
A+Code:=SOMME(DECALER($GL13:$GL62;;(COLONNES($AO:AO)-1)/2))
=DECALER($AO12;;2*COLONNES($EM12:EM12)-2)
=SI(DECALER($AO12;;2*COLONNES($EM12:EM12)-2)="";"";DECALER($AO12;;2*COLONNES($EM12:EM12)-2))