Categories
RSS Feed
Search NewtonExcelBach
Archives
Top Posts
- Using LINEST for non-linear curve fitting
- 3DFrame Ver 1.03 and Frame4 Ver 3.07
- Cubic Splines
- Downloads
- XLDennis, the MSDN Library, and VBA rant
- About Newton Excel Bach
- Writing Arrays to the worksheet - VBA function
- Daily Download 4: Continuous Beam Analysis
- Filling Blanks with Go To-Special (and local help rant)
- Linking Excel to C - 2
Recent Comments
Category Archives: Arrays
Moving averages and User Defined Array Functions
I have recently needed to work with moving averages on a large-ish data set (about 10,000 rows x 10 columns), and for reasons that I will describe in the next post, decided that a User Defined Function (UDF) would be … Continue reading
Posted in Arrays, Excel, UDFs, VBA
Tagged Array Function, Excel, Moving Average, UDF, VBA
8 Comments
More on Worksheetfunction vs UDF
A recent post at Roy Maclean’s VBA Blog suggested that the difference between using a worksheetfunction call in VBA and writing a User Defined Function (UDF) to do the same job was not enough to be worth worrying about. He tested … Continue reading
Posted in Arrays, Excel, UDFs, VBA
Leave a comment
A Sort Function
There is often a need to sort data within a VBA routine, but VBA does not have a built in sort function, so I recently had a look for what is on offer on the Internet. Chip Pearson has an … Continue reading
Repeating a set of data
The Microsoft Excel Blog has a discussion on ways of repeating a set of data, for instance making three copies of every row of a range of data. I have written a simple UDF to do this job, and also extract … Continue reading
Solving simultaneous equations – Fortran dll
The file simultaneous.zip has been modified to allow access to a Fortran simultaneous equation routine, compiled as a dll. The original file was posted in solving simultaneous equations. The advantages of a compiled routine include: Much better performance Greater precision through … Continue reading
Posted in Arrays, Fortran, Link to dll, Maths, UDFs, VBA
Tagged dll, Excel, Fortran, Simultaneous equations, UDF, VBA
3 Comments