+ Reply to Thread
Results 1 to 11 of 11

Percentage calculation based on multiple date criteria

  1. #1
    Registered User
    Join Date
    01-20-2015
    Location
    Baltimore, MD
    MS-Off Ver
    2013 Office
    Posts
    16

    Percentage calculation based on multiple date criteria

    Hello all,

    I run into an issue when calculating percentage for this sheet. I have 70 rows of people, with 25 columns of dates. Each column is a particular training. Each row is a particular person.
    Each training has an expiration date. Most yearly, 2 quarterly, and 2 'every 4 years'. I need to calculate the individual percentage of completion based on those dates.
    Example:
    Person 1 -- has 23 certifications that are up-to-date and in-line with the requirements per column. 1 certification was never completed (cell is blank), and 1 is expired (greater than that column's particular date).
    His percentage should be calculated appropriately (92%).

    How do I accomplish this?

    Thanks!


    Edit: Solved in post #8. See this post and last post for explanations and solutions.
    Last edited by odahilys; 01-26-2015 at 10:10 AM.

  2. #2
    Forum Expert
    Join Date
    10-09-2014
    Location
    Newcastle, England
    MS-Off Ver
    2003 & 2013
    Posts
    1,986

    Re: Percentage calculation based on multiple date criteria

    Off the top of my head, the easiest (but definitely not prettiest or cleverest) would be to create a 2nd table based on the 1st

    eg, assuming your 25 columns are from A - Y, with the required data in row1 and data from rows 2 onwards then in AA2 put
    Please Login or Register  to view this content.
    then drag this along and down to fill the table then in the cell you want your percentage put:
    Please Login or Register  to view this content.
    You can then hide the columns containing the 2nd table
    If someone has helped you then please add to their Reputation

  3. #3
    Registered User
    Join Date
    01-20-2015
    Location
    Baltimore, MD
    MS-Off Ver
    2013 Office
    Posts
    16

    Re: Percentage calculation based on multiple date criteria

    Thanks for the quick response!

    A bit confused however. A second table, something like this:
    Training #1 -- Yearly
    Training #2 -- Quarterly
    Training #3 -- Every 4 years
    etc...?

    My 25 columns go from E to AC.
    My rows go from 3 to 74.
    Each row in column D has the individual percentage.

    Thanks again!

  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,926

    Re: Percentage calculation based on multiple date criteria

    It would probably help if you uploaded a sample workbook, showing what you have, and what you want?
    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

  5. #5
    Registered User
    Join Date
    01-20-2015
    Location
    Baltimore, MD
    MS-Off Ver
    2013 Office
    Posts
    16

    Re: Percentage calculation based on multiple date criteria

    Here is an attached book that is censored:

    training tracker.xlsx

    Names and trainings are censored but all else remains true.

    Column D "Individual Percentage" is currently calculated with Not Blank divided by 25.
    This is inaccurate, as certain trainings expire at different times.
    Row B displays each training's expiry time frame.

  6. #6
    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,926

    Re: Percentage calculation based on multiple date criteria

    Thanks for the file

    So the dates in the table are the dates the test was taken, correct? And E4 would be duw for renewal on 31-May-2018 and F4 would be on 20-Nov-2015?

  7. #7
    Registered User
    Join Date
    01-20-2015
    Location
    Baltimore, MD
    MS-Off Ver
    2013 Office
    Posts
    16

    Re: Percentage calculation based on multiple date criteria

    Exactly! :D Just need to calculate percentages across :D

  8. #8
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,913

    Re: Percentage calculation based on multiple date criteria

    see the attached file one helper row created above the training period
    Attached Files Attached Files
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  9. #9
    Registered User
    Join Date
    01-20-2015
    Location
    Baltimore, MD
    MS-Off Ver
    2013 Office
    Posts
    16

    Re: Percentage calculation based on multiple date criteria

    nflsales, thank you for the file!

    A few things:

    An extra row resides that appears to be blank. Is it okay to be deleted?
    Could you help me interpret the new formula for the individual percentage and the helper row?

    Thanks!

  10. #10
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,913

    Re: Percentage calculation based on multiple date criteria

    No problem delete the Row number 4
    check the report individual percentage formula also updated

  11. #11
    Registered User
    Join Date
    01-20-2015
    Location
    Baltimore, MD
    MS-Off Ver
    2013 Office
    Posts
    16

    Re: Percentage calculation based on multiple date criteria

    Sorry for the delayed reply!
    Thank you very much, the spreadsheet works wonders!

    For reference of people who are trying to google, the cell formula for calculating individual percentages based on dates:
    Please Login or Register  to view this content.
    Formula is pasted at every row on Column D to calculate individuals' training percentage based on dates.

    The hidden row formula:
    Please Login or Register  to view this content.
    The hidden row is row 2 for me. Starting at Column E, row 1 includes names for the trainings. Row 2 includes month values in contrast to years. See Post #8 for nflsales's solved spreadsheet.

+ 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. Replies: 21
    Last Post: 09-09-2014, 08:23 AM
  2. [SOLVED] Need help creating an IF formula to add a percentage based on multiple criteria
    By jbear536 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-23-2013, 11:38 AM
  3. Calculation based on multiple criteria
    By excelaudio in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-05-2013, 03:25 PM
  4. Percentage calculation based on number entered
    By Brewha51 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 01-29-2013, 01:33 PM
  5. Date calculation based on multiple parameters
    By koudesak in forum Outlook Formatting & Functions
    Replies: 2
    Last Post: 10-03-2011, 10:18 AM

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