How to calculate data of different columns and keep the unqualified ones in another excel sheet

You can use the datatable.Select(Decimal.Parse(Column6) = (Decimal.Parse(Column1) + Decimal.Parse(Column2) - Decimal.Parse(Column3)).CopyToDatatable(). This will give a datatable with all the qualified rows and if you use not equal to instead of equal to it will give you not qualified rows.
Refer to this post, which says something similar:-

1 Like