Hi,
I am using the below formula within a macro to calculate the sum of everything with the code "120012". This formula works absolutely fine.
I'm trying to get the below to calculate the total when the criteria is "120010" + "820600". However i am unsure how to edit the below formula
Sheets("Journal").Range("K2").Value = WorksheetFunction.SumIf(Sheets("Journal").Range("C:C"), "=120010", _
Sheets("Journal").Range("D:D"))
Any help is much appreciated
Harry
Bookmarks