
Hi,
I need help to not rely on helper column. As I have big data (there are aprox. 100.000 rows every month, 6 columns, and 8 helper columns), so these helper columns was little bit slow down my file. So I just want to use helper columns as minimum as possible.
Well, in this case, every amount in column A has specific range (column K), and every range has specific margin (column L). I want to know how many is the total margin. My best approach, I can get the margin (column C) without the range column (column B) with this formula (I put it on column E, picture below) :
But I don't know how to sum all that margins. If I put SUM on formula above, it has no effect (the results are same as column C)=VLOOKUP(VLOOKUP(A:A;E:F;2);F:G;2;0)

Is there a way to get this total margins without those helper columns? Also, I'm kinda in transition to move from Excel to Google sheet. If it's easier in Gsheet, I'll be more happy. Thanks in advance.