By deducing the logic used in the table below, can you find the missing number?

Find the missing number in the following grid?

Find the missing number, if same rule is followed row-wise or column-wise.