wakerider017
Board Regular
- Joined
- Jun 10, 2015
- Messages
- 77
I wrote this formula a long time ago and it seems to work, but I am having trouble understanding what I did.. Can someone help me figure out what is going on here?
VIPs (C2:C6)
How many VIPs do I need to have the VIP population be 60% of the total population?
Example: If I Currently have 104 Total Customers & 59 VIPs then 56.73% of the population is VIP. If I add another 8.5 VIP customers then I end up with a perfect balance of 60% VIP and 40% regular.
Non-VIPs(D2:D6)
How many regular customers do I need to have the VIP population be 60% of the total population?
Example: If I Currently have 89 Total Customers & 66 VIPs then 74.16% of the population is VIP. If I add another 21 regular customers then I end up with a perfect balance of 60% VIP and 40% regular.
[TABLE="class: grid, width: 600, align: center"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]All Customers[/TD]
[TD]VIP Customers[/TD]
[TD][TABLE="width: 212"]
<tbody>[TR]
[TD="width: 212"]# of VIPs Required to be 60% VIP[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 242"]
<tbody>[TR]
[TD="width: 242"]# of Regular Customers to be 60% VIP[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD][TABLE="width: 94"]
<tbody>[TR]
[TD="width: 94, align: right"]52[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]32[/TD]
[TD][/TD]
[TD]1.33333333[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]255[/TD]
[TD]169[/TD]
[TD][/TD]
[TD]26.6666667[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]181[/TD]
[TD]108[/TD]
[TD]1.5[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]89[/TD]
[TD]66[/TD]
[TD][/TD]
[TD]21[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]104[/TD]
[TD]59[/TD]
[TD]8.5[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
VIPs (C2:C6)
Code:
=IF(IFERROR((-2.5*$B2)+(1.5*$A2),"")<=0,"",IFERROR((-2.5*$B2)+(1.5*$A2),""))
How many VIPs do I need to have the VIP population be 60% of the total population?
Example: If I Currently have 104 Total Customers & 59 VIPs then 56.73% of the population is VIP. If I add another 8.5 VIP customers then I end up with a perfect balance of 60% VIP and 40% regular.
Non-VIPs(D2:D6)
Code:
=IF(IFERROR(((-1*(5/3))*($A2-$B2))+((2/3)*$A2),"")<=0,"",IFERROR(((-1*(5/3))*($A2-$B2))+((2/3)*$A2),""))
Example: If I Currently have 89 Total Customers & 66 VIPs then 74.16% of the population is VIP. If I add another 21 regular customers then I end up with a perfect balance of 60% VIP and 40% regular.
[TABLE="class: grid, width: 600, align: center"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]All Customers[/TD]
[TD]VIP Customers[/TD]
[TD][TABLE="width: 212"]
<tbody>[TR]
[TD="width: 212"]# of VIPs Required to be 60% VIP[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 242"]
<tbody>[TR]
[TD="width: 242"]# of Regular Customers to be 60% VIP[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD][TABLE="width: 94"]
<tbody>[TR]
[TD="width: 94, align: right"]52[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]32[/TD]
[TD][/TD]
[TD]1.33333333[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]255[/TD]
[TD]169[/TD]
[TD][/TD]
[TD]26.6666667[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]181[/TD]
[TD]108[/TD]
[TD]1.5[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]89[/TD]
[TD]66[/TD]
[TD][/TD]
[TD]21[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]104[/TD]
[TD]59[/TD]
[TD]8.5[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Last edited: