Hi all,
The following line of code writes as SUMIF formula into cell E1:
Range("e1").Value = "=SUMIF(b1:b10,""Materials"",Y1:Y10)"
Range for the SUMIF formula always starts on b1 but the amount of rows needs to be a variable
Sum_range also starts on Y1 but the number of rows needs to be...