View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Bernie Deitrick Bernie Deitrick is offline
external usenet poster
 
Posts: 5,441
Default how to limit the Weight of any weight distribution

Flawless,

This solution assumes that your percentage values are in cells E1:E8.

In cell F1, array enter (enter using Ctrl-Shift-Enter) the formula

=IF(E1=15%,15%,E1*(1+SUM(IF(E$1:E$8=15%,E$1:E$8-15%,0))/SUM(IF(E$1:E$8<15%,E$1:E$8,0))))

and copy down to cells F2:F8. If you enter it correctly, Excel will put it inside curly braces
{ }

There is only one complication - this formula is not recursive, and does limit the increased value
to just 15% - in your example, the 13.52% will increase to 15.18% (if the percentages are increased
proportionately). To get around this, copy column F to column G, and use the column G's results
(though you may need to copy the formulas out to column H, I, or J!).

HTH,
Bernie
MS Excel MVP


"Flawlesgem" wrote in message
...
I am reposting my question in this forum, as i didnt get any reply from
anyone for my post couple of days back, i dont know wats the reason;

I have to limit the weightage of value not more than 15%, this would be used
as benchmark weight, a

sample data is bleow;

Co. No. of Price Amount Weightage Required Weightage
Shares (APPROX vALUES)

A 1000 10 10000 10.25% 11.95%
B 800 12 9600 9.84% 11.47%
C 1200 14 16800 17.21% 15%
D 1100 16 17600 18.03% 15%
E 500 18 9000 9.22% 10.75%
F 300 20 6000 6.15% 7.17%
G 700 22 15400 15.78% 15%
H 550 24 13200 13.52% 15%

Total 97600


I need to limit the weightage upto 15% and excess would be divided among
other which are less than

15%, and if summation of orignal weightage and excess weightage from any
other co. wieghts would also

not be more than 15%, if it would be than excess of that co. weight should
also be distributed among

others. Price change is on daily basis.

In simple words as PIE chart work, if the erase any value within the range
the rest of the pie get

adjusted autometically.

Help requested