Good Morning,
Here is what I have:
In column B is a employee number, in columns C through R is a bunch of data that is irrelevance to this need, but then in column S is where another formula returns a value of "None", or another value such as "COBC", or a few other possible items. Below all of this data, also in column B is a list of just the unique employee ID numbers.
What I need is formula/array that will go with the unique employee ID list, look at the tables above and pull out a value for that specific employee ID should a value in a column P be something other than "None". If it helps each employee ID could appear in the table up to 3 times and as few as once. Should the formula/array not find anything other than "None" than "None" should be the value that is shown.
Here is a data example:
[TABLE="width: 512"]
<colgroup><col span="8"></colgroup><tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F to R[/TD]
[TD]S[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Jan[/TD]
[TD]Emp1[/TD]
[TD]Name[/TD]
[TD]Name[/TD]
[TD]City[/TD]
[TD]Results[/TD]
[TD]None[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Feb[/TD]
[TD]Emp2[/TD]
[TD]Name[/TD]
[TD]Name[/TD]
[TD]City[/TD]
[TD]Results[/TD]
[TD]None[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Mar[/TD]
[TD]Emp3[/TD]
[TD]Name[/TD]
[TD]Name[/TD]
[TD]City[/TD]
[TD]Results[/TD]
[TD]None[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Jan[/TD]
[TD]Emp1[/TD]
[TD]Name[/TD]
[TD]Name[/TD]
[TD]City[/TD]
[TD]Results[/TD]
[TD]None[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Feb[/TD]
[TD]Emp2[/TD]
[TD]Name[/TD]
[TD]Name[/TD]
[TD]City[/TD]
[TD]Results[/TD]
[TD]None[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]Mar[/TD]
[TD]Emp3[/TD]
[TD]Name[/TD]
[TD]Name[/TD]
[TD]City[/TD]
[TD]Results[/TD]
[TD]Other[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]Jan[/TD]
[TD]Emp1[/TD]
[TD]Name[/TD]
[TD]Name[/TD]
[TD]City[/TD]
[TD]Results[/TD]
[TD]None[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]Feb[/TD]
[TD]Emp2[/TD]
[TD]Name[/TD]
[TD]Name[/TD]
[TD]City[/TD]
[TD]Results[/TD]
[TD]COBC[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]Mar[/TD]
[TD]Emp3[/TD]
[TD]Name[/TD]
[TD]Name[/TD]
[TD]City[/TD]
[TD]Results[/TD]
[TD]None[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Emp1[/TD]
[TD="colspan: 3"]Should return "None"[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Emp2[/TD]
[TD="colspan: 3"]Should Return "COBC"[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Emp3[/TD]
[TD="colspan: 3"]Should Return "Other"[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Any help is appreciated and thank you in advance.
Here is what I have:
In column B is a employee number, in columns C through R is a bunch of data that is irrelevance to this need, but then in column S is where another formula returns a value of "None", or another value such as "COBC", or a few other possible items. Below all of this data, also in column B is a list of just the unique employee ID numbers.
What I need is formula/array that will go with the unique employee ID list, look at the tables above and pull out a value for that specific employee ID should a value in a column P be something other than "None". If it helps each employee ID could appear in the table up to 3 times and as few as once. Should the formula/array not find anything other than "None" than "None" should be the value that is shown.
Here is a data example:
[TABLE="width: 512"]
<colgroup><col span="8"></colgroup><tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F to R[/TD]
[TD]S[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Jan[/TD]
[TD]Emp1[/TD]
[TD]Name[/TD]
[TD]Name[/TD]
[TD]City[/TD]
[TD]Results[/TD]
[TD]None[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Feb[/TD]
[TD]Emp2[/TD]
[TD]Name[/TD]
[TD]Name[/TD]
[TD]City[/TD]
[TD]Results[/TD]
[TD]None[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Mar[/TD]
[TD]Emp3[/TD]
[TD]Name[/TD]
[TD]Name[/TD]
[TD]City[/TD]
[TD]Results[/TD]
[TD]None[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Jan[/TD]
[TD]Emp1[/TD]
[TD]Name[/TD]
[TD]Name[/TD]
[TD]City[/TD]
[TD]Results[/TD]
[TD]None[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Feb[/TD]
[TD]Emp2[/TD]
[TD]Name[/TD]
[TD]Name[/TD]
[TD]City[/TD]
[TD]Results[/TD]
[TD]None[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]Mar[/TD]
[TD]Emp3[/TD]
[TD]Name[/TD]
[TD]Name[/TD]
[TD]City[/TD]
[TD]Results[/TD]
[TD]Other[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]Jan[/TD]
[TD]Emp1[/TD]
[TD]Name[/TD]
[TD]Name[/TD]
[TD]City[/TD]
[TD]Results[/TD]
[TD]None[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]Feb[/TD]
[TD]Emp2[/TD]
[TD]Name[/TD]
[TD]Name[/TD]
[TD]City[/TD]
[TD]Results[/TD]
[TD]COBC[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]Mar[/TD]
[TD]Emp3[/TD]
[TD]Name[/TD]
[TD]Name[/TD]
[TD]City[/TD]
[TD]Results[/TD]
[TD]None[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Emp1[/TD]
[TD="colspan: 3"]Should return "None"[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Emp2[/TD]
[TD="colspan: 3"]Should Return "COBC"[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Emp3[/TD]
[TD="colspan: 3"]Should Return "Other"[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Any help is appreciated and thank you in advance.