+ Reply to Thread
Results 1 to 43 of 43

On time performance by date.

  1. #1
    Registered User
    Join Date
    04-21-2020
    Location
    Horsham, W Sussex, UK
    MS-Off Ver
    2016
    Posts
    63

    Talking On time performance by date.

    Hi. Need help pls.
    Details are in the SS.
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,918

    Re: On time performance by date.

    Sorry for off-topic interjection:

    Although there is no official rule regarding this behaviour, we request that wherever possible both the question AND the answer be provided in substantive detail here within the thread. An attached workbook is an excellent aid for posing a question and offering a solution, but solely doing that with no in thread explanation makes it difficult for researchers to understand or consider the Q & A of this thread without downloading what may be a pointless doc to them, if they can do that at all. Doing that also hides the content from search engines so others may never benefit from this.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    04-21-2020
    Location
    Horsham, W Sussex, UK
    MS-Off Ver
    2016
    Posts
    63

    Re: On time performance by date.

    Sorry. I don’t know how else to explain it.
    E3 needs to look at all the dates in col B and return the count of the dates that match D3
    F3 needs to look at all the dates in col B and return the count of the 1s in col C that dates for that month match D4

  4. #4
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: On time performance by date.

    i have used the following 2 formulas
    change range to suite your extended data

    I have used to find the months using your text entries of JAN , FEB etc
    as they are text this made it a little more difficult and had to use a lookup to change the text into a month number, 1 to 12
    (FIND(LOWER(D3),"janfebmaraprmayjunjulaugsepoctnovdec")-1)/3+1))
    Then sumproduct by month number

    =IF(D3="","",SUMPRODUCT(--(MONTH($B$3:$B$23)=(FIND(LOWER(D3),"janfebmaraprmayjunjulaugsepoctnovdec")-1)/3+1)))

    this multiplies the number of months only when there is a 1 in column c

    =IF(D3="","",SUMPRODUCT(--(MONTH($B$3:$B$23)=(FIND(LOWER(D3),"janfebmaraprmayjunjulaugsepoctnovdec")-1)/3+1)*(($C$3:$C$23)=1)))
    Attached Files Attached Files
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  5. #5
    Registered User
    Join Date
    04-21-2020
    Location
    Horsham, W Sussex, UK
    MS-Off Ver
    2016
    Posts
    63

    Re: On time performance by date.

    Hi. Thank you so much.
    I have created the SS and tried to add your formula but I have made a mistake.
    I hope someone could take a look for me
    Attached Files Attached Files
    Last edited by Sandy737; 02-16-2021 at 02:23 PM.

  6. #6
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: On time performance by date.

    where have you added ?

  7. #7
    Registered User
    Join Date
    04-21-2020
    Location
    Horsham, W Sussex, UK
    MS-Off Ver
    2016
    Posts
    63

    Re: On time performance by date.

    Hi. I tried toadd it to C&D 5 but deleted it as it was not working.
    I have uploaded a new version

  8. #8
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: On time performance by date.

    Ok, you may need to explain a little more on the data

    So am I looking at the results sheet now ?
    column B has the TEXT for each month Jan to Dec

    where are the dates to count ? - what sheet and column
    and where are the Met list of 1's - what sheet and column is the met flag ? and is it still a 1 - i see ontime as a tick


    I have guessed
    Dates are in column Q ???
    and MET = "ü" in column S ???

    anywhere near ?
    Attached Files Attached Files
    Last edited by etaf; 02-16-2021 at 03:31 PM.

  9. #9
    Registered User
    Join Date
    04-21-2020
    Location
    Horsham, W Sussex, UK
    MS-Off Ver
    2016
    Posts
    63

    Re: On time performance by date.

    Hi. I have not explained it very well.
    I did have Jobs col ‘I’ showing 1 when col ‘R’ is ≥ 0 but I have messed it up and now my ticks are not counting as 1s as they did and don’t know how to fix it. I used;
    =IF(R5="","",IF(R5>(--"0"),"ü",""))

    It’s easy to tell if the large formula is working as the results for JAN will show JOBS = 8 and On time = 4

    Is there a better way to do this?

  10. #10
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: On time performance by date.

    It’s easy to tell if the large formula is working as the results for JAN will show JOBS = 8 and On time = 4

    still dont know what columns to use

    as i dont get 8 or 4 ???

    can you tell me the columns to use
    Last edited by etaf; 02-16-2021 at 05:09 PM.

  11. #11
    Registered User
    Join Date
    04-21-2020
    Location
    Horsham, W Sussex, UK
    MS-Off Ver
    2016
    Posts
    63

    Re: On time performance by date.

    Pls see attached
    Attached Files Attached Files

  12. #12
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: On time performance by date.

    thanks , that helped a lot

    Dates Are in column I and S = 1 = ontime

    total jobs =

    =IF(B5="","",SUMPRODUCT(--(MONTH(Jobs!$I$5:$I$57)=(FIND(LOWER(B5),"janfebmaraprmayjunjulaugsepoctnovdec")-1)/3+1)))

    ON TIME
    =IF(B5="","",SUMPRODUCT(--(MONTH(Jobs!$I$5:$I$57)=(FIND(LOWER(B5),"janfebmaraprmayjunjulaugsepoctnovdec")-1)/3+1)*((Jobs!$S$5:$S$57)=1)))

    Probably dont need the IF ( B5 =""

    total jobs =

    =SUMPRODUCT(--(MONTH(Jobs!$I$5:$I$57)=(FIND(LOWER(B5),"janfebmaraprmayjunjulaugsepoctnovdec")-1)/3+1))

    ON TIME
    =SUMPRODUCT(--(MONTH(Jobs!$I$5:$I$57)=(FIND(LOWER(B5),"janfebmaraprmayjunjulaugsepoctnovdec")-1)/3+1)*((Jobs!$S$5:$S$57)=1))
    Attached Files Attached Files

  13. #13
    Registered User
    Join Date
    04-21-2020
    Location
    Horsham, W Sussex, UK
    MS-Off Ver
    2016
    Posts
    63

    Re: On time performance by date.

    Hi. That’s working now. Thanks
    Is there a way to get the 1s to auto pop?
    I was trying
    =IF(R5="","",IF(R5>(--"1"),"",""))
    But could not get it to work

  14. #14
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: On time performance by date.

    so how is a 1 set , is it if column R is 0 or positive ie >0
    =IF(OR(R5="",R5<0),"",1)

    So if the cell is blank OR if its less than 0 , TRUE , then put a blank
    otherwise put a 1 as its 0 or greater in R5

  15. #15
    Registered User
    Join Date
    04-21-2020
    Location
    Horsham, W Sussex, UK
    MS-Off Ver
    2016
    Posts
    63

    Re: On time performance by date.

    Hi etaf
    That’s great, all works now.
    Thank you so much for your help

  16. #16
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,918

    Re: On time performance by date.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

  17. #17
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: On time performance by date.

    you are welcome

  18. #18
    Registered User
    Join Date
    04-21-2020
    Location
    Horsham, W Sussex, UK
    MS-Off Ver
    2016
    Posts
    63

    Re: On time performance by date.

    Can I get these cells to be blank when zero

    'Results' D14-F16
    Attached Files Attached Files

  19. #19
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,918

    Re: On time performance by date.

    Yes, Change this:

    =IF(D5="0", "", E5/D5)

    to this:

    =IF(D5=0, "", E5/D5)

  20. #20
    Registered User
    Join Date
    04-21-2020
    Location
    Horsham, W Sussex, UK
    MS-Off Ver
    2016
    Posts
    63

    Re: On time performance by date.

    Thanks, but the f for D14 is;
    =IF(C14="","",SUMPRODUCT(--(MONTH(Jobs!$I$5:$I$57)=(FIND(LOWER(C14),"janfebmaraprmayjunjulaugsepoctnovdec")-1)/3+1)))

  21. #21
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,918

    Re: On time performance by date.

    You'll need to do the same for all similar formulae:

    =IF(B14="","",IFERROR(\(\SUMPRODUCT(--(MONTH(Jobs!$I$5:$I$57)=(FIND(LOWER(B14),"janfebmaraprmayjunjulaugsepoctnovdec")-1)/3+1))),""))

  22. #22
    Registered User
    Join Date
    04-21-2020
    Location
    Horsham, W Sussex, UK
    MS-Off Ver
    2016
    Posts
    63

    Re: On time performance by date.

    Thanks but now the f dose not work.

  23. #23
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,918

    Re: On time performance by date.

    Oh, come on! Surely you can see from the other solutions you've been given how to deal with it?

    =IF(D14="","",D14-E14)

    There's nothing that isn't working, just things that need adjusting for the blank cells you want instead of the 0 values you had.
    Attached Files Attached Files
    Last edited by AliGW; 02-17-2021 at 12:29 PM.

  24. #24
    Registered User
    Join Date
    04-21-2020
    Location
    Horsham, W Sussex, UK
    MS-Off Ver
    2016
    Posts
    63

    Re: On time performance by date.

    Hi. Yes they are blanking now but as you can see from the uploaded SS, when you enter new data into the table in ‘Jobs’ they don’t show in the results as they should and do for the other months.
    Plus, JAN is returning 45 and it should be 8.
    Attached Files Attached Files

  25. #25
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,918

    Re: On time performance by date.

    In that case, I’d just live with the 0 values. It’s just aesthetics.

  26. #26
    Registered User
    Join Date
    04-21-2020
    Location
    Horsham, W Sussex, UK
    MS-Off Ver
    2016
    Posts
    63

    Re: On time performance by date.

    Hi. Yes I agree but I still need to fix the problem with JAN returning 45 and it should be 8.

  27. #27
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,918

    Re: On time performance by date.

    That’s nothing to do with the tweaks I gave you - they were to do with the last three rows. Hopefully Etaf can assist with that.

  28. #28
    Registered User
    Join Date
    04-21-2020
    Location
    Horsham, W Sussex, UK
    MS-Off Ver
    2016
    Posts
    63

    Re: On time performance by date.

    Thanks. How can I ask etaf?

  29. #29
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: On time performance by date.

    so month 1 is in an empty / blank cell =date sees this as 1/1/1990

    and since the range is I5:I100 - its reporting the blank cells

    if range is I5 to I63 - it works

    So i need to look at that an exclude blanks, so you can have any range
    Attached Files Attached Files

  30. #30
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: On time performance by date.

    you nolonger need the IF , as this was for your original sample, i think i mentioned

    so to avoid blank cells calculated
    for D4 TOTAL JOBS then you can use
    =SUMPRODUCT(--(MONTH(Jobs!$I$5:$I$100)=(FIND(LOWER(C4),"janfebmaraprmayjunjulaugsepoctnovdec")-1)/3+1)*(Jobs!$I$5:$I$100<>""))
    for E4 ON TIME then you can use
    =SUMPRODUCT(--(MONTH(Jobs!$I$5:$I$100)=(FIND(LOWER(C4),"janfebmaraprmayjunjulaugsepoctnovdec")-1)/3+1)*(Jobs!$I$5:$I$100<>"")*(Jobs!$S$5:$S$100=1))

    I could understand where you want to show "" instead of 0
    you do need to describe what you want a little to help us understand
    Attached Files Attached Files

  31. #31
    Registered User
    Join Date
    04-21-2020
    Location
    Horsham, W Sussex, UK
    MS-Off Ver
    2016
    Posts
    63

    Re: On time performance by date.

    Thanks etaf. I need it to be flexible so jobs can be added and not mess up the formula just adds to results
    I really appreciate your help. I’m not very good at explaining it and the end user is not sure what they want, so I apologise for being vague.
    Last edited by Sandy737; 02-17-2021 at 05:41 PM.

  32. #32
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: On time performance by date.

    as you can see thats now sorted , so you can extend the rows from 63 to however many you want

    also the blanks / zero question - don't understand exactly where, please be specific

  33. #33
    Registered User
    Join Date
    04-21-2020
    Location
    Horsham, W Sussex, UK
    MS-Off Ver
    2016
    Posts
    63

    Re: On time performance by date.

    As each year starts there won’t be many jobs. As an example, I have deleted the December dates. In the Results tab DEC now shows 0, 0 and 0 with #DIV/0! In the % of schedule.
    It would be great if those could show blanks instead of 0, 0, 0 and #DIV/0! when there are no jobs for that month.
    Attached Files Attached Files

  34. #34
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: On time performance by date.

    how will you know if the result is zero on time ?

    so i have added a formula - JUST to the DEC line , see if that works for you

    TOTAL CALLS
    =IF(SUMPRODUCT(--(MONTH(Jobs!$I$5:$I$100)=(FIND(LOWER(C7),"janfebmaraprmayjunjulaugsepoctnovdec")-1)/3+1)*(Jobs!$I$5:$I$100<>""))=0,"",SUMPRODUCT(--(MONTH(Jobs!$I$5:$I$100)=(FIND(LOWER(C7),"janfebmaraprmayjunjulaugsepoctnovdec")-1)/3+1)*(Jobs!$I$5:$I$100<>"")))
    So if total calls = 0 then blank

    Now ONTIME
    so we dont miss out on zero ontime calls
    I added a different test, D will be blank if no calls - so i test to see if D is blank
    =IF(D7="","",SUMPRODUCT(--(MONTH(Jobs!$I$5:$I$100)=(FIND(LOWER(C7),"janfebmaraprmayjunjulaugsepoctnovdec")-1)/3+1)*(Jobs!$I$5:$I$100<>"")*(Jobs!$S$5:$S$100=1)))
    that way if there are call, and NO ontime , it will still show a zero , otherwise its blank

    For G, we can test D again
    =IF(D7="", "", E7/D7)
    Again , testing the total calls - as it is possible if you actually have zero on time calls, then the % is zero and that should be displayed

    attached
    JUST changed the formula in D7
    so they can be copied , if it works for you
    Attached Files Attached Files

  35. #35
    Registered User
    Join Date
    04-21-2020
    Location
    Horsham, W Sussex, UK
    MS-Off Ver
    2016
    Posts
    63

    Re: On time performance by date.

    That works great thanks. I have another problem with Col T performance % please.
    Full notes in the SS
    Attached Files Attached Files

  36. #36
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: On time performance by date.

    not sure of your formula
    =IF(Q5="", "", K5-R5)/10
    This is dividing the difference by 10 - not sure how you came to that number, perhaps explain if thats what is needed


    To calculate the % - then its the difference between the 2 values - divided by the original value
    SO
    20 & 10
    = 20-10
    then divided by the original number = 20
    =(20-10)/20 = 0.5 = 50%


    =IF(Q5="", "", (K5-R5)/K5)

  37. #37
    Registered User
    Join Date
    04-21-2020
    Location
    Horsham, W Sussex, UK
    MS-Off Ver
    2016
    Posts
    63

    Re: On time performance by date.

    That works great thanks.
    I’m getting close to completing this project, hopefully, but need help pls.

    Not sure how best to achieve this and end user has little to offer accept they want to be able to show how the workshop is performing and present the data at meetings, “so, it needs to look good”.

    So that’s my brief and knowing nothing about pivot tables or dashboards the following is all I can think of. Any other ideas very welcome.

    My idea is to show in the Results tab, the number of jobs completed each month against a selectable performance target and of course blank when 0 or no data.
    Full notes in the SS
    Attached Files Attached Files

  38. #38
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,918

    Re: On time performance by date.

    Sandy - this is a COMPLETELY new query, not a simple follow-on. Please start a new thread with an appropriate title. Thanks.

    This thread should be marked as solved now.

  39. #39
    Registered User
    Join Date
    04-21-2020
    Location
    Horsham, W Sussex, UK
    MS-Off Ver
    2016
    Posts
    63

    Re: On time performance by date.

    OK, will do, thanks.

  40. #40
    Registered User
    Join Date
    04-21-2020
    Location
    Horsham, W Sussex, UK
    MS-Off Ver
    2016
    Posts
    63

    Re: On time performance by date.

    Hi AliGW
    I have done as you told me.
    However, I think the solution will require a version of the long formula etaf wrote for me, so, was hoping I could get etaf to look at this one as well.

  41. #41
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: On time performance by date.

    do you have a link ?
    I looked at your posts on forum, and cannot see a new thread

  42. #42
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,918

    Re: On time performance by date.

    You must wait for him to respond to your new thread, if he wishes to help you.

    Here's a link for anyone interested: https://www.excelfom.com/excel-gener...e-targets.html

  43. #43
    Registered User
    Join Date
    04-21-2020
    Location
    Horsham, W Sussex, UK
    MS-Off Ver
    2016
    Posts
    63

+ 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. Conditional format performance results for tests on the same date and time
    By STradingPost in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-17-2019, 03:58 AM
  2. [SOLVED] Bar Chart Comparing On-time Performance
    By vbronton in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 10-08-2018, 11:34 AM
  3. current moth MTD performance with last year same month same days performance
    By satyanarayana in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-03-2015, 03:36 AM
  4. On time Delivery Performance by Year
    By mark-cox in forum Excel General
    Replies: 10
    Last Post: 03-18-2015, 06:55 AM
  5. How to Calculate On-Time Delivery Performance %
    By Sixto2014 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-28-2014, 02:24 AM
  6. Replies: 2
    Last Post: 06-05-2013, 12:14 PM
  7. Time Calculations:On-Time Performance
    By rmcquar in forum Excel General
    Replies: 1
    Last Post: 10-07-2010, 06:42 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