149 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 cummulative production. Modified hyperbolic and power law exponential production decline curves.

Well Productivity

Productivity indexes and flow equations for oil and gas, verical 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.

Reservoir Fluid Properties (PVT)

Common correlations for oil, gas and water properies: bubble point pressure, formation volume factor, viscosity, compressibility and many 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 intergate tabulated data. Unit converter function has more than 1500 units.
Browse the full list

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.

Function Library

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


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.

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 ribon, 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.

Sample Spreadsheets

Another easy way to start is to explore sample spreadsheets.

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

File Generator

If you work with text input files for popular simulators, you can save a lot of time, when creating different scenarious 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 substututed by appropriate value from the table. Chances are that you keep the summary of your simulation runs in Excel anyway.

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.

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 learing curve for addin is very shallow.


We are fans of simple calculations that allow the engineer to get a 90% answer quickly rahter than a laboreous effort to get a suposed 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.

Start your trial today!

Download Petroleum Office