+ Reply to Thread
Results 1 to 7 of 7

percentage of dates on time

Hybrid View

fabrecass percentage of dates on time 01-14-2013, 10:04 AM
benishiryo Re: percentage of dates on... 01-14-2013, 10:10 AM
Fotis1991 Re: percentage of dates on... 01-14-2013, 10:17 AM
fabrecass Re: percentage of dates on... 01-14-2013, 10:36 AM
Fotis1991 Re: percentage of dates on... 01-14-2013, 10:41 AM
fabrecass Re: percentage of dates on... 01-14-2013, 10:50 AM
Fotis1991 Re: percentage of dates on... 01-14-2013, 10:56 AM
  1. #1
    Forum Contributor
    Join Date
    02-01-2011
    Location
    london, england
    MS-Off Ver
    Excel 2016
    Posts
    179

    percentage of dates on time

    hi guys, i have a column of planned dates (a), and a column of actual dates (b), i need to know what percentage of the actual dates are on time.

    I also need a count of how many are on time.

    can anyone help?
    Last edited by fabrecass; 01-14-2013 at 11:07 AM.

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: percentage of dates on time

    hi fabrecass. assuming data is in A2:B10, try this for %:
    =SUMPRODUCT(--(A2:A10>B2:B10))/ROWS(A2:A10)

    and this for counts:
    =SUMPRODUCT(--(A2:A10>B2:B10))
    Attached Files Attached Files
    Last edited by benishiryo; 01-14-2013 at 10:42 AM. Reason: added file

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: percentage of dates on time

    In C1 and copy down.

    =IF(COUNTIF($A$2:$A$10,B2)>0,1,"")

    The sum of(c2:c10) is the count that you are looking.

    For %

    =SUM(C2:C10)/COUNT(A2:A10)
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  4. #4
    Forum Contributor
    Join Date
    02-01-2011
    Location
    london, england
    MS-Off Ver
    Excel 2016
    Posts
    179

    Re: percentage of dates on time

    not having any luck with either guys.

    first solution seems to just count, not count the dates on time.

    second solution gives a #NAME error?

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: percentage of dates on time

    Why? ..............
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    02-01-2011
    Location
    london, england
    MS-Off Ver
    Excel 2016
    Posts
    179

    Re: percentage of dates on time

    oooh.... might be my mistake, does sumproduct not work across 2 worksheets?

  7. #7
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: percentage of dates on time

    [QUOTE=fabrecass;3081118]oooh.... might be my mistake, does sumproduct not work across 2 worksheets?[/QUOTE

    It works.

+ 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