Hi All,
Am using the below SUMIFS formula which takes very long time to display the results in the sheet which contains 15000 lines.
Can this formula be edited in a way so that the time taken to display the results reduces.
In excel I use the formula as “=SUMIFS(D:D,A:A,F6,B:B,"<="&G6,C:C,">="&G6)”
Am using the below SUMIFS formula which takes very long time to display the results in the sheet which contains 15000 lines.
Can this formula be edited in a way so that the time taken to display the results reduces.
Code:
If lastrow > 2 Then
.Range(.Range("H2"), .Range("H" & lastrow)).SpecialCells(xlCellTypeVisible).Formula = "=SUMIFS(C[-5],C[-8],RC[-3],C[-7],""<=""&RC[-2],C[-6],"">=""&RC[-2])"
End If
In excel I use the formula as “=SUMIFS(D:D,A:A,F6,B:B,"<="&G6,C:C,">="&G6)”