+ Reply to Thread
Results 1 to 6 of 6

Automatically Change Cell Value

Hybrid View

  1. #1
    Registered User
    Join Date
    03-03-2010
    Location
    Singapore
    MS-Off Ver
    Excel 2003
    Posts
    4

    Automatically Change Cell Value

    Hi,

    I am tryinto to plan a schedule and need excel to automatical xfer the value to another cell if the total for the day has exceed.
    e.g if a set the limit to be 15 everyday how can i make sure that on mon the 3 if shifted to tueasday and 14 is shifted to wed automatically.

    Mon Tue Wed Thur
    1 3
    2 10 29
    3 5
    tried using if function but can't seem to nest the thing propely
    Thanks

  2. #2
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    Re: Automatically Change Cell Value

    I'm confused. If 3 is shifted to Tuesday, wouldn't that make Tuesday's total 32, meaning that 15 is transferred to Wednesday and 2 to Thursday?

  3. #3
    Registered User
    Join Date
    03-03-2010
    Location
    Singapore
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Automatically Change Cell Value

    yes that is rite. things will automatically be xfered such that the total for the day would only be 15 max.

  4. #4
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    Re: Automatically Change Cell Value

    Assuming your table is in A1:E4, B5 could have =MIN(SUM(B2:B4),15) and C5 could have =MIN(SUM($B$2:C4)-SUM($B$5:B5),15), dragged over for D5 and E5.

  5. #5
    Registered User
    Join Date
    03-03-2010
    Location
    Singapore
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Automatically Change Cell Value

    thks. but this method will always ensure that the last column is fixed to 15. but i would want the value from A2 to E4 to change accordingly.

  6. #6
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    Re: Automatically Change Cell Value

    The only way to have it change automatically is with a macro. Unfortunately, I've never made time to study VBA, so I can't really help. Maybe one of the other gurus can.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1