Petroleum Office

Excel Addin for Petroleum Engineers

170 Excel Functions for Petroleum Engineering

Petroleum Office provides a large collection of specialized functions for oil and gas professionals.
With these functions you can build powerful, yet easy to read spreadsheets.

Decline Curves

Arps decline functions for both rate and cumulative production. Modified hyperbolic and power law exponential production decline curves.

Well Productivity

Productivity indexes and flow equations for oil and gas, vertical and horizontal wells, steady state, pseudosteady state and transient flow conditions.

Pipe Flow Performance

Pressure drop calculation for single phase, oil and gas flows. Popular correlations for multiphase pipe flow: Hagedorn and Brown, Beggs and Brill, Gray.

PVT Modeling

Common correlations for oil, gas and water properties: bubble point pressure, formation volume factor, viscosity, compressibility and more.

Reservoir Rock Properties

Corey and LET type curves. Honarpour and Ibrahim-Koederitz correlations for predicting relative permeability in different fluid systems and reservoir types.

Utility Functions

Linear and cubic splines allows you easily interpolate, differentiate and integrate tabulated data. Unit converter function has more than 1500 units.

Why Petroleum Office?

Instead of creating a stand-alone petroleum engineering application, we decided to build upon the strengths of Excel and make it better tool for petroleum engineering calculation.
Here’s how and why.

Ease of Use

Many say that Excel is a #1 tool for engineers. Everybody knows how to use it, hence the learning curve for addin is very shallow.


We are fans of simple calculations that allow the engineer to get a 90% answer quickly rather than a laborious effort to get a supposed 100% outcome.


You only create spreadsheet once. You read and edit it many times. Meaningful function names instead of complex formulas will keep your spreadsheets concise.


Consistent result across all spreadsheet models. Reduce errors and eliminate typos.


Keep all related inputs and calculations in one place. Less copying and pasting between applications.

Save time

Unit converter, file generator, snippets will save you a lot of time. Not to mention that coding VBA functions could be hard and time consuming.

How Does Petroleum Office Work?

Petroleum Office is an addin that integrates a ribbon tab into the Excel window, giving you easy access to the included functions and tools.

Petroleum Office - Function Library

Function Library

Each function from addin can be selected from Insert function dialog as well as from ribbon group. All functions are organized by categories for easy navigation and have a informative description.

Petroleum Office - Snippets


Snippet is a block of cells with function name, its arguments, cells for input values, formula with referenced inputs and descriptions. It’s quick and easy way to start using any function!

Right click on any cell in your spreadsheet and in context menu find “Insert Snippet”, choose required function, click on the name and you’ve inserted a snippet.

Petroleum Office - Unit Converter

Unit Conversion

Unit conversion in Petroleum Office is based on UnitConverter() Excel function which is part on add-in function library. Popular categories of units can be found on ribbon, select cell, choose units and you have your answer. All units button will show the full list of 1500+ registered units. Search and copy required abbreviation.

Petroleum Office - Spreadsheets

Sample Spreadsheets

Another easy way to start is to explore sample spreadsheets.

Click on Samples button and select an example spreadsheet from dropdown menu.

Petroleum Office - File Generator

File Generator

If you work with text input files for popular simulators, you can save a lot of time, when creating different scenarios for sensitivity or history matching projects.

Create a template input file with tokens, fill the table with case names and its parameters. Then use File Generator tool within Toolbox button on the ribbon and it will create case files where each token is substituted by appropriate value from the table. Chances are that you keep the summary of your simulation runs in Excel anyway.

Petroleum Office - Import Eclipse Output

Import ECLIPSE Outputs

This tool allows you to read and load output files from ECLIPSE reservoir simulator directly to Excel.

Click on Toolbox button and choose Import Eclipse Results…. Select the cases (.SMSPEC, .FSMSPEC files) you want to import and click Open. Each case will be imported in the current workbook as separate sheet with the name as case file and contain all data vector results in columns.

Start your trial today!

Download Petroleum Office
An unhandled error has occurred. Reload 🗙