Algorithms – Identifies the addition or deletion of rows or columns in Excel

I am looking for a solution that can identify any addition or deletion of row or column in an Excel file.

What I thought from now using the LCS algorithm, ie the algorithm "The longest common subsequence", I can find the sub – Common sequence between two versions of an Excel file, but this method is not 100% correct.

for example

Excel version 1

    1 2 4 5 9 3
4 9 3 7 5 3
8 2 7 9 3 8
9 7 2 8 2 4

After the update, I delete 1 row (2nd row) and add 1 row (in the same place, ie 2nd).

Excel version 2

    1 2 4 5 9 3
4 9 5 7 5 3
8 2 7 9 3 8
9 7 2 8 2 4

The added line is almost similar except for 1 cell element. In this case, LCS would not work because most elements of the cell were similar and I could not identify the row that was deleted first and a new line was added.