I'm trying to find a way to do this. At first I tried to do something using MathAbs and substracting values from each other, but it seemed I was oversimplifying it since I'm dealing with like 20 prices here. I already have them declared and all, so it's just a matter of finding the correct ones.
Is there a quick and easy way to take such a number of prices and get the price difference of every possible combination (or find some way to only get the combinations that matter)? Or perhaps filter them by some arbitrary maximum value (that if the difference exceeds it the price is ignored)?
Is there a quick and easy way to take such a number of prices and get the price difference of every possible combination (or find some way to only get the combinations that matter)? Or perhaps filter them by some arbitrary maximum value (that if the difference exceeds it the price is ignored)?