I think this would be pretty easy you can try this and tell me if it is what you want or not:
Assume your dataset as you've explained it is called tblTest
Create this query
Code:
SELECT tblTest.node AS RowNode, tblTest.pricea AS RowPrice, tblTest_1.node AS ColNode, tblTest_1.pricea AS ColPrice
FROM tblTest, tblTest AS tblTest_1;
Call this query qryCartesian
then create this query:
Code:
TRANSFORM Sum([rowprice]-[colprice]) AS Expr1
SELECT qryCartesian.RowNode
FROM qryCartesian
GROUP BY qryCartesian.RowNode
PIVOT qryCartesian.ColNode;
this should give you a matrix showing you what you want (I assumed you wanted a matrix).
If you don't want the matrix you can do this with a single query:
Code:
SELECT tblTest.node AS RowNode, tblTest.pricea AS RowPrice, tblTest_1.node AS ColNode, tblTest_1.pricea AS ColPrice, [rowprice]-[colprice] AS Difference
FROM tblTest, tblTest AS tblTest_1;