Hi,
i want help in two things to amend the following formula.
I have to drag down every column to fill the formula, it should be filled automatically till the last empty row of column A.
second thing , range (FUNDS!$a$2:$a$50)&FUNDS!$b$2:$b$50,FUNDS!$c$2:$c$50) should be dynamic.
Note:-This formula or any other approach to get same result.
Thanks
i want help in two things to amend the following formula.
I have to drag down every column to fill the formula, it should be filled automatically till the last empty row of column A.
second thing , range (FUNDS!$a$2:$a$50)&FUNDS!$b$2:$b$50,FUNDS!$c$2:$c$50) should be dynamic.
VBA Code:
With Sheets("MONTHLY").Range("b3:m3")
.FormulaArray = "=SUM(IF(COLUMNS($B2:B$2)&$A3=MONTH(FUNDS!$a$2:$a$50)&FUNDS!$b$2:$b$50,FUNDS!$c$2:$c$50,0))"
End With
Note:-This formula or any other approach to get same result.
Thanks
Cell Formulas | ||
---|---|---|
Range | Formula | |
A3:A36 | A3 | =FACEBOOK!R:R |
B3:M3 | B3 | =SUM(IF(COLUMNS($B2:B$2)&$A3=MONTH(FUNDS!$A$2:$A$50)&FUNDS!$B$2:$B$50,FUNDS!$C$2:$C$50,0)) |
B36:F36,B4:M35 | B4 | =SUM(IF(COLUMNS($B$2:B3)&$A4=MONTH(FUNDS!$A$2:$A$50)&FUNDS!$B$2:$B$50,FUNDS!$C$2:$C$50,0)) |
Press CTRL+SHIFT+ENTER to enter array formulas. |