I suppose that you would like to fit some property z=f(x,y)in form of a polynomial of a third degree including mixed terms.Use Excel and write z's in the first column, x's in the second, y's in the third. Now form the fourth column where you write the result of x^2, in the fifth the result of y^2,then x^3 in the next and so on until you have all combinations of x's and y's, each in its own column.
Now make make linear fit and select the non-zero range of all columns but the first one as independent variables and let Excel calculate the coefficients.
Try first with a simple case with z=Ax+By+Cxy to see the idea.
m777182