Category Archives: Excel

Evaluating Polynomial Functions

A polynomial function is a function of the form: a + b*x + c*x^2 + d*x^3 … and the derivative (the slope of the line at point x) of this function is given by: b + 2c*x + 3d*x^2 … … Continue reading

Posted in Excel, Maths, UDFs, VBA | Tagged , , , , | 5 Comments

Using the DMax Function …

… and an alternative. In this discussion at Eng-Tips I recommended the use of the DMAX() function to extract maximum values from data grouped with different text labels.  In the process I needed to adjust the selection criterion to generate the … Continue reading

Posted in Arrays, Excel | Tagged , , , | 4 Comments

Randomising a list

A list can be sorted into random order by inserting a list of random numbers in an adjacent column and sorting both columns on the random number column. A similar procedure can be carried out through a VBA subroutine, avoiding … Continue reading

Posted in Excel, VBA | Tagged , , | 2 Comments

Listing sheet names

Answering my own question from the previous post, here is a short UDF that will return a list of worksheet names, starting with any chosen sheet:

Posted in Excel, UDFs, VBA | Tagged , , , | 3 Comments

Extracting data from a 3D range

I recently needed to extract data from a series of tables on separate worksheets, into a form suitable for plotting on an XY graph.  In Lotus 123 this would be a piece of cake, since the Lotus @INDEX function has … Continue reading

Posted in Arrays, Excel | Tagged , , , | 3 Comments