Pass Up calculation from bottomline derivative

Tiong999

New Member
Joined
Oct 13, 2016
Messages
8


<tbody>
[TD="class: votecell"]

[/TD]
[TD="class: postcell"] Im stuck trying to find simple formula to calculate derivative within a tree code.
Lets say for instance:
M
M1
M2
M11
M12
M111
M121
M122
M1111
M11111
M11112
M11 & M12 derivative from M1 & MM121 & M122 derivative from M12 & M1 & MM11111 & M11112 derivative from M1111 ; M111 ; M11 ; M1 & MIm looking for available PassUp Commision of any excess calculation from bottom line, which have developed into 2 branch ( 1 & 2 ).
Herewith i attach a file for your referrence.
HY3ksh.png

Hope anybody here could assist me, i will really appreciated it.
Regards,
Tiong


[/TD]

</tbody>
 
Last edited by a moderator:

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Please take a minute to read the forum rules, especially regarding cross-posting, and then comply with them. Thanks.
 
Upvote 0
I just noticed that my question in the thread is not correctly explained. Since i unable to edited my thread, i hope u guys could take a brief reading of my explaination on the Other Forum with the same subject.

Hereby i like to edited the question image
kYj9K.jpg



Hopefully, someone here could assist me how to formulate.
Any review, im very much appreciated.

Regards,
Tiong
 
Last edited:
Upvote 0
Before we go further, I let u take a brief explaination about some analogy:
* Code (Column C) is generate as derivative of 1 character left before, and every code only need to developed into 2 (1 & 2). Let take a simple tour:
M only could developed into M1 & M2 ==> first generation of M,
M1 only could developed into M11 & M12 ==> second generation of M , first generation of M1
M12 as well only could developed into M121 & M122 ==> third generation of M, second generation of M1 and first generation of M12
Continue until 10 generation for every code.

* Norm COM (Column G),I provide here just for reference.
Norm COM is a result of 2 developed code and will calculate base on some IF rule below example.
G5 = 650.000 ==> because in column C we have M1 with deposit 2.500.000
as well as we found M2 with deposit also 2.500.000. They both have the same rate 0,13.Since grade of M1 & M2 is in lower grade than M ( 1 & 1 &lt 4 ) thus we calculated base on M first derivative ( which is M1 & M2)
G5 = IF (G6*E6)+(G7*E7) > (G5*E5)+(G5*E5), (G5*E5)+(G5*E5), (G6*E6)+(G7*E7) ==> M1 & M2 developed result
G9 = IF (D10*E10)+(D11*E11) > (D9*E9)+(D9*E9), (D9*E9)+(D9*E9), (D10*E10)+(D11*E11) ==> M1111 & M1112 developed result
G10 = IF (D12*E12)+(D13*E13) > (D10*E10)+(D10*E10), (D10*E10)+(D10*E10), (D12*E12)+(D13*E13) ==> M11111 & M11112 developed result
Noticed G6, G7, G8 not yet developed into 2 developed code, thus formula result blank (“ “).

* PassUp COM calculated different approach than Norm COM.
Formula will calculated with some ruled:
- Ignore 1st generation of code developed, because it not necessary in current cell (H5).
- Formula will scanned from very bottom generation that which under the tree code developed.

In very simple logic PassUp COM is passing excess of Norm COM, in this instances G10 is “true” result of formula, thus we “Passing” the EXCESS
(((D12*E12)-(D10*E10))+((D13*E13)-((D10*E10))))
only if any of each “prior generation” have higher grade than F10.
H5 = 1.950.000
During in this example we are not seeing any higher grade from each of prior generation of M1111 until our current M
M11111 & M11112 ==> M1111 ==> M111 ==> M11 ==> M1 ==> M Hierarchy Code
4 & 4 ==> 1 ==> 1 ==> 1 ==> 1 ==> 4 GRADE


But if prior generation have higher grade, in this special example lets say M111 is grade 2
4 & 4 ==> 1 ==> 2 ==> 1 ==> 1 ==> 4
((D12*E12)-(D10*E10)-((D9*E9)-(D10*E10)))+((D13*E13)-(D10*E10)-((D9*E9)-(D10*E10)))
Then result will become H5 = 1.300.000


Let make additional example, if we found a new higher grade in M1 which grade 4
4 & 4 ==> 1 ==> 2 ==> 1 ==> 4 ==> 4
(((D12*E12)-(D10*E10)-((D9*E9)-(D10*E10))-((D6*E6)-((D9*E9)-(D10*E10))-(D10*E10)))
+
((D13*E13)-(D10*E10)-((D9*E9)-(D10*E10))-((D6*E6)-((D9*E9)-(D10*E10))-(D10*E10))) )
Then result will become H5 = 0



Hereby i like to edited the question image
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,909
Messages
6,175,315
Members
452,634
Latest member
cpostell

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top