BijanBorazjani
New Member
- Joined
- Oct 22, 2021
- Messages
- 25
- Office Version
- 365
- Platform
- Windows
I built this sheet years ago for a colleague. However, human error seems to be the main issue. I need to be able to push the data from the Daily Sheets and push it to Well Summary. The sheets are going to be dynamic in the sense that we don't know when or how long a run will last, so it almost needs to be all encompassing. This may not be something that can be done, but it can't hurt to ask.
'D1R1' C26 and C27 need to be pushed to 'Well Summary'. Here in lies the problem, Each day, we use a macro that creates a new sheet. we rename it D2R1, or if we change Runs D2R2. Cell C13 will always have the correct run number so if DxRx C13 matches to Well Summary A30:A44, i want to add all the Circ hrs and all the Conn hrs for that specific run.
'D1R1' C26 and C27 need to be pushed to 'Well Summary'. Here in lies the problem, Each day, we use a macro that creates a new sheet. we rename it D2R1, or if we change Runs D2R2. Cell C13 will always have the correct run number so if DxRx C13 matches to Well Summary A30:A44, i want to add all the Circ hrs and all the Conn hrs for that specific run.
Blank Daily.xlsm | |||||||
---|---|---|---|---|---|---|---|
A | B | C | D | E | |||
12 | DATE: | ||||||
13 | RUN NUMBER: | ||||||
14 | |||||||
15 | MWD EQUIPMENT IDENTIFICATION | ||||||
16 | SECTION | S/N | PREV. HRS. | 24 HRS. | TOTAL HRS. | ||
17 | PULSER | SELECT RUN | 0 | 0 | 0 | ||
18 | GAMMA | SELECT RUN | 0 | 0 | 0 | ||
19 | BATTERY1 | SELECT RUN | 0 | 0 | 0 | ||
20 | ELECTRONICS | SELECT RUN | 0 | 0 | 0 | ||
21 | BATTERY2 | SELECT RUN | 0 | 0 | 0 | ||
22 | MS SLEEVE | NA | 0 | 0 | 0 | ||
23 | POPPET-ORIFICE SIZE: | SELECT RUN | SELECT RUN | (inches) | |||
24 | PULSE WIDTH: | SELECT RUN | (seconds) | ||||
25 | PULSE AMPLITUDE: | (p.s.i.) | |||||
26 | TOTAL CONNECTED: | (last 24 hours) | |||||
27 | TOTAL CIRC: | (last 24 hours) | |||||
D1R1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
D17 | D17 | =C27 |
D18 | D18 | =C27 |
D19 | D19 | =IF(D21>0,C27-D21,C27) |
D20 | D20 | =C27 |
B17 | B17 | =IF($C$13="","SELECT RUN",CHOOSE($C$13,'Well Summary'!J$30,'Well Summary'!J$31,'Well Summary'!J$32,'Well Summary'!J$33,'Well Summary'!J$34,'Well Summary'!J$35,'Well Summary'!J$36,'Well Summary'!J$37,'Well Summary'!J$38,'Well Summary'!J$39,'Well Summary'!J$40,'Well Summary'!J$41,'Well Summary'!J$42,'Well Summary'!J$43,'Well Summary'!J$44)) |
B18 | B18 | =IF($C$13="","SELECT RUN",CHOOSE($C$13,'Well Summary'!K$30,'Well Summary'!K$31,'Well Summary'!K$32,'Well Summary'!K$33,'Well Summary'!K$34,'Well Summary'!K$35,'Well Summary'!K$36,'Well Summary'!K$37,'Well Summary'!K$38,'Well Summary'!K$39,'Well Summary'!K$40,'Well Summary'!K$41,'Well Summary'!K$42,'Well Summary'!K$43,'Well Summary'!K$44)) |
B19 | B19 | =IF($C$13="","SELECT RUN",CHOOSE($C$13,'Well Summary'!L$30,'Well Summary'!L$31,'Well Summary'!L$32,'Well Summary'!L$33,'Well Summary'!L$34,'Well Summary'!L$35,'Well Summary'!L$36,'Well Summary'!L$37,'Well Summary'!L$38,'Well Summary'!L$39,'Well Summary'!L$40,'Well Summary'!L$41,'Well Summary'!L$42,'Well Summary'!L$43,'Well Summary'!L$44)) |
B20 | B20 | =IF($C$13="","SELECT RUN",CHOOSE($C$13,'Well Summary'!M$30,'Well Summary'!M$31,'Well Summary'!M$32,'Well Summary'!M$33,'Well Summary'!M$34,'Well Summary'!M$35,'Well Summary'!M$36,'Well Summary'!M$37,'Well Summary'!M$38,'Well Summary'!M$39,'Well Summary'!M$40,'Well Summary'!M$41,'Well Summary'!M$42,'Well Summary'!M$43,'Well Summary'!M$44)) |
B21 | B21 | =IF($C$13="","SELECT RUN",CHOOSE($C$13,'Well Summary'!N$30,'Well Summary'!N$31,'Well Summary'!N$32,'Well Summary'!N$33,'Well Summary'!N$34,'Well Summary'!N$35,'Well Summary'!N$36,'Well Summary'!N$37,'Well Summary'!N$38,'Well Summary'!N$39,'Well Summary'!N$40,'Well Summary'!N$41,'Well Summary'!N$42,'Well Summary'!N$43,'Well Summary'!N$44)) |
E17:E22 | E17 | =D17+C17 |
D22 | D22 | =C27 |
C23:D23 | C23 | =IF($C$13="","SELECT RUN",CHOOSE($C$13,'Well Summary'!T30,'Well Summary'!T31,'Well Summary'!T32,'Well Summary'!T33,'Well Summary'!T34,'Well Summary'!T35,'Well Summary'!T36,'Well Summary'!T37,'Well Summary'!T38,'Well Summary'!T39,'Well Summary'!T40,'Well Summary'!T41,'Well Summary'!T42,'Well Summary'!T43,'Well Summary'!T44)) |
C24 | C24 | =IF($C$13="","SELECT RUN",CHOOSE($C$13,'Well Summary'!V30,'Well Summary'!V31,'Well Summary'!V32,'Well Summary'!V33,'Well Summary'!V34,'Well Summary'!V35,'Well Summary'!V36,'Well Summary'!V37,'Well Summary'!V38,'Well Summary'!V39,'Well Summary'!V40,'Well Summary'!V41,'Well Summary'!V42,'Well Summary'!V43,'Well Summary'!V44)) |
Cells with Data Validation | ||
---|---|---|
Cell | Allow | Criteria |
C12 | List | =$W$7:$W$87 |
C13 | List | =$T$7:$T$22 |
C27:D27 | Whole number | <24.1 |
Blank Daily.xlsm | |||||||||
---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | |||
28 | Run # | Fail Y/N | BRT Date & Time | ART Date & Time | Run Hours | Circ Hours | Conn Hours | ||
29 | |||||||||
30 | 1 | ||||||||
31 | 2 | ||||||||
32 | 3 | ||||||||
33 | 4 | ||||||||
34 | 5 | ||||||||
35 | 6 | ||||||||
36 | 7 | ||||||||
37 | 8 | ||||||||
38 | 9 | ||||||||
39 | 10 | ||||||||
40 | 11 | ||||||||
41 | 12 | ||||||||
42 | 13 | ||||||||
43 | 14 | ||||||||
44 | 15 | ||||||||
Well Summary |
Cell Formulas | ||
---|---|---|
Range | Formula | |
E30:E44 | E30 | =IF(D30="","",(D30-C30)*24) |