sweater_vests_rock
Well-known Member
- Joined
- Oct 8, 2004
- Messages
- 1,657
Hi everyone.
I have ~20 columns of data for about 80 rows of studies. For a certain column X, I have inserted a column Y and calculated (Value in Col X - Max(other columns)) for each study.
What I would like to do now is insert another column Z and calculate (Value in Col X - Max(other columns excepting the column returned by the previous Max calculation and column Y)). However, because the column I wish to exclude is not always the same for each study, I don't know how to do this!
Any ideas? See below for a rough visual.
Thanks. Ben.
Col A | Col B | Col C | Col D | Col X | Col Y | Col Z
100 | 200 | 300 | 400 | 300 | -100| 0
50 | 300 | 250 | 150 | 450 | 150 | 200
200 | 150 | 200 | 350 | 100 | -250 | -100
etc.
I have ~20 columns of data for about 80 rows of studies. For a certain column X, I have inserted a column Y and calculated (Value in Col X - Max(other columns)) for each study.
What I would like to do now is insert another column Z and calculate (Value in Col X - Max(other columns excepting the column returned by the previous Max calculation and column Y)). However, because the column I wish to exclude is not always the same for each study, I don't know how to do this!
Any ideas? See below for a rough visual.
Thanks. Ben.
Col A | Col B | Col C | Col D | Col X | Col Y | Col Z
100 | 200 | 300 | 400 | 300 | -100| 0
50 | 300 | 250 | 150 | 450 | 150 | 200
200 | 150 | 200 | 350 | 100 | -250 | -100
etc.