All, I have a W/S with a portfolio grouped by their respective relationship names. I need a formula (or VBA) that will first look in COLUMN D, and count the number of instances, then I need it compare the contents of its corresponding cell content in Column I, and finally display whether all cell values in Col I are an exact match.
The purpose of doing this is to identify any split relationship; meaning that the relationship is being handled by multiple parties.
It seems to me like a logical formula would work but after several failed attempts, this is the best I could come up with.
This works okay; but, as can be seen, it is limited to a logical statement that only references 2 cells. In the above sample, if D2=D3, then, are I2 and I3 exact matches? I nested an IF statement to do a reverse lookup, but I'm certain there's a better, more thorough way to look at all instances simultaneously and have it return a Split/Unplit, True/False, Match/Unmatch, Yes/No, or any variation thereof.
The challenge is that oftentimes, there are more than 2 accounts in a single relationship with multiple relationships having 15 ~ 40 instances.
I've included a sample below in hopes of providing some clarity on what it is I am after.
Many thanks in advance.
[TABLE="width: 853"]
<TBODY>[TR]
[TD]0000000001</SPAN>
[/TD]
[TD]AAA QUALITAE
[/TD]
[TD]BLR</SPAN>
[/TD]
[TD]U, MARY</SPAN>
[/TD]
[TD]TRUE
[/TD]
[TD]JULIE M</SPAN>
[/TD]
[TD]AG03</SPAN>
[/TD]
[/TR]
[TR]
[TD]0000000002</SPAN>
[/TD]
[TD]AAA QUALITAE
[/TD]
[TD]BLR</SPAN>
[/TD]
[TD]U, MARY</SPAN>
[/TD]
[TD]TRUE
[/TD]
[TD]JULIE M</SPAN>
[/TD]
[TD]AG03</SPAN>
[/TD]
[/TR]
[TR]
[TD]0000000003</SPAN>
[/TD]
[TD]AAA QUALITAE
[/TD]
[TD]BLR</SPAN>
[/TD]
[TD]U, MARY</SPAN>
[/TD]
[TD]TRUE
[/TD]
[TD]JULIE M</SPAN>
[/TD]
[TD]AG03</SPAN>
[/TD]
[/TR]
[TR]
[TD]AAA QUALITAE COUNT</SPAN>
[/TD]
[TD="align: right"]3</SPAN>
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]0000000006</SPAN>
[/TD]
[TD]ROBEE JR
[/TD]
[TD]BLR</SPAN>
[/TD]
[TD]BRISK, D</SPAN>
[/TD]
[TD]FALSE
[/TD]
[TD]ANN P</SPAN>
[/TD]
[TD]1084</SPAN>
[/TD]
[/TR]
[TR]
[TD]0000000007</SPAN>
[/TD]
[TD]ROBEE JR
[/TD]
[TD]BLR</SPAN>
[/TD]
[TD]BRISK, D</SPAN>
[/TD]
[TD]FALSE
[/TD]
[TD]ARK </SPAN>
[/TD]
[TD]1082</SPAN>
[/TD]
[/TR]
[TR]
[TD]ROBEE JR COUNT</SPAN>
[/TD]
[TD="align: right"]2</SPAN>
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]0000000012</SPAN>
[/TD]
[TD]VAN'DESEL
[/TD]
[TD]BLR</SPAN>
[/TD]
[TD]BRISK, D</SPAN>
[/TD]
[TD]TRUE
[/TD]
[TD]BWDQ</SPAN>
[/TD]
[TD]1094</SPAN>
[/TD]
[/TR]
[TR]
[TD]0000000013</SPAN>
[/TD]
[TD]VAN'DESEL
[/TD]
[TD]BLR</SPAN>
[/TD]
[TD]BRISK, D</SPAN>
[/TD]
[TD]TRUE
[/TD]
[TD]BWDQ</SPAN>
[/TD]
[TD]1094</SPAN>
[/TD]
[/TR]
[TR]
[TD]0000000014</SPAN>
[/TD]
[TD]VAN'DESEL
[/TD]
[TD]BLR</SPAN>
[/TD]
[TD]BRISK, D</SPAN>
[/TD]
[TD]FALSE
[/TD]
[TD]BWDQ</SPAN>
[/TD]
[TD]1094</SPAN>
[/TD]
[/TR]
[TR]
[TD]0000000015</SPAN>
[/TD]
[TD]VAN'DESEL
[/TD]
[TD]BLR</SPAN>
[/TD]
[TD]BRISK, D</SPAN>
[/TD]
[TD]FALSE
[/TD]
[TD]RPWQ</SPAN>
[/TD]
[TD]1095</SPAN>
[/TD]
[/TR]
[TR]
[TD]VAN'DESEL COUNT</SPAN>
[/TD]
[TD="align: right"]4</SPAN>
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</TBODY>[/TABLE]
The purpose of doing this is to identify any split relationship; meaning that the relationship is being handled by multiple parties.
It seems to me like a logical formula would work but after several failed attempts, this is the best I could come up with.
Code:
==IF(D1=D2,EXACT(I1,I2),IF(D2=D1,EXACT(I2,I1),""))
The challenge is that oftentimes, there are more than 2 accounts in a single relationship with multiple relationships having 15 ~ 40 instances.
I've included a sample below in hopes of providing some clarity on what it is I am after.
Many thanks in advance.
[TABLE="width: 853"]
<TBODY>[TR]
[TD]0000000001</SPAN>
[/TD]
[TD]AAA QUALITAE
[/TD]
[TD]BLR</SPAN>
[/TD]
[TD]U, MARY</SPAN>
[/TD]
[TD]TRUE
[/TD]
[TD]JULIE M</SPAN>
[/TD]
[TD]AG03</SPAN>
[/TD]
[/TR]
[TR]
[TD]0000000002</SPAN>
[/TD]
[TD]AAA QUALITAE
[/TD]
[TD]BLR</SPAN>
[/TD]
[TD]U, MARY</SPAN>
[/TD]
[TD]TRUE
[/TD]
[TD]JULIE M</SPAN>
[/TD]
[TD]AG03</SPAN>
[/TD]
[/TR]
[TR]
[TD]0000000003</SPAN>
[/TD]
[TD]AAA QUALITAE
[/TD]
[TD]BLR</SPAN>
[/TD]
[TD]U, MARY</SPAN>
[/TD]
[TD]TRUE
[/TD]
[TD]JULIE M</SPAN>
[/TD]
[TD]AG03</SPAN>
[/TD]
[/TR]
[TR]
[TD]AAA QUALITAE COUNT</SPAN>
[/TD]
[TD="align: right"]3</SPAN>
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]0000000006</SPAN>
[/TD]
[TD]ROBEE JR
[/TD]
[TD]BLR</SPAN>
[/TD]
[TD]BRISK, D</SPAN>
[/TD]
[TD]FALSE
[/TD]
[TD]ANN P</SPAN>
[/TD]
[TD]1084</SPAN>
[/TD]
[/TR]
[TR]
[TD]0000000007</SPAN>
[/TD]
[TD]ROBEE JR
[/TD]
[TD]BLR</SPAN>
[/TD]
[TD]BRISK, D</SPAN>
[/TD]
[TD]FALSE
[/TD]
[TD]ARK </SPAN>
[/TD]
[TD]1082</SPAN>
[/TD]
[/TR]
[TR]
[TD]ROBEE JR COUNT</SPAN>
[/TD]
[TD="align: right"]2</SPAN>
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]0000000012</SPAN>
[/TD]
[TD]VAN'DESEL
[/TD]
[TD]BLR</SPAN>
[/TD]
[TD]BRISK, D</SPAN>
[/TD]
[TD]TRUE
[/TD]
[TD]BWDQ</SPAN>
[/TD]
[TD]1094</SPAN>
[/TD]
[/TR]
[TR]
[TD]0000000013</SPAN>
[/TD]
[TD]VAN'DESEL
[/TD]
[TD]BLR</SPAN>
[/TD]
[TD]BRISK, D</SPAN>
[/TD]
[TD]TRUE
[/TD]
[TD]BWDQ</SPAN>
[/TD]
[TD]1094</SPAN>
[/TD]
[/TR]
[TR]
[TD]0000000014</SPAN>
[/TD]
[TD]VAN'DESEL
[/TD]
[TD]BLR</SPAN>
[/TD]
[TD]BRISK, D</SPAN>
[/TD]
[TD]FALSE
[/TD]
[TD]BWDQ</SPAN>
[/TD]
[TD]1094</SPAN>
[/TD]
[/TR]
[TR]
[TD]0000000015</SPAN>
[/TD]
[TD]VAN'DESEL
[/TD]
[TD]BLR</SPAN>
[/TD]
[TD]BRISK, D</SPAN>
[/TD]
[TD]FALSE
[/TD]
[TD]RPWQ</SPAN>
[/TD]
[TD]1095</SPAN>
[/TD]
[/TR]
[TR]
[TD]VAN'DESEL COUNT</SPAN>
[/TD]
[TD="align: right"]4</SPAN>
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</TBODY>[/TABLE]