Hi
I am having an accounts lists (A1,A2...A5,B1,B2...B5) with Parent(Accounts) as A,B and parent(parent(Accounts)) as X. Type of accounts are Type A, Type B.
If user(A,B,X) selects an account then the number of accounts under the particular user with same type should be display in target.
For example, if User A selects an Account A1 then the target should display as 3 because the number of accounts(A1,A2...A5) under User A having same type(Type A) are 3.
If User X selects an Account A2 then the target should display as 6 because the number of accounts(A1,A2..A5,B1,B2..B5) under User X having same type(Type A) are 6.
Please find below ex
| | Accounts | Parent(Parent(Accounts)) | Parent (Accounts) | Who is working(Formulatted,User) | Select | Count | Type | Target |
X | | | | | | | | | |
| A | | | | | | | | |
| | A1 | X | A | A | TRUE | 1 | Type A | 3 |
| | A2 | X | A | X | TRUE | 1 | Type A | 6 |
| | A3 | X | A | | | 1 | Type A | |
| | A4 | X | A | | | 1 | Type B | |
| | A5 | X | A | | | 1 | Type B | |
| | | | | | | | | |
| B | | | | | | | | |
| | B1 | X | B | B | TRUE | 1 | Type A | 3 |
| | B2 | X | B | X | TRUE | 1 | Type A | 6 |
| | B3 | X | B | | | 1 | Type A | |
| | B4 | X | B | | | 1 | Type B | |
| | B5 | X | B | | | 1 | Type B | |
Regards
Shirisha.