Categories
RSS Feed
Search NewtonExcelBach
Archives
Top Posts
- Using LINEST for non-linear curve fitting
- Cubic Splines
- 3DFrame Ver 1.03 and Frame4 Ver 3.07
- Downloads
- XLDennis, the MSDN Library, and VBA rant
- About Newton Excel Bach
- Writing Arrays to the worksheet - VBA function
- Filling Blanks with Go To-Special (and local help rant)
- Linking Excel to C - 2
- Daily Download 4: Continuous Beam Analysis
Recent Comments
Category Archives: Arrays
Sorting with Python
A previous post provided a VBA Sort function that could be used as a User Defined Function (UDF) to provide a sorted list on the spreadsheet, or called from another VBA routine to sort an array. I have just written a … Continue reading
Posted in Arrays, Excel, Link to Python, UDFs
Tagged Excel, Python, PyXLL, Sort Function, UDF, VBA
5 Comments
Arrays vs Collections vs Dictionary Objects (and Dictionary help)
A recent comment by Lori Miller at Daily Dose of Excel suggested that (for the particular application being discussed) the VBA Collection object was quicker than using scripting dictionaries. Since I hardly ever use collections (other than the built-in ones), and … Continue reading
Posted in Arrays, Excel, VBA
Tagged Collection, Excel, performance, Scripting dictionary, VBA
7 Comments
EvalA update and examples
The EvalA User Defined Function (UDF) has been included in the Eval2 and Eval-Integration spreadsheets for some time, but was not documented. That has now been fixed, and both spreadsheets can be downloaded from Eval2.Zip (including full open-source code). The … Continue reading
Posted in Arrays, Charts, Excel, Maths, Newton, UDFs, VBA
Tagged EvalA function, evaluation of text strings, Excel, UDF, VBA
Leave a comment
Copy non-blank rows to another sheet
A thread at Eng-Tips asked for a way to display the data from Sheet2 on Sheet1, but only the rows that were not blank in Column A. There are probably ways to do it without VBA, but it seems to me … Continue reading
Posted in Arrays, Excel, UDFs, VBA
Tagged Array Function, copy non-blank rows, Excel, UDF, VBA
3 Comments
Using Index() as an array function
As promised, this post looks at using the Excel built in Index() function to operate on arrays; it also provides a VBA user defined function (UDF), VBIndex, which simplifies working with arrays within VBA, and also provides improved functionality when … Continue reading