Hi,
I am working in a spreadsheet that gets updated with new data weekly - and I have some fixed formulas in specific columns that never changes, only when new values are added to the cells from the weekly update (i.e. column A to X).
The columns are Y, Z, AA, AB, AC, AD and AE and they all start from Row 6:
- Y: =WEEKNUM(K6;2)
- Z: =VLOOKUP(S6;Wagendetails!F$2:G$310;2;FALSE)
- AA: =VLOOKUP(I6;Wagendetails!B$2:D$420;2;FALSE)
- AB: =VLOOKUP(I6;Wagendetails!B$2:D$420;3;FALSE)
- AC: =IF(V6=0;AB6;V6+AB6)
- AD: =VLOOKUP(C6;Relationen!A$2:C$550;2;FALSE)
- AE: =VLOOKUP(D6;Relationen!E$2:F$10;2;FALSE)
I have tried different codes such as lFormulaCount and LastRow but they do not get applied to all columns.
To sum up: the weekly date will contain the exact same columns but the number of rows will differ, so I need a code to fill down the fixed formulas for the specific columns and down - but only down to the last row with data, which will most likely change weekly.
I would appreciate any inputs to what I am doing wrong.
Thanks.