+ Reply to Thread
Results 1 to 39 of 39

Irrigation Schedule Start and End Times

  1. #1
    Banned User!
    Join Date
    06-18-2021
    Location
    Peru
    MS-Off Ver
    2010, Microsoft 365
    Posts
    431

    Irrigation Schedule Start and End Times

    Hello,

    I need to have each day's irrigations schedules to end by the time in cell B7 I have set at 7:00 am.

    There are zones selected for each schedule by an "x" and also one or more days selected for each schedule.

    It is important to have delays for each zone for the well water to recover which I have chosen to be 45 minutes in cell B4.

    So my question is can formulas be derived in K13:X28 to determine the Start and End Times for each zone and day of the week?

    I filled in manually what the times should be for Monday.

    Thank you very much for your help

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Irrigation Schedule Start and End Times

    Please try at
    K13
    =IF(L13="","",MOD(L13-$J13/1440,1))

    L13
    =IF($I13=MATCH("z",INDEX($I$4:$X$8,MAX(($E$4:$H$8=K$11)*$D$4:$D$8),)),$B$7,
    IF(INDEX($I$4:$X$8,MAX(($E$4:$H$8=K$11)*$D$4:$D$8),$I13)="x",MOD(INDEX(L14:L$29,MATCH(TRUE,L14:L$29<>"",))-(LEFT($B$4,3)+J13)/1440,1),""))
    Attached Files Attached Files

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Irrigation Schedule Start and End Times

    You say the Monday End times have been filled in manually but why are they all 30 minutes after the start time. They haven't been increased by the 45 minutes.

    Are the start times entered manually since you say "can formulas be derived in K13:X28 to determine the Start and End Times". There's no apparent rule for working out the start time. Please clarify.

    Edit, Ah, I see, the zones run consecutively, the start time for one being the end time for the previous one plus 45 minutes
    Last edited by Richard Buttrey; 04-11-2022 at 12:00 PM.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: Irrigation Schedule Start and End Times

    @Richard: Start times are 45 minutes after previous End time.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  5. #5
    Banned User!
    Join Date
    06-18-2021
    Location
    Peru
    MS-Off Ver
    2010, Microsoft 365
    Posts
    431

    Re: Irrigation Schedule Start and End Times

    Thank you.

    Schedules could repeat for multiple days as I indicated in 'Day 2' cell F4 for Wednesday. This should be the same times as was in Monday.

    Can you please take a look?

  6. #6
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Irrigation Schedule Start and End Times

    Please try at L13

    =IFERROR(IF($I13=MATCH("z",INDEX($I$4:$X$8,MAX(($E$4:$H$8=K$11)*$D$4:$D$8),)),$B$7,
    IF(INDEX($I$4:$X$8,MAX(($E$4:$H$8=K$11)*$D$4:$D$8),$I13)="x",MOD(INDEX(L14:L$29,MATCH(TRUE,L14:L$29<>"",))-(LEFT($B$4,3)+$J13)/1440,1),"")),"")
    Attached Files Attached Files

  7. #7
    Banned User!
    Join Date
    06-18-2021
    Location
    Peru
    MS-Off Ver
    2010, Microsoft 365
    Posts
    431

    Re: Irrigation Schedule Start and End Times

    Thank you very much Bo_Ry that seems to cover my requirements.

  8. #8
    Banned User!
    Join Date
    06-18-2021
    Location
    Peru
    MS-Off Ver
    2010, Microsoft 365
    Posts
    431

    Re: Irrigation Schedule Start and End Times

    May I ask what does the "z" pertain to in the formula?

  9. #9
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Irrigation Schedule Start and End Times

    Approximate match lookup for the last cell requires high lookup value, "z" > "x"

    =MATCH("z",I4:X4) can find last cell at 13

    while Match "x" may not return last cell
    =MATCH("x",I4:X4)

  10. #10
    Banned User!
    Join Date
    06-18-2021
    Location
    Peru
    MS-Off Ver
    2010, Microsoft 365
    Posts
    431

    Re: Irrigation Schedule Start and End Times

    I did not know that thank you very much for explaining high lookup value.

    I really appreciate your help.

  11. #11
    Banned User!
    Join Date
    06-18-2021
    Location
    Peru
    MS-Off Ver
    2010, Microsoft 365
    Posts
    431

    Re: Irrigation Schedule Start and End Times

    I needed to modify the sheet for having every day as an option to water for my garden. Since doing so now the formulas do not work for the end times.

    I have code to click on the cells F4:AB8 and an "X" is inserted.

    Can someone please take a look to see if this can be fixed?

    Thank you

  12. #12
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: Irrigation Schedule Start and End Times

    A start would be to change the Schedules to 1 to 5 ( as in your original file) as opposed to A to E.

  13. #13
    Banned User!
    Join Date
    06-18-2021
    Location
    Peru
    MS-Off Ver
    2010, Microsoft 365
    Posts
    431

    Re: Irrigation Schedule Start and End Times

    Great thanks but now I am getting spill errors though.

  14. #14
    Banned User!
    Join Date
    06-18-2021
    Location
    Peru
    MS-Off Ver
    2010, Microsoft 365
    Posts
    431

    Re: Irrigation Schedule Start and End Times

    I think the F4:L8 area needs days of the week but it seems redundant to have these instead of just putting an "X". Can the formulas be modified to allow for this?

  15. #15
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: Irrigation Schedule Start and End Times

    I cannot help with your SPILL error as I don't have 365: I don't have any errors in my "old" 2010!

    See attached.
    Attached Files Attached Files

  16. #16
    Banned User!
    Join Date
    06-18-2021
    Location
    Peru
    MS-Off Ver
    2010, Microsoft 365
    Posts
    431

    Re: Irrigation Schedule Start and End Times

    Thanks I selected Sunday and Zone 16 for Schedule 1.

    It fills in times for every day 7:45 am to 8:00 am and should only have the times for Sunday. It does also have the spill errors for the end times for the other zones on all days.

  17. #17
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: Irrigation Schedule Start and End Times

    The first file had the days of the week in F4:L8 but you now have them as headings so the formula obviously needs changing.

    As I have nowhere near the the expertise of Bo-Ry ( and many others!) I'll leave it to the 365 experts to resolve.
    Last edited by JohnTopley; 04-12-2022 at 12:33 PM.

  18. #18
    Banned User!
    Join Date
    06-18-2021
    Location
    Peru
    MS-Off Ver
    2010, Microsoft 365
    Posts
    431

    Re: Irrigation Schedule Start and End Times

    Okay I appreciate the help. I am sorry for the trouble.

  19. #19
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: Irrigation Schedule Start and End Times

    It's no trouble: I just know my limitations!

  20. #20
    Banned User!
    Join Date
    06-18-2021
    Location
    Peru
    MS-Off Ver
    2010, Microsoft 365
    Posts
    431

    Re: Irrigation Schedule Start and End Times

    Since I have modified this version would it be okay to start a new thread?
    Last edited by BillySpivy; 04-12-2022 at 01:02 PM.

  21. #21
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Irrigation Schedule Start and End Times

    We have a one subject, one thread rule. Please upload your latest workbook here.

    In addition please add some manually calculated results and explain how the Xs in the Schedule A-F E4:L9 area affect the calculations when there may be more than one schedule for a day. For the moment just hard code the Xs and put an exit sub as the first line in the Worksheet SelectionChange event to prevent them being indvertently changed during testing.
    Last edited by Richard Buttrey; 04-12-2022 at 01:51 PM.

  22. #22
    Banned User!
    Join Date
    06-18-2021
    Location
    Peru
    MS-Off Ver
    2010, Microsoft 365
    Posts
    431

    Re: Irrigation Schedule Start and End Times

    I did that already

  23. #23
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Irrigation Schedule Start and End Times

    Thanks, I hadn't realised that was the new workbook.

    I edited my last post before I saw your response. Please address the points I raised.

  24. #24
    Banned User!
    Join Date
    06-18-2021
    Location
    Peru
    MS-Off Ver
    2010, Microsoft 365
    Posts
    431

    Re: Irrigation Schedule Start and End Times

    I give up thanks have a nice day.

  25. #25
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Irrigation Schedule Start and End Times

    Your choice of course and I'm not quite sure how to take that remark.

  26. #26
    Banned User!
    Join Date
    06-18-2021
    Location
    Peru
    MS-Off Ver
    2010, Microsoft 365
    Posts
    431

    Re: Irrigation Schedule Start and End Times

    I wished you a nice day that is all. I understand you have to enforce rules which is very important to you.

  27. #27
    Banned User!
    Join Date
    06-18-2021
    Location
    Peru
    MS-Off Ver
    2010, Microsoft 365
    Posts
    431

    Re: Irrigation Schedule Start and End Times

    It has been difficult for me to figure out a logical system on how to schedule the zones with days of the week involved with water management for each zone.

    If I had some basis to start with it would be better but since I did not is why I am changing the worksheet.

    The original formulas do not logically make sense with a different arrangement of the schedule.

    I tried to make a new thread but it was closed.

    So I am at a dead end and do not know how to continue.
    Attached Files Attached Files
    Last edited by BillySpivy; 04-12-2022 at 04:33 PM.

  28. #28
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Irrigation Schedule Start and End Times

    Similarly I don't know how to start addressing this until you answer the questions I posed earlier.

    We always ask to see manually added results when the request is not clear. Too much time is spent guessing how someone uses a model and what they want only to find it's misinterpreted. We're often quite good but not psychic.

    Remember that when you ask a question in a forum those of us who might be able to help know absolutely nothing about your system and work process or the terminology you use. Unless you have uploaded a workbook we know nothing about how it is laid out and little about what you want done with it or how the results should be presented.

    Whilst these things are second nature to you since you live with the workbook all the working day we start with zero knowledge so you need to take us by the hand and explain in quite precise detail your aims and goals as well as stuff like how your data might look different in other situations.
    Don't assume we are able to "figure it out".

    Put yourself in our position and think about whether what you've posted makes sense and is unambiguous to someone who's never seen it before.
    You are asking us for help so help us to be able to help you by providing all the information we need, even if that information seems obvious or intuitive to you.

  29. #29
    Banned User!
    Join Date
    06-18-2021
    Location
    Peru
    MS-Off Ver
    2010, Microsoft 365
    Posts
    431

    Re: Irrigation Schedule Start and End Times

    I entered zones for Monday and Saturday showing that they complete on the end time and each zone is spaced apart with the delays.

    Thank you
    Last edited by BillySpivy; 04-12-2022 at 04:53 PM.

  30. #30
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: Irrigation Schedule Start and End Times

    Why do you not have a given (fixed) start time for whatever is the first "active" zone? i.e start time is always for example 08:00 ?

  31. #31
    Banned User!
    Join Date
    06-18-2021
    Location
    Peru
    MS-Off Ver
    2010, Microsoft 365
    Posts
    431

    Re: Irrigation Schedule Start and End Times

    I need to make sure the end time is not during sunny conditions.

    Thanks

  32. #32
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Irrigation Schedule Start and End Times

    Quote Originally Posted by BillySpivy View Post
    I need to make sure the end time is not during sunny conditions.

    Thanks
    That's not answering John's question. And now you seem to have added a further criteria to the end time. You specify the end time can not exceed 10:00 AM. How are you defining in advance whether 10:00 AM is sunny, and what does 'sunny' actually mean? Is there some lux criteria or are you saying the end time must be before the sun is visible?

    You're not making this any easier to understand.

    I see your latest file has changed. This could be simplified I suggest if rather than duplicating the zones having them listed in both the horizontal table in columns G:V and vertically in rows 14:29, do away with the G:V table and introduce a third column for every day in rows 14:29 and mark those colums with Xs. That avoids complicating formulae by needing to match an X zone in the top table with the zone in D14:D29.

  33. #33
    Banned User!
    Join Date
    06-18-2021
    Location
    Peru
    MS-Off Ver
    2010, Microsoft 365
    Posts
    431
    It is not another criteria. I will adjust the end time according to when it is too much sunshine and heat so as to not lose water to evaporation. This why the end time is critical. I believe that answers his question.


    Quote Originally Posted by Richard Buttrey View Post
    That's not answering John's question. And now you seem to have added a further criteria to the end time. You specify the end time can not exceed 10:00 AM. How are you defining in advance whether 10:00 AM is sunny, and what does 'sunny' actually mean? Is there some lux criteria or are you saying the end time must be before the sun is visible?

    You're not making this any easier to understand.

    I see your latest file has changed. This could be simplified I suggest if rather than duplicating the zones having them listed in both the horizontal table in columns G:V and vertically in rows 14:29, do away with the G:V table and introduce a third column for every day in rows 14:29 and mark those colums with Xs. That avoids complicating formulae by needing to match an X zone in the top table with the zone in D14:D29.

  34. #34
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Irrigation Schedule Start and End Times

    Last try

    I14
    =IF(J14="","",MOD(J14-$F14/1440,1))

    J14
    =IFERROR(IF($D14=MATCH("z",INDEX(Intersect_X,MATCH(I$12,$E$4:$E$10,),)),$B$6,
    IF(INDEX(Intersect_X,MATCH(I$12,$E$4:$E$10,),$D14)="x",MOD(INDEX(I15:I$30,MATCH(TRUE,I15:I$30<>"",))-($B$4)/1440,1),"")),"")

  35. #35
    Banned User!
    Join Date
    06-18-2021
    Location
    Peru
    MS-Off Ver
    2010, Microsoft 365
    Posts
    431

    Re: Irrigation Schedule Start and End Times

    Thank you Bo_Ry the formulas work great!

  36. #36
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Irrigation Schedule Start and End Times

    Hadn't realised this had been solved, but here's what I ended up with last night.

  37. #37
    Banned User!
    Join Date
    06-18-2021
    Location
    Peru
    MS-Off Ver
    2010, Microsoft 365
    Posts
    431

    Re: Irrigation Schedule Start and End Times

    Good try but it isn't considering the end time. I appreciate yours and everyone's help.

    I am doing my best considering I may not be so smart like most people on here.

  38. #38
    Banned User!
    Join Date
    06-18-2021
    Location
    Peru
    MS-Off Ver
    2010, Microsoft 365
    Posts
    431

    Re: Irrigation Schedule Start and End Times

    This is my latest version perhaps it can serve some purpose for others.

  39. #39
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Irrigation Schedule Start and End Times

    Quote Originally Posted by BillySpivy View Post
    Good try but it isn't considering the end time. I appreciate yours and everyone's help.

    I am doing my best considering I may not be so smart like most people on here.
    I believe it does consider the end time since this has been given the range name 'End' and the formulae in the End Time columns use the minimum of the end time (10:00) and the Start time plus the Run Time.

    However you have a solution so we'll leave it at that.

+ 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. [SOLVED] [SOLVED] Attempting to track late times by referencing start times in another tab
    By cph020283 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 06-30-2020, 02:13 PM
  2. [SOLVED] Creating a graph with start times and end times vs time
    By khoadphamm in forum Excel General
    Replies: 14
    Last Post: 12-31-2019, 02:57 PM
  3. Formula to see if start and end times fits a range of times
    By YMUNSHI in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-26-2019, 06:44 PM
  4. [SOLVED] Averaging the earliest start times and latest end times for multiple days
    By kbiro in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-26-2016, 02:15 PM
  5. Replies: 4
    Last Post: 03-02-2016, 02:46 AM
  6. Replies: 21
    Last Post: 05-11-2015, 03:53 PM
  7. Replies: 0
    Last Post: 11-14-2011, 05:40 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