vickylouiseuk
New Member
- Joined
- Nov 17, 2015
- Messages
- 2
Is there a way to look up the second occurrence of a value in a row?
https://drive.google.com/file/d/0B0392ULavezpbktIY29ST3kzWVU/view?usp=sharing
I've created an example on the link above - hopefully you can access it.
I have staff names across the column headings, and the data in the rows beneath. I need to be able to say, for each row, what the lowest rate is, along with the staff name. I've got it for the first one, and the formula will tell me the 2nd lowest rate, but I can't figure out how to match back the 2nd instance of the name.
G2 formula is =IFERROR(SMALL(IF($A2:$E2>0,$A2:$E2),1),"") (array)
I2 formula is =IFERROR(INDEX($A$1:$E$1,MATCH(G2,$A2:$E2,0)),"")
K2 formula is =IFERROR(SMALL(IF($A2:$E2>0,$A2:$E2),2),"") (array)
What should I put in M2 so that it comes up with Dave instead of Alex again??
https://drive.google.com/file/d/0B0392ULavezpbktIY29ST3kzWVU/view?usp=sharing
I've created an example on the link above - hopefully you can access it.
I have staff names across the column headings, and the data in the rows beneath. I need to be able to say, for each row, what the lowest rate is, along with the staff name. I've got it for the first one, and the formula will tell me the 2nd lowest rate, but I can't figure out how to match back the 2nd instance of the name.
G2 formula is =IFERROR(SMALL(IF($A2:$E2>0,$A2:$E2),1),"") (array)
I2 formula is =IFERROR(INDEX($A$1:$E$1,MATCH(G2,$A2:$E2,0)),"")
K2 formula is =IFERROR(SMALL(IF($A2:$E2>0,$A2:$E2),2),"") (array)
What should I put in M2 so that it comes up with Dave instead of Alex again??