Moderatori: Anthony47, Flash30005
Sub Consolida()
CercaC = "R1" '<<<- Cella col valore da cercare
OutC = "S1" '<<<- Cella per la somma
Lfor = Range(CercaC).Value
For Each CCell In ActiveSheet.UsedRange
If CCell.Value = Lfor Then WorkV = WorkV + Val(CCell.Offset(0, 4).Value)
Next CCell
Range(OutC) = WorkV
End Sub
Torna a Applicazioni Office Windows
confrontare e evidenziare 2 fogli excel Autore: niccia |
Forum: Applicazioni Office Windows Risposte: 5 |
Visitano il forum: Nessuno e 18 ospiti