CodyMonster
Board Regular
- Joined
- Sep 28, 2009
- Messages
- 159
Hoping to get some help here.
Trying to get this sumif formula to get added to my sheet. However, it's throwing out a 1004 error.
Just need another set of eyes, if anyone has a second?
Trying to get this sumif formula to get added to my sheet. However, it's throwing out a 1004 error.
Just need another set of eyes, if anyone has a second?
VBA Code:
Sub test()
Dim LastParagonRow As Long
LastParagonRow = Sheets("Paragon_CEBO_Data").Cells(Rows.Count, "A").End(xlUp).Row
Sheets("Output").Range("H2").Value = "=SUMIFS(Paragon_CEBO_Data!P$2:P""&LastParagonRow&"",Paragon_CEBO_Data!$H$2:$H""&LastParagonRow&"",$F2,Paragon_CEBO_Data!$B$2:$B""&LastParagonRow&"",$G2)"
End Sub