Having problem in sum the values using offset. Pl have a look in attachment.
if AL1>=6, then
1. AJ4 should be sum of column B to C
2. AK4 should be sum of col.O:T
3. AL4 should pick the values from B onwards
4. AM4 should pick the values from O4 onwards
if AL1<6, then
1. AJ4 should be sum of col. V to AA
2. AK4 should be sum of col. AC:AH
3. AL4 should pick the values from V4 onwards
4. AM4 should pick the values from AC4 onwards
TIA