Data population after adding sheets

BijanBorazjani

New Member
Joined
Oct 22, 2021
Messages
25
Office Version
  1. 365
Platform
  1. 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.

Blank Daily.xlsm
ABCDE
12DATE:
13RUN NUMBER:
14
15MWD EQUIPMENT IDENTIFICATION
16SECTIONS/NPREV. HRS.24 HRS.TOTAL HRS.
17PULSERSELECT RUN000
18GAMMASELECT RUN000
19BATTERY1SELECT RUN000
20ELECTRONICSSELECT RUN000
21BATTERY2SELECT RUN000
22MS SLEEVENA000
23POPPET-ORIFICE SIZE:SELECT RUNSELECT RUN(inches)
24PULSE WIDTH:SELECT RUN(seconds)
25PULSE AMPLITUDE:(p.s.i.)
26TOTAL CONNECTED:(last 24 hours)
27TOTAL CIRC:(last 24 hours)
D1R1
Cell Formulas
RangeFormula
D17D17=C27
D18D18=C27
D19D19=IF(D21>0,C27-D21,C27)
D20D20=C27
B17B17=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))
B18B18=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))
B19B19=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))
B20B20=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))
B21B21=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:E22E17=D17+C17
D22D22=C27
C23:D23C23=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))
C24C24=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
CellAllowCriteria
C12List=$W$7:$W$87
C13List=$T$7:$T$22
C27:D27Whole number<24.1


Blank Daily.xlsm
ABCDEFG
28Run #Fail Y/NBRT Date & TimeART Date & TimeRun HoursCirc HoursConn Hours
29
301 
312 
323 
334 
345 
356 
367 
378 
389 
3910 
4011 
4112 
4213 
4314 
4415 
Well Summary
Cell Formulas
RangeFormula
E30:E44E30=IF(D30="","",(D30-C30)*24)
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).

Forum statistics

Threads
1,215,072
Messages
6,122,966
Members
449,094
Latest member
Anshu121

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top