Good Afternoon,
I have a CSV file that I am trying to manipulate. I have data coming to me for one location but it is coming to be from two physical sites in the same file (an example of this below). I need a script that will say “if the date in F2 equals date in any other cell in column F, add the values in G2 to the G row where the date matches, add the values in H2 to the H row where the date matches, etc…” Im sure this is confusing but I am not sure how else to explain it. I am happy to answer any questions!
Thanks! Any advice is appreciated.
Company,Field,Facility,Well Name,UWI,Date,Oil vol,Water vol,Cond vol,Gas vol,BSW,Hours On,Tubing Prs,Casing Prs,Flow Prs,SPM,RPM,Stroke Ln,Choke Sz,Flow Tmp,Prod Notes,Spec Notes
Distinction Energy Corp.,Placid,UGR Negus Plant 11-3-60-25w5,02/15-10-060-24W5/0,102/15-10-060-24W5/00,2/25/2022,0,0,0,16.58,0,24,0,0,0,0,0,0,,0,none,
Distinction Energy Corp.,Placid,UGR Negus Plant 11-3-60-25w5,02/15-10-060-24W5/0,102/15-10-060-24W5/00,2/26/2022,0,0,0,11.5,0,24,0,0,0,0,0,0,,0,none,
Distinction Energy Corp.,Placid,UGR Negus Plant 11-3-60-25w5,02/15-10-060-24W5/0,102/15-10-060-24W5/00,2/27/2022,0,0,0,16.67,0,24,0,0,0,0,0,0,,0,none,
Distinction Energy Corp.,Placid,UGR Negus Plant 11-3-60-25w5,02/15-10-060-24W5/0,102/15-10-060-24W5/00,2/28/2022,0,0,0,17.89,0,24,0,0,0,0,0,0,,0,none,
Distinction Energy Corp.,Placid,UGR Negus Plant 11-3-60-25w5,02/15-10-060-24W5/0,102/15-10-060-24W5/00,3/1/2022,0,0,0,4.74,0,24,0,0,0,0,0,0,,0,none,
Distinction Energy Corp.,Bigstone Montney Field,Bigstone 7-11-60-23w5 Sour Battery,02/15-10-060-24W5/0,102/15-10-060-24W5/00,2/25/2022,12.08,7.24,0,1.26,39,24,1083.43,3547.58,0,0,0,0,,0,none,.Import Start ---- End
Distinction Energy Corp.,Bigstone Montney Field,Bigstone 7-11-60-23w5 Sour Battery,02/15-10-060-24W5/0,102/15-10-060-24W5/00,2/26/2022,26.03,8.56,0,6.92,23,24,910.59,3446.59,0,0,0,0,,0,none,.Import Start ---- End
Distinction Energy Corp.,Bigstone Montney Field,Bigstone 7-11-60-23w5 Sour Battery,02/15-10-060-24W5/0,102/15-10-060-24W5/00,2/27/2022,5.19,8.27,0,1.26,62,24,978.04,3240.38,0,0,0,0,,0,none,.Import Start ---- End
Distinction Energy Corp.,Bigstone Montney Field,Bigstone 7-11-60-23w5 Sour Battery,02/15-10-060-24W5/0,102/15-10-060-24W5/00,2/28/2022,6.7,8.77,0,1.26,58,24,1612.5,3324.55,0,0,0,0,,0,none,.Import Start ---- End
Distinction Energy Corp.,Bigstone Montney Field,Bigstone 7-11-60-23w5 Sour Battery,02/15-10-060-24W5/0,102/15-10-060-24W5/00,3/1/2022,5.43,6.36,0,13.72,53,24,746.18,3278.25,0,0,0,0,,0,none,.Import Start ---- End