Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Sumproduct in Macro
Sub DD()
Dim c As Range Lastcl = Cells(Rows.Count, "A").End(xlUp).Row For Each c In Range("N2:N" & Lastcl).Cells c.Value = WorksheetFunction.SumProduct(--(Range("M2:M" & Lastcl)), -- (Range("H2:H" & Lastcl))) Next c End Sub above macro doesnt work please help |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
SUMPRODUCT macro | Excel Discussion (Misc queries) | |||
SUMPRODUCT in macro | Excel Programming | |||
use LIKE within sumproduct in macro, possible? | Excel Programming | |||
macro with SUMPRODUCT help | Excel Programming | |||
How to use SUMPRODUCT in macro? | Excel Programming |