|

How to fit Quadratic and Cubic Curves with LINEST in Excel

The Excel LINEST function is normally used to fit a straight line to data points.  However, using this little-known technique you can also fit higher-order curves.  This example shows how to use LINEST to fit Quadratic and Cubic Curves to data. This example comes from the sample spreadsheet LINEST-2-3.xlsx in our Excel for Engineers online…

|

How To Use The CONVERT Function to Translate Between Different Units

Do you ever need to convert between different measurement systems?  It’s more of a problem in the US, where the last Imperialists stubbornly cling to archaic units in the face of the rest of the world metricating. They inflict units like ounces, gallons, acres, feet and inches on us.  What are they talking about? Never…

|

How to Use the Simplest INDEX(MATCH) Exact Lookup

You say, “I could never use INDEX(MATCH): It looks too complicated!”  Well, here is the very simplest example, which anyone can master (or mistress).  Here we are only looking for an exact match.  For simplicity, we will use one-column arrays only. Once you are happy with this, if you want two-dimensional examples, read this following…

| |

Built-in Functions in Excel Visual Basic for Applications (VBA)

Before Excel 2003, you could get a complete list of Visual Basic Functions by looking in Visual Basic Help > Contents > Functions. In Excel 2010, entering “Functions” into the Help Search box produces nothing useful.  Using a specific category, e.g. “Math Functions”, may be more productive.  Please be aware of what references to “Excel…

|

FORMULATEXT to Display the Formula in a Cell

Here is a function that displays the formula in another cell: FORMULATEXT(reference). The argument, “reference”, is the cell address that contains the formula you want to display. This is most useful for documentation purposes.  For example, when you want to print out a spreadsheet with its formulas. If you have spent much time on this…

|

Solving Simultaneous Linear Equations with Matrices

We have various ways of solving simultaneous linear equations. In this post, we will look at a couple of other methods, and then how we can do it with matrices in Excel.  We first consider two variables, and then more. Let’s be clear before we start: What are linear equations?  They are of the form…

|

Quickly Convert Excel Data in Place with Paste Special

Do you ever need to convert units, increase or decrease a range of data, or change its sign? Then this technique should work for you. Excel’s Copy > Paste Special > Add / Subtract / Multiply / Divide lets you transform data in place. You don’t need an intermediate column or row. Say, for example,…