If you want to subtract two values of a column in two tables, you can use the following code:
main.m537 chars12 lines
Here, I assume that you want to subtract the first value of the column in each table. If you want to subtract a different pair of values, you can change the index (e.g., instead of using 1, you can use 2, 3, etc.).
Alternatively, you can subtract entire columns of the tables using the minus operator. Here, you need to make sure that the tables have the same number of rows and that they are ordered the same way (i.e., the first row of table1 corresponds to the first row of table2).
gistlibby LogSnag