I am trying to compute the difference between data in two tables. Each table is on a different worksheet. There are two columns in each table, name and sum. However, the names are not in the same order in each table. I want to subtract the sum of the table in worksheet one from the sum of the table in worksheet two for each name.

So the first sum would be name1 (in sheet 1) minus name1 (in sheet 2). What function would I use in excel to make sure that the sums being subtracted are from the same name even though the names are not in the same order? V Lookup? Thank you.