This will be done in excel but, I am mostly just looking for the math/logic, although code is appreciated :)
I have 4 items. Let\'s label them i1 through i4. These 4