michaelsmith559
Well-known Member
- Joined
- Oct 6, 2013
- Messages
- 881
- Office Version
- 2013
- 2007
I am trying to find a formula/code that will find the 1st and last occurrence of the 2nd value. Needs to be easily changed for 3rd, 4th, 5th values as well. Below is what I am looking to accomplish. The formulas should be able to be copied down. The values it will be looking for in the 2nd position will be from 2 to 67. Thanks for any help.
mm combinations.xlsm | |||||||
---|---|---|---|---|---|---|---|
X | Y | Z | AA | AB | |||
1 | 1 | 1, 2, 3, 4, 5 | Value | Start Row | End Row | ||
2 | 50116 | 1, 2, 68, 69, 70 | 2 | 1 | 50116 | ||
3 | 50117 | 1, 3, 4, 5, 6 | 3 | 50117 | 98021 | ||
4 | 98021 | 1, 3, 68, 69, 70 | |||||
Sheet2 |