Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 1
Default Auto adjustment of functions

Is there any way for formulas to self-adjust? I'm doing a worksheet for savings. IE: Item A gets 10%, Item B gets 40%, Item C gets 15%, Item D gets 15% Item E gets 30%. If $100 is saved so far: Item A is up to $10, B is $40, C is $15, D is $15 And E is $30. If item B's goal is $15 with the rest still needin to accrue, is there any way to automatically have the formula stop contributing to Item B and split the rest to the other items? I know this would be fairly complex.

Thanks for any help!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,522
Default Auto adjustment of functions

On Wednesday, February 29, 2012 8:30:08 AM UTC-6, gfy532 wrote:
Is there any way for formulas to self-adjust? I'm doing a worksheet for
savings. IE: Item A gets 10%, Item B gets 40%, Item C gets 15%, Item D
gets 15% Item E gets 30%. If $100 is saved so far: Item A is up to $10,
B is $40, C is $15, D is $15 And E is $30. If item B's goal is $15 with
the rest still needin to accrue, is there any way to automatically have
the formula stop contributing to Item B and split the rest to the other
items? I know this would be fairly complex.

Thanks for any help!


At least show us your formula or send a file to dguillett1 @gmail.com





--
gfy532


  #3   Report Post  
Junior Member
 
Posts: 2
Default

Quote:
Originally Posted by gfy532 View Post
Is there any way for formulas to self-adjust? I'm doing a worksheet for savings. IE: Item A gets 10%, Item B gets 40%, Item C gets 15%, Item D gets 15% Item E gets 30%. If $100 is saved so far: Item A is up to $10, B is $40, C is $15, D is $15 And E is $30. If item B's goal is $15 with the rest still needin to accrue, is there any way to automatically have the formula stop contributing to Item B and split the rest to the other items? I know this would be fairly complex.

Thanks for any help!
Hello,

well the first problem is that you distributed percentage all wrong. Your sum gives back 110 and not 100 :))) it took me quite a while to figure it out.

I can give you this formulas but they are not ideal.

in a case where you have in a column A your names B,A,C,D,E (starting with the row number 2) and in column C you percentage. Cell B1 is the amount saved.
so in the cell B2 you would put, +IF($B$1*C2=15;15;$B$1*C2) this reffers to name B. And then in cell B3 you would put this and then drag it down to other cells:
+IF($B$1*$C$2<$B$2;($B$1-$B$2)*(C3+(1-SUM($C$3:$C$6))*(C3/SUM($C$3:$C$6)));$B$1*C3)

i dont know if this helps you, is not ideal formula cuz it assumes that you are always looking to stop contributing to the item B.
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
Auto Cell Height Adjustment for text entered Solex Excel Discussion (Misc queries) 3 June 19th 09 01:18 PM
Formula Auto-Adjustment robot[_3_] New Users to Excel 1 January 7th 09 07:09 AM
Auto height adjustment to fit on a single printed page [email protected] Excel Programming 2 November 14th 08 06:32 PM
Can I turn off the auto-select in Functions? slb1170 Excel Worksheet Functions 0 July 10th 07 06:36 PM
Auto repeate parts of functions [email protected] Excel Worksheet Functions 2 August 18th 05 11:09 PM


All times are GMT +1. The time now is 11:04 PM.

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

About Us

"It's about Microsoft Excel"