+ Reply to Thread
Results 1 to 3 of 3

Distribute Value by Hour

  1. #1
    Forum Contributor
    Join Date
    04-02-2008
    Location
    Jacksonville Beach, Florida
    MS-Off Ver
    Microsoft Excel 2003 and 2010
    Posts
    264

    Distribute Value by Hour

    How can one distribute a cell value (A2) over the course of a number of hours (B2) using the inputs in column D of the attached? I provided an expected result but keep in mind that the cells in yellow need to be adjustable and I used 4 hrs in the example because the math is very simple to calculate. My issue is creating a formula that can work with the adjustable input cells and distribute the value in A2 by any given number of hours entered in B2 between 0 and 6.9.

    I have been trying for hours on this even though it may seem simple to some...I would REALLY appreciate any help...and let me know if I can make this explanation any clearer.

    Thanks,

    D
    Attached Files Attached Files
    Last edited by dreicer_Jarr; 02-20-2011 at 09:06 PM.
    ______________________________________
    "Vision without Execution is a Hallucination"
    Edison

  2. #2
    Forum Contributor
    Join Date
    04-02-2008
    Location
    Jacksonville Beach, Florida
    MS-Off Ver
    Microsoft Excel 2003 and 2010
    Posts
    264

    Smile Re: Distribute Value by Hour

    Can I clarify anything? No luck? I ask because this seems very possible...

  3. #3
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Distribute Value by Hour

    Hello dreicer_Jarr

    See the attached, I revised the layout very slightly so that E2:E4 contains the percentages 25%, 50%, 25% and there are two "helper" columns in F1:F4 and G1:G4 (you can hide these if you want), then in B7 this formula copied down

    =MIN(1,LOOKUP(A7,F$1:F$3,G$1:G$3+(A7-F$1:F$3)*D$2:D$4/(E$2:E$4*B$2)))*A$2-SUM(B$6:B6)

    See attached

    It's possible to eliminate the helper columns if you want but it will make the column B formula more complex......

    regards, daddylonglegs
    Attached Files Attached Files
    Audere est facere

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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