Hi All,
I am trying to build a "Time table" to assist with programing irrigation controllers as well as a visual display of how the program looks over a 24 hour period in our orchard (there will be 7 of these calendars - 1 for each day to show the full week of irrigation). The Orchard is divided up into irrigation sections. To which I have assigned colors (but I would like these colors to be added to if I want to add more shifts.....I will explain. I am trying to achieve 3 things in creating a Shift Summary.
1. I want to return the start of a Shift which is represented as time
2. Concatenate the sections in a shift
3. Sum the total minutes per shift.
Please note the times and order of shifts and minutes will change depending on irrigation needs
I have found some code to sum the minutes per irrigation per color but I am not able to adapt it to achieve the other 2 outcomes. I am going around in circles trying to get it to work.
Your expertise would be greatly appreciated.
TIA
Brett
I am trying to build a "Time table" to assist with programing irrigation controllers as well as a visual display of how the program looks over a 24 hour period in our orchard (there will be 7 of these calendars - 1 for each day to show the full week of irrigation). The Orchard is divided up into irrigation sections. To which I have assigned colors (but I would like these colors to be added to if I want to add more shifts.....I will explain. I am trying to achieve 3 things in creating a Shift Summary.
1. I want to return the start of a Shift which is represented as time
2. Concatenate the sections in a shift
3. Sum the total minutes per shift.
Please note the times and order of shifts and minutes will change depending on irrigation needs
I have found some code to sum the minutes per irrigation per color but I am not able to adapt it to achieve the other 2 outcomes. I am going around in circles trying to get it to work.
Your expertise would be greatly appreciated.
TIA
Brett
irrigation Shift Summary.xlsm | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | AA | AB | |||
1 | Saturday, 1 January 2022 | Shift Summary | ||||||||||||||||||||||||||||
2 | Time of Day | 0:00 | 1:00 | 2:00 | 3:00 | 4:00 | 5:00 | 6:00 | 7:00 | 8:00 | 9:00 | 10:00 | 11:00 | 12:00 | 13:00 | 14:00 | 15:00 | 16:00 | 17:00 | 18:00 | 20:00 | 22:00 | 0:00 | 4:00 | 8:00 | 12:00 | 18:00 | |||
3 | Section | V1 | V2 | Q1 | Q2 | E1 | E2 | V1 | V2 | Q1 | Q2 | E1 | E2 | F1 | F2 | H | I | J | V1 V2 Q1 Q2 | E1 E2 | V1 V2 Q1 Q2 | E1 E2 F1 F2 | H I J | |||||||
4 | Minutes per irrigation | 60 | 60 | 60 | 60 | 60 | 60 | 60 | 60 | 60 | 60 | 60 | 60 | 60 | 60 | 60 | 60 | 60 | 60 | 120 | 60 | 60 | 240 | 120 | 240 | 240 | 240 | |||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
X4 | X4 | =SumColor(X2,B4:V4) |
Y4 | Y4 | =SumColor(Y2,B4:V4) |
Z4 | Z4 | =SumColor(Z2,B4:V4) |
AA4 | AA4 | =SumColor(AA2,B4:V4) |
AB4 | AB4 | =SumColor(AB2,B4:V4) |