Hi all,
I need help to calculate commission based on 3 levels. I have a list of database with the date they join, their identification No. (ID), name, amount, the ID and person who introduce them.
Example;
<tbody>
</tbody>
Based on the above data, Jack (A0001) recruit John (A0002) and Alex (A0003). Jack suppose to receive a commission of $ 100 for each person he recruited (2 x $ 100 = $ 200). This is level 1.
John (A0002) then recruit Murphy (A0004) and Douglas (A0005). Jack (A0001) will receive $ 50 for each person John (A0002) recruited. (2 x $ 50 = $ 100). This is level 2 (aka overriding).
Murphy (A0004) then recruit Vincent (A0006) and Raphael (A0007). Jack (A0001) will receive $ 20 for each person Murphy (A0004) recruited. (2 x $ 20 = $ 40). This is level 3 (aka overriding).
How do I calculate the above by using VBA or excel formulae? Any help would be highly appreciated.
Thank you in advance.
I need help to calculate commission based on 3 levels. I have a list of database with the date they join, their identification No. (ID), name, amount, the ID and person who introduce them.
Example;
Date Join | ID | Name | Amount $ | Introducer ID | Name |
01-10-12 | A0001 | Jack | 1,000 | - | - |
03-10-12 | A0002 | John | 1,000 | A0001 | Jack |
03-10-12 | A0003 | Alex | 1,000 | A0001 | Jack |
04-10-12 | A0004 | Murphy | 1,000 | A0002 | John |
04-10-12 | A0005 | Douglas | 1,000 | A0002 | John |
05-10-12 | A0006 | Vincent | 1,000 | A0004 | Murphy |
05-10-12 | A0007 | Raphael | 1,000 | A0004 | Murphy |
06-10-12 | A0008 | Kate | 1,000 | A0006 | Vincent |
07-10-12 | A0009 | Cindy | 1,000 | A0008 | Kate |
<tbody>
</tbody>
Based on the above data, Jack (A0001) recruit John (A0002) and Alex (A0003). Jack suppose to receive a commission of $ 100 for each person he recruited (2 x $ 100 = $ 200). This is level 1.
John (A0002) then recruit Murphy (A0004) and Douglas (A0005). Jack (A0001) will receive $ 50 for each person John (A0002) recruited. (2 x $ 50 = $ 100). This is level 2 (aka overriding).
Murphy (A0004) then recruit Vincent (A0006) and Raphael (A0007). Jack (A0001) will receive $ 20 for each person Murphy (A0004) recruited. (2 x $ 20 = $ 40). This is level 3 (aka overriding).
How do I calculate the above by using VBA or excel formulae? Any help would be highly appreciated.
Thank you in advance.