Hi Everyone,
I'm not sure if similar solutions have been posted before---I've tried looking for them and have had no luck.
As you can see from the below table there are repeated "lookup values" which is the first challenge, but at the same time I want these "Engagement Codes" to be run through IF/AND/OR functions to bring back a Y/N for each service line.
Let's say that "Service Line" covers BAS and SFTSS. If the lookup finds that value, I want it to mark a Y. So, ideally the lookup would search "123150," (for all three instances) look through BAS, TXGEN and IES and check those against a nested IF statement to return a "Y" for Service Line, if the statement is true, blank, if not. This would be then repeated for "Service Line 2," but for different engagement codes.
Table from which I want info pulled:
Client Code Engagement Code
123150 BAS
123150 TXGEN
123150 IES
198923 IES
198923 SFTSS
198923 BENAU
198923 BENAU
198923 BAS
342090 SALT
342090 FWPLN
Table where I want it placed:
Client Code Service Line Service Line 2 Service Line 3
123150
198923
342090
Thanks for your help in advance.
I'm not sure if similar solutions have been posted before---I've tried looking for them and have had no luck.
As you can see from the below table there are repeated "lookup values" which is the first challenge, but at the same time I want these "Engagement Codes" to be run through IF/AND/OR functions to bring back a Y/N for each service line.
Let's say that "Service Line" covers BAS and SFTSS. If the lookup finds that value, I want it to mark a Y. So, ideally the lookup would search "123150," (for all three instances) look through BAS, TXGEN and IES and check those against a nested IF statement to return a "Y" for Service Line, if the statement is true, blank, if not. This would be then repeated for "Service Line 2," but for different engagement codes.
Table from which I want info pulled:
Client Code Engagement Code
123150 BAS
123150 TXGEN
123150 IES
198923 IES
198923 SFTSS
198923 BENAU
198923 BENAU
198923 BAS
342090 SALT
342090 FWPLN
Table where I want it placed:
Client Code Service Line Service Line 2 Service Line 3
123150
198923
342090
Thanks for your help in advance.