Cranberries
New Member
- Joined
- Oct 11, 2006
- Messages
- 5
Hi
I'm trying to apportion the below '111111' accounts
In other words each of the 2 calc figues has to be apportioned to the '111111' account and the new figures are derived in the NewCalc 1 and New Calc 2 columns
I have hundreds of lines to apportion so if there is an easier way with VBA to calculate colums E to H please let me know.
Any help would be greatly appreciated!
I'm trying to apportion the below '111111' accounts
In other words each of the 2 calc figues has to be apportioned to the '111111' account and the new figures are derived in the NewCalc 1 and New Calc 2 columns
I have hundreds of lines to apportion so if there is an easier way with VBA to calculate colums E to H please let me know.
Any help would be greatly appreciated!
Testing2.xls | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | |||
1 | Calc1 | Calc2 | Current% | New% | NewCalc1 | NewCalc2 | ||||
2 | AAA | 111111 | 50,128,793.49 | 18,937,000.00 | ||||||
3 | AAA | 567892 | 2,821,685,961.84 | 3,517,685,034.73 | 84.07% | 86.70% | 2,863,828,579.98 | 3,534,103,778.51 | ||
4 | AAA | 567892 | 534,719,480.32 | 539,531,667.90 | 15.93% | 13.30% | 542,705,655.67 | 542,049,924.12 | ||
5 | BBB | 111111 | 1,141,648,765.21 | 525,914,150.38 | ||||||
6 | BBB | 512335 | 711,696,607.43 | 539,016,600.37 | 28.50% | 25.46% | 1,037,074,947.99 | 672,904,836.88 | ||
7 | BBB | 357892 | 1,660,573,766.39 | 1,489,784,915.86 | 66.50% | 70.36% | 2,419,766,280.22 | 1,859,837,851.21 | ||
8 | BBB | 357892 | 111,331,098.74 | 74,570,732.00 | 4.46% | 3.52% | 162,230,214.72 | 93,093,619.41 | ||
9 | BBB | 357892 | 50,527.83 | 39,701.97 | 0.00% | 0.00% | 73,628.49 | 49,563.68 | ||
10 | BBB | 357892 | 13,464,284.89 | 13,849,915.42 | 0.54% | 0.65% | 19,619,979.08 | 17,290,144.81 | ||
11 | CCC | 111111 | 219,783,139.60 | 169,499,988.79 | ||||||
12 | CCC | 300141 | 1,367,444,586.65 | 1,824,679,907.75 | 99.33% | 0.99 | 1,585,745,829.47 | 1,992,830,965.02 | ||
13 | CCC | 450121 | 9,282,639.47 | 14,637,839.77 | 0.67% | 0.01 | 10,764,536.25 | 15,986,771.29 | ||
14 | DDD | 111111 | 51,050,214.12 | 37,876,527.24 | ||||||
15 | DDD | 542345 | 3,129,876.27 | 3,629,025.86 | 0.2% | 0.3% | 3,245,569.85 | 3,725,309.79 | ||
16 | DDD | 542347 | 1,376,960,513.44 | 1,422,766,823.54 | 99.7% | 99.7% | 1,427,858,847.06 | 1,460,515,129.00 | ||
17 | DDD | 542343 | 78,011.13 | 82,445.15 | 0.0% | 0.0% | 80,894.75 | 84,632.55 | ||
18 | DDD | 442345 | 190,333.76 | 199,511.68 | 0.0% | 0.0% | 197,369.31 | 204,805.05 | ||
19 | DDD | 342345 | 710,625.64 | 921,809.05 | 0.1% | 0.1% | 736,893.40 | 946,266.14 | ||
Data Final |