+ Reply to Thread
Results 1 to 12 of 12

Time error replying incorrect data

  1. #1
    Forum Contributor
    Join Date
    03-23-2007
    Location
    Essex, UK
    MS-Off Ver
    Office Pro 2010
    Posts
    275

    Time error replying incorrect data

    To catch up on the thread that was first posted and thought SOLVED use link below

    http://www.excelforum.com/excel-form...d-formula.html

    Well it turns out the formulas given only partially work as can be seen in the attached sample.

    The load time in column B i believe is what governs the reply in column V, depending on data put in columns L - O.

    The answers of Y or N work only for column O but need it also to work if only 2 times are entered and therefore column M comes into play.

    In rows 15 onwards I have highlighted some of the wrong ones. As you can see in example at row 15, 13:00 load complete @08:22 and yet column V marks as N, making it a late when it wasnt.

    Is there an addition to the formulas in column V which would sort this issue out?
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    03-23-2007
    Location
    Essex, UK
    MS-Off Ver
    Office Pro 2010
    Posts
    275

    Re: Time error replying incorrect data

    can anyone help with this problem, its doing my head in now..please!!!!!
    Last edited by ukphoenix; 10-29-2013 at 07:29 AM.

  3. #3
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: Time error replying incorrect data

    Hi again,

    The reason that the formula isn't working (I'm referring specifically here to row 15, but this applies generally anyway) is because there is no indication whether or not the load was completed on the same calendar day or not. So to put it simply, row 15 says that the load was due by 1pm (lets say on the 1st of January), but it was completed at 8:22am. At the moment, you have no way of indicating whether this is 8:22am on the 1st of January, or if it's 8:22am on the 2nd of January, or any other day for that matter.

    What I would suggest is that you add a column (hide it as well if you must, like you have hidden some other columns in the workbook) which indicates if the load was finished on the same calendar day that it was due, if it was finished on a calendar day earlier than the due date/time, or if it was a calendar day after the due day. I'll let you have a think about this, and then I will have another go at re-writing a formula for you for this case (the formula would be lots smaller too with this helper column )

    The alternative to this approach would be to include time and date in the due date and the finished date columns. Then the formula would be much simpler too.

    Let me know which you would prefer. Please upload another sample with your chosen alternative implemented and I'll write you a formula for column V to hopefully get this thing solved once and for all

    Hope this helps

  4. #4
    Forum Contributor
    Join Date
    03-23-2007
    Location
    Essex, UK
    MS-Off Ver
    Office Pro 2010
    Posts
    275

    Re: Time error replying incorrect data

    Im afraid we can not add a helper column as this is the format they want it in. We are trying to create the sheet with less to enter not more as, to be honest, we have some plebs that use it, and yes they would get confused...lol......the only other solution I have found that might be of some assistance is the formula in V only looks at column O but needs to look at column M aswell as this is the first time a load may be finished.

  5. #5
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: Time error replying incorrect data

    This is the formula in cell V9:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    It certainly does reference column M.

    The reason the answer is incorrect is because the formula assumes that if the load was due after midday but was completed before midday, then it must have been completed on the following day, thus making it late. Unless one of the above alternatives are implemented, I can't think of another way of making the formula smarter.

    Perhaps you could have a word to the "plebs" and get their take on either an extra column or a date as well as time in the time cells.

    Let me know

  6. #6
    Forum Contributor
    Join Date
    03-23-2007
    Location
    Essex, UK
    MS-Off Ver
    Office Pro 2010
    Posts
    275

    Re: Time error replying incorrect data

    The only other thing that seems to work through most of the incorrects in column V is if the results in column M are copied over to column O. Would this be workable and allow over typing if there is a 2nd start and finish time. As the duplication of this time doesnt effect the time taken.
    Im guessing this would need to incorperate a macro for the columns rather than a formula ??

  7. #7
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: Time error replying incorrect data

    I've taken a closer look, and it appears as though the formula that I provided to you in your previous thread hasn't been translated accurately into your workbook.

    Try this adjusted formula (in cell V9, and drag up and down as far as is necessary):
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Does this work properly?

  8. #8
    Forum Contributor
    Join Date
    03-23-2007
    Location
    Essex, UK
    MS-Off Ver
    Office Pro 2010
    Posts
    275

    Re: Time error replying incorrect data

    Ok have made the alteration, well spotted by the way. Will give you an update in the next 24 hrs when sheet is being used. Thanks fro your time on this aswell

  9. #9
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: Time error replying incorrect data

    No worries. I look forward to hearing the outcome

  10. #10
    Forum Contributor
    Join Date
    03-23-2007
    Location
    Essex, UK
    MS-Off Ver
    Office Pro 2010
    Posts
    275

    Re: Time error replying incorrect data

    Ive trialed the corrected formula on some previous spreadsheets and it seems to have corrected the error loads. The spreadsheet will go live tonight so will give update at end of week.

  11. #11
    Forum Contributor
    Join Date
    03-23-2007
    Location
    Essex, UK
    MS-Off Ver
    Office Pro 2010
    Posts
    275

    Re: Time error replying incorrect data

    Can comfirm that the formula is working correctly. Thanks for all your help AJRYAN88

  12. #12
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: Time error replying incorrect data

    Perfect! Glad to hear it

    Please don't forget to click on the * next to my post to say thanks

+ 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. Replying to a thread/post
    By galvinpaddy in forum Suggestions for Improvement
    Replies: 3
    Last Post: 06-13-2013, 04:46 AM
  2. Running Macro on Replying to Email
    By Session101 in forum Outlook Programming / VBA / Macros
    Replies: 1
    Last Post: 11-30-2009, 05:13 AM
  3. Time replying wrong
    By ukphoenix in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 09-20-2007, 05:55 AM
  4. time sum incorrect
    By mtovbin in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-31-2006, 11:20 PM
  5. [SOLVED] Replying with changes
    By faith5134 in forum Excel General
    Replies: 0
    Last Post: 04-12-2006, 09:25 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