Assume a table labelled with columns A-G and rows 1-7
Question A : Smallest total
Row 4, Column A has 3 cells above it in the same column of the table and all of these must be smaller than cell 4A, so the smallest it can be is $4$.
Row 4, Column B has 3 cells directly above it, along with cell 4A and all the cells directly above that, making a total of seven cells which must be smaller than 4B, so the smallest it can be is $8$,
Continuing across in this fashion, the lowest total possible is $4+8+12+16+20+24+28 = 112$
Question B : Largest total
Reversing the approach above, the largest value possible in Row 4, Column G is $46$ as there need to be 3 numbers larger below it in the grid.
Row 4, Column F needs 7 number bigger than it, so it can be at most $42$.
Continuing gives $22+26+30+34+38+42+46=238$
Examples:
]1