Here is one matrix option, but using JMP features is generally easier to understand
Names Default To Here(1);
dt = Current Data Table();
cuvette_start = 11;
cuvette_end = 12;
cuvettes = dt[0, "Cuvette"];
// Data is sorted -> we can just take values and make comparison
start_idx = Loc(cuvettes, cuvette_start);
end_idx = Loc(cuvettes, cuvette_end);
// differences
output = J(1, N Rows(dt), .);
output[start_idx] = dt[start_idx, "850 nm"] dt[end_idx, "250 nm"];
dt << new column("R", Numeric, Continuous, Values(output));
If you can rely on the order heavily, you can use formula like this
If(:Cuvette == 11,
:"850 nm"n / :"250 nm"n[Col Min(If(:Cuvette == 12, Row(), .)) + Row() - 1];
);
The type of final formula will heavily depend on your real use case (is data sorted "properly", are you looking for more than one value comparison and so on).
-Jarmo