Hoping someone can help me with a function. I want to return the number in the left column that corresponds to “99292” in the middle column. I know I can use the “find” function to find the position of 99292 in the middle column, but that doesn’t correspond to anything meaningful in the left column because the number of digits in the middle column will always vary.
I know I could also turn commas into columns and it should be easy from there but I want to do this in only a few columns since the number of values could get very large making comma to columns unwieldy.
In the right column below I have explained what value the function should return.
[TABLE="width: 500"]
<tbody>[TR]
[TD]1, 1, -1, 1, 1, 1, 4, 1, -1, 1, -1, 1[/TD]
[TD]2500003, 2500003, 2500003, 27100000, 99143, 99291, 99292, 2500003, 2500003, 99143, 99143, 96372[/TD]
[TD]Here I would want to return “4” since that is the number in the left column that corresponds to 99292 in the right column, they’re both the seventh number[/TD]
[/TR]
[TR]
[TD]1, 1, -1, 1, 1, 1, 1, 1, 1, 1, 1, -1, 1, -1, 1, 1, 1, 1, 1, 1, 7, 1, -1[/TD]
[TD]73130, 73110, 73110, 36415, 80048, 85730, 85027, 85610, 86900, 86901, 86850, 86900, 86900, 36415, 36415, 27200000, 99285, 36592, 94761, 99291, 99292, 12001, 99285[/TD]
[TD]Here I would want to return 7. 99292 is the third to last number in the right column so I would want to return the third to last number in the left column.[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 613"]
<tbody>[TR]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I know I could also turn commas into columns and it should be easy from there but I want to do this in only a few columns since the number of values could get very large making comma to columns unwieldy.
In the right column below I have explained what value the function should return.
[TABLE="width: 500"]
<tbody>[TR]
[TD]1, 1, -1, 1, 1, 1, 4, 1, -1, 1, -1, 1[/TD]
[TD]2500003, 2500003, 2500003, 27100000, 99143, 99291, 99292, 2500003, 2500003, 99143, 99143, 96372[/TD]
[TD]Here I would want to return “4” since that is the number in the left column that corresponds to 99292 in the right column, they’re both the seventh number[/TD]
[/TR]
[TR]
[TD]1, 1, -1, 1, 1, 1, 1, 1, 1, 1, 1, -1, 1, -1, 1, 1, 1, 1, 1, 1, 7, 1, -1[/TD]
[TD]73130, 73110, 73110, 36415, 80048, 85730, 85027, 85610, 86900, 86901, 86850, 86900, 86900, 36415, 36415, 27200000, 99285, 36592, 94761, 99291, 99292, 12001, 99285[/TD]
[TD]Here I would want to return 7. 99292 is the third to last number in the right column so I would want to return the third to last number in the left column.[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 613"]
<tbody>[TR]
[TD][/TD]
[/TR]
</tbody>[/TABLE]