Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
sai sai is offline
external usenet poster
 
Posts: 10
Default Need help with logic to spread changes

Here is a sample file with 4 columns
Gp Qty Change Reallocated
1 10 0
1 20 22.22222222
1 30 33.33333333
1 40 44.44444444
2 25
2 45
3
3
3

In the data above - Gp 1 has 100 units (10+20+30+40) allocated to it.
When a change to made to any of the quantities (changed to 0 from 10 in
row 1), that change needs to proportional distributed across the group
keeping the total the same. For instance if I reduce row 1 from 10 to
0, then row 2, 3 and 4 are changed to the numbers in the reallocated
column so that the sum is still 100 units.

Other groups are not affected. The change can be an increase or a
decrease.

I want to be able to do this through VBA - when a change is made to
column 3, I want to populate column 4.

Can someone please help?

Sai

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
More if then logic DJ Excel Worksheet Functions 2 October 8th 09 05:40 PM
More if then logic DJ Excel Worksheet Functions 2 October 8th 09 05:37 PM
how do i enter a bull call spread into the options spread sheet ? alvin smith Excel Worksheet Functions 0 November 27th 06 01:23 AM
IRR Logic Carrie Excel Worksheet Functions 2 November 18th 05 08:59 PM
Can't get the logic right Mr. Clean[_2_] Excel Programming 9 December 29th 03 04:22 PM


All times are GMT +1. The time now is 02:54 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"