R, Excel, Function, Pivot Tables.
different tables for different combo of cut, color and clarity, with the mean value of either price or carat. table1=excel.func(cut,color,price) table2=excel.func(clarity,cut,carat) table3=excel.func(color,clarity,price) Next, we use openxlsx package to export them to a spreadsheet. The first