+ Reply to Thread
Results 1 to 7 of 7

Calculating percentage complete based on actual and not forecasted

  1. #1
    Registered User
    Join Date
    05-22-2012
    Location
    Calgary Alberta
    MS-Off Ver
    Excel 2010
    Posts
    42

    Calculating percentage complete based on actual and not forecasted

    Any help would be greatly appreciated on this one.
    I have an idea on how it should go just not sure how to put it together and its driving me nuts
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Calculating percentage complete based on actual and not forecasted

    Not sure what your expected answers would be, but give this ARRAY formula a try in A2, copied down...
    =CHOOSE(MATCH(MAX(IF(B2:E2<=$G$1,B2:E2),0),B2:E2,0),0.25,0.5,0.75,1)

    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    05-22-2012
    Location
    Calgary Alberta
    MS-Off Ver
    Excel 2010
    Posts
    42

    Re: Calculating percentage complete based on actual and not forecasted

    It works with one exception...
    If the dates occur in the past I want it to calculate the total percentage to date. If the date has been passed then it should ignore that date.
    For example if B2 & D2 occured in the past then the value in A2 should be 50%. Then once the date in C2 has changed to an actual completion date then the value in A2 would be 85%. And so on until B2:D2 were all actual completion dates.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Calculating percentage complete based on actual and not forecasted

    Oh ok, so they are cumulative?

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Calculating percentage complete based on actual and not forecasted

    Try this...
    =IF(B2<=$G$1,0.25,0)+IF(C2<=$G$1,0.35,0)+IF(D2<=$G$1,0.25,0)+IF(E2<=$G$1,0.15,0)

    = 25% (only D2 is past)

  6. #6
    Registered User
    Join Date
    05-22-2012
    Location
    Calgary Alberta
    MS-Off Ver
    Excel 2010
    Posts
    42

    Re: Calculating percentage complete based on actual and not forecasted

    PERFECT!!! Didn't realize IF statements could be summed. Face Palming my self right now.
    Thanks again

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Calculating percentage complete based on actual and not forecasted

    Glad we got it resolved for you, and thanks for the feedback

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Formatting based on percentage complete and target date
    By alande03 in forum Excel General
    Replies: 4
    Last Post: 11-20-2013, 12:40 PM
  2. Calculating percentage based on new data
    By Ken_NJ in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-22-2013, 02:38 PM
  3. Calculating Percentage Complete
    By snaxxy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-31-2012, 03:43 PM
  4. Replies: 0
    Last Post: 08-08-2011, 05:11 AM
  5. staffing based off forecasted data,
    By webejamn in forum Excel General
    Replies: 1
    Last Post: 01-30-2011, 08:04 PM

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