+ Reply to Thread
Results 1 to 16 of 16

Well Inventory Schedule & Reserve Category Lookup

  1. #1
    Registered User
    Join Date
    02-10-2019
    Location
    Denvor, CO
    MS-Off Ver
    64-bit
    Posts
    17

    Well Inventory Schedule & Reserve Category Lookup

    Hi:

    I am trying to solve a problem in Excel associated with a Well Inventory / Drilling Schedule. Basically there are two Type Curves (TC1, & TC2). There is an inventory of wells associated with each Type Curve. That inventory within each Type Curve can be categorized by Reserve Categories (PDNP, PUD, PRB). Next there is an assumed priority of drilling this inventory within each Type Curve such as: First: PDNP reserve categories, Next: PUD reserve categories and Finally: PRB reserve categories. The priority of reserve drilling is the same across all type curves (i.e. 1. PDNP wells, 2. PUD wells, 3. PRB wells.)

    Then there is an assumed Drill Schedule associated with drilling these inventories across time by Type Curve. I need to construct a table (shown in the attached Excel file) which breaks out the inventory of wells by month, reserve, category and type curve. I have already created the matrix of when the wells are drilled. However I now need to lookup what Reserve Category and Type Curve is associated with each drilled well based on the current inventory available in that Type Curve and based on the priority of drilling each Reserve category.

    All inputs are colored Blue. The cells I need to calculate are filled in Yellow color and needs to be dynamic as the well inventory and drill schedule may change. Please ask any questions for clarification. From my perspective, this seems like a rather complex excel formula, and looking forward to the potential solutions for this. Ideally I would like the equation to be calculated within the Yellow cells completely, but if helper cells are needed that definitely makes sense.

    Thanks for your help on this.
    Attached Files Attached Files

  2. #2
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: Well Inventory Schedule & Reserve Category Lookup

    Are you able to mock-up your expected results in the yellow cells for the provided sample data?

  3. #3
    Registered User
    Join Date
    02-10-2019
    Location
    Denvor, CO
    MS-Off Ver
    64-bit
    Posts
    17

    Re: Well Inventory Schedule & Reserve Category Lookup

    Hi Kersplash:

    Yes, I have included an updated spreadsheet with the mock-up results. This is the most updated spreadsheet to use for this thread. Another constraint or factor I included in the spreadsheet is the following: If more then 1 Type Curve has 1 or more well being drilled in a given month then the results are assumed to start with TC 1, then TC 2 (ascending order).
    Attached Files Attached Files
    Last edited by xs98; 04-25-2019 at 10:25 AM.

  4. #4
    Registered User
    Join Date
    02-10-2019
    Location
    Denvor, CO
    MS-Off Ver
    64-bit
    Posts
    17

    Re: Well Inventory Schedule & Reserve Category Lookup

    Hi:

    I wanted to see if anyone was able to solve this?

  5. #5
    Registered User
    Join Date
    02-10-2019
    Location
    Denvor, CO
    MS-Off Ver
    64-bit
    Posts
    17

    Re: Well Inventory Schedule & Reserve Category Lookup

    I wanted to follow up to see if anyone was able to answer my excel questions above?

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,830

    Re: Well Inventory Schedule & Reserve Category Lookup

    There is no way to do what you want.

    Unless I am missing something obvious, Excel has no way at all of determining that the 1 in L14 relates to the 1 in L5. There would need to be unique identifiers for that link to be made.

    This is probably why you've had no solutions - sorry.

    EDIT: Please update your profile with the correct version of Office, not its bit-rate (e.g. 2016, 365, etc.). Thanks.
    Last edited by AliGW; 05-31-2019 at 02:59 AM.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  7. #7
    Registered User
    Join Date
    02-10-2019
    Location
    Denvor, CO
    MS-Off Ver
    64-bit
    Posts
    17

    Re: Well Inventory Schedule & Reserve Category Lookup

    Hi Ali:

    Thank you, that helps me reorganize the problem a bit. I'm attaching an updated spreadsheet with unique identifiers. However this time I'm skipping the well schedule and going straight to the production profile of each of the wells. I have provided mock up answers for outputs in the yellow cells. I would like to have a dynamic formula that accounts for the drill schedule and the general production profile for each TC (Type Curve) and the risking (production % discount).

    Let me know if you have question on the spreadsheet. Thank you for your help on this.
    Attached Files Attached Files

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,830

    Re: Well Inventory Schedule & Reserve Category Lookup

    In L23 copied across and down:

    =SUMPRODUCT(($I$17:$I$19=$I23)*($L$16:$U$16=L$22),$L$17:$U$19)*INDEX($C$17:$C$19,MATCH($J23,$B$17:$B$19,0))*SUMPRODUCT(($I$4:$I$12=$I23)*($J$4:$J$12=$J23)*($L$3:$U$3=L$22),$L$4:$U$12)+K23

    This will at least give you a start. I don't fully understand the mocked up results ...
    Last edited by AliGW; 05-31-2019 at 04:24 AM.

  9. #9
    Registered User
    Join Date
    02-10-2019
    Location
    Denvor, CO
    MS-Off Ver
    64-bit
    Posts
    17

    Re: Well Inventory Schedule & Reserve Category Lookup

    Ali:

    Thank you, that is very helpful. That is a great first start. I color coded a section on the example spreadsheet to better show how the intended formula is suppose to work. I have done this only for a portion of the inventory of wells.

    Let me know if this is an easy updated to the formula to bring in line with the example I mentioned.
    Attached Files Attached Files

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,830

    Re: Well Inventory Schedule & Reserve Category Lookup

    I'm sorry - I don't have the time to try to work out what all the colour coding means. I really have no clue how it all works. Remember - it's obvious to you, but I have no knowledge of well drilling, I have no clue what any of the abbreviations mean or how they relate to each other. You haven't given an explanation anywhere of any of the calculations you want - I am expected to back engineer what you have given to work it out.

    Without a LOT MORE GUIDANCE, I'm afraid I won't be able to help. Sorry!

  11. #11
    Registered User
    Join Date
    02-10-2019
    Location
    Denvor, CO
    MS-Off Ver
    64-bit
    Posts
    17

    Re: Well Inventory Schedule & Reserve Category Lookup

    Thank you Alie.

    Is there anyone else who would be able to help me with the formula? I believe the color coding is straight forward to show how the formula is working. Basically every time a well is drill it needs to start with the first data point of the production profile from the Type Curve that well is tied to. But each cell also needs to account for the declining production profile of the previous drilled wells. The color coding shows how the wells are tied to production profiles.

    Thank you all for your help going through this.

  12. #12
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,830

    Re: Well Inventory Schedule & Reserve Category Lookup

    I’m putting out a call for help - I really haven’t a clue about what you think is basic and obvious. Hopefully someone will take over.

  13. #13
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Well Inventory Schedule & Reserve Category Lookup

    Ok, this is a bit more than a challenge, I can see the pattern, but don't think it is easily formula-able. Will have a closer look at it in the morning.

  14. #14
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Well Inventory Schedule & Reserve Category Lookup

    Try this one in L23, array confirm it before dragging right and down to populate the rest of the table.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    The only thing that the formula does not do is compare the dates in the output table to those in the drill schedule. Both tables need to have the same date columns for the data to match up.
    At best, it might be possible to match the first date in the output table to the dates in the drill schedule if it starts earlier, but attempting to check each individual date would not be practical (also, my formula writing capability does have limits)

  15. #15
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Well Inventory Schedule & Reserve Category Lookup

    ARRAY formula in L23 then copied across
    Please Login or Register  to view this content.
    How ARRAY formula is entered

    Paste Formula in the cell.
    Press F2
    Hold Shift+ Ctrl Keys and hit Enter key.
    Now the formula is surrounded by {} by excel.
    Attached Files Attached Files
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  16. #16
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Well Inventory Schedule & Reserve Category Lookup

    I notice that kvsrinivasamurthy's formula assumes that the rows of the output table are in identical order to the drill schedule as well as the date columns.

    From your original question, I understood that you wanted everything to be cross matched on the assumption that each table could have different headings, or that the headings could be in a different order.

    Going on the assumption that both tables will be the same, along with another slight change, my formula can be shortened to
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and still give the correct results.

    Looking at the methods and functions in both formulas, I think that each has advantages and disadvantages.

    Mine will probably be slower to calculate due to the way the arrays are handled, but kvsrinivasamurthy's formula uses volaile functions, so the potential for increased calculation frequency could make it less desirable.

    If you're unsure why using volatile functions can be bad, take an empty cell that is unrelated to the formulas, lets say G20. If you enter something into G20 then all of the formulas that use volatile functions will recalculate, even though they don't need to. The formulas that don't use volatile functions will ignore the change and not recalculate because excel knows that the change will not affect the results.

    With complex formulas, where the calculation time can be slow, it might be an advantage to use a slower, non volatile formula and accept one 20 second calculation instead of ten 5 second calculations.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Sorting production plan in to schedule my category
    By Bjourne in forum Excel General
    Replies: 1
    Last Post: 02-20-2019, 09:49 AM
  2. SUMIFS + LOOKUP? Inventory management combined with production schedule
    By VladKyle in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 10-11-2015, 02:16 PM
  3. Inventory Record Schedule
    By pranjal79 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-14-2014, 09:35 AM
  4. [SOLVED] How to summarize daily schedule by value and category?
    By briancox22 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 02-22-2013, 11:41 AM
  5. Removed.......
    By cyarnell in forum Excel General
    Replies: 0
    Last Post: 10-04-2012, 07:14 PM
  6. Schedule and Inventory
    By jokla in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-12-2007, 10:36 PM
  7. [SOLVED] How do I set up a equipment replacement reserve schedule
    By Hank in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-30-2005, 03:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1