Use something like this
![]()
dim counter as long dim count as long count = 99 for counter = 2 to 12 'just change the 12 as needed range("CX"&counter).formulaR1C1 = "=SUMIFS(C[-101],C[" & count & "],RC[-4],C[-100],"""")" count = count - 1 next
Use something like this
![]()
dim counter as long dim count as long count = 99 for counter = 2 to 12 'just change the 12 as needed range("CX"&counter).formulaR1C1 = "=SUMIFS(C[-101],C[" & count & "],RC[-4],C[-100],"""")" count = count - 1 next
Regards,
amotto
If I helped, Don't forget to add to my reputation (click on the star below the post)
Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks