Overview: Oil & Gas Industry: USGS is the place our company reps, mainly Geologists go to gather available core samples from wells that are drilled. Once they pick the cores they want they bring them back for analysis. Either in house experts examine them and make an analysis or it is sent out to a vendor example: Weatherford for their chemical analysis of the cores.
Maximum number to core samples allowed to be taken is 200! As long as you have 200 samples in your possession, and have not returned your analysis of the cores you cannot request any more samples. You have 6 months from the date you take them, to return the analysis. You give them a promise date of when you think you will have the analysis returned. Example: 100 samples are taken and not all are returned at the same time. Say, they only send back 50 analysis results as the other 50 are not completed yet, but will be. Multiple trips can be made as well with a few weeks or days but no matter what there cannot be anymore than 200 sample outs for the total of everyone. If one guy gets 100, then there is only 100 left for others to get. Once the count reaches 200. NO more can be taken till someone sends analysis back. Not all analysis is returned at the same time.
I have a countdown evaluation going in my worksheet counting down the days left to return analysis. In the Actual Date Analysis Returned, if a date is entered then the countdown stops for that Trip to gather core data. Also I have a notification Warning that says when countdown hits within 7 days "Sample Analysis is Due!!" if the countdown hits 0 then the remark is "Out of Compliance!!". There are penalties for not complying with returning analysis to the USGS on time. This is a 2 part request for help.
My request is I am having trouble completing my formulas. I can't figure out how to make the Sample Count Available formula to work correctly when not all the analysis is returned at the same time. Multiple people in multiple departments make trips to USGS. We had an issue where someone made a trip there only to find he could not get any samples as some had not been returned. NOT all 200 have to be returned at once. If you took 200 and returned 100, anyone can go there and take 10, 50, 5 or the remaining 100. (This is part One.) The second part which at this time is not a high priority but I want to do it if I can easily do it. And that is once the Day Countdown Evaluation hits 7 days till 0, then I want the worksheet warning to send an email to all the People that go to USGS to gathering core analysis giving them the Warning Message you got 7 days to comply else you are out of compliance. I am the Sr. Eng. Tech responsible for creating this workbook and I maintain the worksheets. And track the data. This is a Geo-Sample Data Tracking Workbook. All the Analysis results returned to us from the vendor is maintained in other databases/systems. (It is a lot of information!) I just tracking who's going, getting samples and sending them back on time.
Here are my columns: A=Date Sample Trip Planned, B=USGS Contact, C=Trip Number, D=Sample Repository, E=Company Rep, F=Beginning Samples Available at Start of Trip, G=Number of Samples Taken, H=Number of Samples Analysis Returned to USGS, I=Sample Count Available, J=Actual Date Taken, K=Promised Return Date, L=Actual Date Analysis Returned, M=Partial Sample Count Returned (Y/N), N=If Partial Sample Count Returned to USGS **Remainder** Sample Count to Return, O=Calculated Date that Analysis must be Returned to USGS, P=Day Countdown Evaluation, Q=Notification Warning.
A= input date, B=input name, C=Trip Number is unique example T1, T2, T3 and so on, D=input name, E=Company Rep=input name, F=trip #1 input of 200 as that's when we started this after that it's a formula, G=Number of Sample Taken is an input field, H=Number of Samples Analysis Returned to USGS is an input field, I= Sample Count Available is a formula, J=Actual Date Taken is an input field, K=Promised Date Returned is an input field, L=Actual Date Returned is an input field, M=Partial Sample Count Returned (Y/N) is an input field, N=If Partial Sample Count Returned to USGS **Remainder** Sample Count to Return is a formula, O=Calculated Date that Analysis must be returned to USGS is a formula, P=Day Countdown Evaluation is a formula, Q=Notification Warning is a formula.
This is what I need help with. I hope someone can help me figure this out. It worked great till I was told that they don't have to send back everything they took all at once! That messed up my formulas as now you have multiple people returning partial analysis. ALSO - Please NO VBA, I'm not that experienced in VBA yet. I'm getting there but not yet. PLEASE HELP. THANKYOU!!!!
Bookmarks