Martynrbell
New Member
- Joined
- Apr 11, 2016
- Messages
- 38
- Office Version
- 365
- Platform
- Windows
I have some data in A1 that looks like the following:
PA1*COL 1*50*Snack 1
PA2*3*100*1*100
PA1*COL 2*100*Snack 2
PA2*52*100*0*0
PA1*COL 3*100*Snack 3
PA2*2*200*1*100
PA1*COL 4*50*Snack 4
PA2*7*50*0*0
PA1*COL 5*200*Snack 5
PA2*100*0*0*0
In A2 i need to be able to type a value, in this example i will use "COL 3" and my with the formula will search for PA1*COL 3* return the number after the following PA2* in this example it will be "2"
So if i was to type in A2 the following examples it would return the example values
Col 1 Returns 3
Col 2 Returns 52
Col 3 Returns 2
Col 4 Returns 7
Col 5 Returns 100
Any help would be apreciated
Thanks
Martyn
PA1*COL 1*50*Snack 1
PA2*3*100*1*100
PA1*COL 2*100*Snack 2
PA2*52*100*0*0
PA1*COL 3*100*Snack 3
PA2*2*200*1*100
PA1*COL 4*50*Snack 4
PA2*7*50*0*0
PA1*COL 5*200*Snack 5
PA2*100*0*0*0
In A2 i need to be able to type a value, in this example i will use "COL 3" and my with the formula will search for PA1*COL 3* return the number after the following PA2* in this example it will be "2"
So if i was to type in A2 the following examples it would return the example values
Col 1 Returns 3
Col 2 Returns 52
Col 3 Returns 2
Col 4 Returns 7
Col 5 Returns 100
Any help would be apreciated
Thanks
Martyn