Home
FastExcel V3 User Guide
Contents
1. Global Local to any sheet Local to active sheet Name type s And Or J InvertFilters Table Names On With external references With errors Hidden Visible Three dimensional 2D Multi area Formula three d or error With relative references Refer to selected cells Overlap other names Duplicate global local Refer to Activesheet Filter names containing Unused names only Name Scope filter Select one of the items All Global Local to any sheet Local to Active Sheet in this listbox to restrict the names shown And Or option buttons If And is selected default only names are shown to which all chosen criteria in the Type filter apply With Or selected names are shown to which any of the selected Type filter criteria apply Invert Filters If the Invert Filters checkbox is ticked the filters are inverted so that in this example Visible cells that Refer to selected cells are excluded rather than included NameType s filter Select the type s of names you want shown You can select more than one type of filter by holding the control or shift key while clicking in this listbox When you select more than one type Name Manager will filter either names that match ALL the types selected And or names that match ANY of the types selected Or Filter names containing Checkbox Check this checkbox to only show names that contain the string you entered in the search edit box bel
2. cccsssccccccessessssscecececesesssaeeeeeeessesesseaeeeeeens 101 The Names ListbOxsxescctev scccvecescines ovate vesdeiechevacsescnesOeil a aii 102 Sorting the Names ListboX ccccscccccccssssscseceeeeeceeseseeaecescssseseaeeeeeeseesseaees 102 Dividing the Space between Name and Referst0 ccccsssceceessestraeeeeees 102 Selecting one or more NAMES c ccccccssesssssececececssseseaeseecessesecnsaeeeeeesseeeees 102 Refers to edit BOX ie cvccteras deeeliersas atliiedtetinnie enrages eae 102 Refersto S plitter Bar eescecacs ceegeesass daasssencd 260 eve ces aeea aN ants D AA ENEA 103 Name Manager Filters ee cissietictecceeasestencsashueiaiseacavaavicaveuieante das uadevasiaderaeneieeeeaekaaes 104 Name Scope filtet mussten ieaiai dan a a iei aaa eieaa vores hee aE 104 And Or option buttons renea a N a A E a i 104 FastExcel V3 User Guide FastExcel Version 3 e 6 FastExcel V3 User Guide HAVENT FIN ORS coc irc E cee selene EEA EE EE EE E E OAE EE EEE E 104 NameType s fiter nunnia en e ee 104 Filter names containing CHECKDOX ccccccccscessssssecececessesscseceeeessesssseaeeeeeens 104 Search EditDOX peata a aaae a a eaa eaaa eiai 105 Unused names checkboX ssssssssssssssssssssssrsssesssssssssssesseesseesseessressressrestense 105 Name Manager Action Buttons sssssssssssssssssssssssssssssssssssssssssrsrsrsrsssrsrsrsrsrsserererent 106 Hide Unhide 0A o a eE EE AEEA 106 Add BUTTO Metohia a e a r
3. 89 Circular Worksheet Cross reference Paths table 90 Memory Usage 91 Memory Used and Pivot Cache Memory Used Buttons cc cccccccccsssssseeeeeeeseessaees 91 Memory Us dinrera na a ee aa ae 91 Pivot Cache Me MOry USE dingti atrini aieia iat i ie aa aaaea e aiaa 91 Clean Workbook 92 Clean Workbook Options FOr ccccccccccssssssssceeecececseseaeseeecessseensaeeeeeessseseeeeeeeseesees 92 Backup Workbook before Cle ann cccsssccccccesesssseseceeecessssseaecesceseessnneaeeeesens 92 Active or All WorkSheets cceecceesseceseeceeeeeceeeeesaeeeeaaeeeaeeceaeeeeaaeeneaaeseaeeenaees 93 CleansUsed RAN BCS see e tee E de Goss E AE EAE EAE E ds tetiews 94 Excel s Used Range and Last Cell nisaran n arei i i a a 94 Reset Used Range enn a aa aE Ta a E r a aa 94 Clean Exc ss Used Rape aea Taa na a a rats aai 94 Delete Excess Used range cccsssccccccscssssssseeececesseseeaesecessseseaeaeeeeseessnssaeeeeess 94 Do NOt Cle aNiniinieneninai oa a i 95 Max Number of Cells per Clean Step ccccccccccssssssecceecesssssaeeeeeesesssnteaeeeesens 95 Buffer Rows and ColUMnS sssssssssssssssssssssssrsssssssssssssssessesssessseesstesseessesseesse 95 Clean Workbook Options ccccccccesssscececeesesscececeeecesseaeeeeeeecesseeaaeseeesseeseaeaeeeeseesees 96 Delete Temporary File Sraa n la E E a E a EAEE E 96 Close VBE WINUOWS raii reneeoin apia a aa a a e a 96 Remove Invalid Names sssssssssssssssssssssssssss
4. ALL ANY NONE SpeedTools Logical Functions for Ordinary Formulas To provide compatibility with the SpeedTools array functions SpeedTools also provides three logical functions for use in non array formulas ALL which is equivalent to AND ANY which is equivalent to OR NONE which is equivalent to NOT OR These 3 functions handle Numeric Text and the absence of any True False results in the same way as the SpeedTools logical array functions FastExcel V3 User Guide SpeedTools Extras Logical Functions e 264 AND ROWS AND COLS AND CELLS OR ROWS OR COLS OR CELLS Syntax OR ROWS Logicaltest1 logicaltestZ OR COLS Logicaltest1 logicaltest2 OR CELLS Logicaltest1 logicaltest2 AND ROWS Logicaltest1 logicaltest2 AND COLS Logicaltest1 logicaltestz2 AND CELLS Logicaltest1 logicaltest2 LogicalTest Each LogicalTest parameter for these functions can be a constant a constant array a range or a formula For OR ROWS and AND ROWS the number of rows in each LogicalTest parameter must be the same but the number of columns may be different For OR COLS and AND COLS the number of columns in each LogicalTest parameter must be the same but the number of rows may be different For OR CELLS and EACH CELL the number of rows and columns must be the same in all LogicalTest parameters If there are any error values in any of the parameters the first error value found is returned instead of True o
5. FastExcel V3 Licensing Wizard Welcome FastExcel V3 Bundle License No license key was found on your system Click Next gt to enter a license key FastExcel V3 User Guide FastExcel V3 Controlling Calculation e 58 Calculation Timing Commands There are seven FastExcel V3 timing commands The seven Calculation buttons These seven calculation buttons calculate the selected items and optionally show you the elapsed time taken by the calculation EA Calc Range ReCalc Books ReCalc Sheet amp Full Calculation a Time Macro GoTo FullCalc Sheet MixMode Recalc 1 Go Back Use FastExcel Calculation Control gt FastExcel Settings to choose between the 2 available Range Calculate methods with or without dependencies internal to the selected range and the number of Range Calculate trials default 3 Range Calculate then shows the median time of all the trials Sheet Calculate re calculates the selected Sheets assuming that all precedent worksheets and linked workbooks have been correctly calculated Full Calculate Sheet calculates every formula on the selected Sheets assuming that all precedent worksheets and linked workbooks have been correctly calculated FastExcel V3 User Guide E The currently selected cells using Range Calculate Alt F9 If more than one Area is selected each Area is calculated left to right and top to bottom in the sequence that the areas were selected If more
6. cccccsssscceceesssssaeeeeeceeseseceeeeessessesseaeeeeeesees 31 Install package contents ccccccccccecesssssseeeeeceseeseaeaeceecsesesaeaecececsscesesaeeeeessesseseaeeeeess 31 Installing and Activating FastExcel V3 32 B y License mereen enne nce aes eid eee eee 34 Release All LICENSES wc cetect es ecceencsseve aair these a aiea abel E aina 34 Activate New Licens eirese stds er Neessen neste TEA EEA e a N Eaa airas 35 To permanently uninstall FastExcel V3 c ccccccccssssssecececessesecssseeeeseesesseaeees 36 To Re Install FastEXcel nanei ia rai e E R a 36 Using FastExcel Functions and run time support ccccccccccesesssseceeeeeeessesssaeeeeesseesees 36 Migrating from FastExcel V2 37 The FastExcel V3 Ribbon and Toolbars Overview of Commands 38 FastExcel V3 Controlling Calculation 41 FastExcel V3 Calculation Options and Settings c ccccccccsssssscececessssesssaeeeeesssesseaeees 42 Excel Calculation Settings Current Calculation MOde cccccsssscceeeessesssteeeeeeeeeeees 43 Excel Calculation Settings Set Book Modes cccceesssseceeeeesesenececeeecesseseaeeeeeesseeeees 45 Excel Calculation Settings Initial Calculation MOd ccccecsessseceeeeessessseeeeeeseesees 46 Excel Calculation Settings Iteration ccccccccccccssssssseceeeceeessesneaeeescesseseaeseeseseessaaeas 46 Multi threaded calculation Settings ccccccccccccsssssssecececesessesseaeeeseessessaeseeeese
7. Selecting a name inserts that name at the current insertion point in your code Reset NM G This button resets the position of the Name Manager form FastExcel V3 User Guide Reset NM e 115 Corrupt names Sometimes a workbook may contain corrupted names like these Define Name OOOPRO __123Graph_APIE MEM AllSheets OOOFor_Ubst Sheetl 3 A 1 Names like these cannot be deleted or edited at all using the normal methods The name manager will detect this when you try to edit or delete such a name and offer you the opportunity to rename them to a valid name After changing the invalid names they can be edited and or deleted Name Manager 2 2 FastExcel V3 User Guide Reset NM e 116 Problems discovered during the development of this utility There are some bugs in Excel s Names collection and Name Object Non US List separators The RefersToLocal property of a name will not accept other list separators than the US default comma For instance this code line Names Test RefersToLocal SUM SAS1 BS1 Gives a runtime error even if the semicolon is set as the list separator in Control panel and XL accepts this formula in it s cells In the name manager a workaround has been used to overcome this problem Unusual Characters in Names When one defines a local name on a Sheet named Test Name Test test Refersto 1 and renames this sheet to e g Hi There witho
8. Rgx COUNTIF as a multi threaded non volatile function Rgx COUNTIF Syntax Rgx COUNTIF SearchThis RegExp Case_Sensitive The first 2 parameters are required the last parameter is optional SearchThis required A rectangular range array or expression that returns a rectangular array to be searched for matches to the Regular Expression Pattern All rows and columns within the rectangular array are evaluated for a match RegExp required Specifies the Regular Expression to be used when matching values from SearchThis Case_Sensitive optional TRUE to make the pattern matching case sensitive The default is FALSE Rgx COUNTIF Example 1 234 567 8901 1 234 567 8901 x1234 1 234 567 8901 ext1234 1 234 567 8901 1 234 567 8901 4 234 567 8901 12345678901 1 AW 2 9 0 8 0 9 W 2 9 0 9 2 W 0 9 4 se2x7t d Rgx COUNTIF A 36 A 42 C 35 6 The Numbers data is in A36 A42 and the Regular Expression Pattern is in C35 There are 6 numbers that match the pattern The Numbers data is all textual numbers FastExcel V3 User Guide SpeedTools Filters Filtering Functions e 186 Rgx SUMIF function Counts the number of values within a range or array that match the Regular Expression Pattern Rgx SUMIF is a multi threaded non volatile function Rgx SUMIF Syntax Rgx SUMIF Search_This RegExp Sum_This Case_Sensitive The first 2 parameters are required the last parameter is optional Search_This requ
9. SpeedTools Product Name SpeedTools Category Excel Category Cale Information Cale Information Cale Information Calc Information Calc Information Calc Information Calc Information Calc Information Calc Information Extras Logical Extras Logical Extras Logical Extras Logical Extras Logical Extras Lookup amp Reference Extras Text Extras Text Extras Text Extras Lookup amp Reference Extras Statistical Extras Information Extras Logical Extras Text Extras Math amp Trig Extras Logical Extras Logical Extras Logical Extras Logical Extras Lookup amp Reference Extras Text Extras Lookup amp Reference Extras Lookup amp Reference Extras Text Extras Text Extras Text Extras Text Extras Text Extras Text Extras Lookup amp Reference Extras Lookup amp Reference Extras Text Extras Lookup amp Reference Extras Math amp Trig Filters Statistical Filters ASUMIFS Filters Statistical FastExcel V3 User Guide SpeedTools Functions e 164 Filters Case VSORTC Sorting Math amp Trig Filters Math amp Trig Filters Statistical Filters Statistical Filters Lookup amp Reference Filters Lookup amp Reference Filters Lookup amp Reference Filters Lookup amp Reference Filters Statistical Filters Statistical Filters Statistical Filters Statistical Filters Math amp Trig Filters Math amp Trig Filters Math amp Trig Filters Math amp Trig Filters Math amp Trig Filters Math amp Trig L
10. The FastExcel Calculation Calculation Options for Excel the Active Workbook and FastExcel Includes Initial Mode Mixed Mode and Active Options button allows you tocontrol both Excel and Calculation Book Calculation Modes Show and change FastExcel V3 Options i H g FastExcel Calculation pensing SpLONS settings Calculate and Time Commands The FastExcel calculate EA Calc Range ReCalc Books Calculate range Recalculate dnd mecommandsshow ReCalc Sheet Full Calculation Selected sheets Full calculate you the time taken to do FullCalc Sheet amp MixMode Recalc Sheet Recalculate workbooks Full the calculati n calculate workbooks and Recalculate MixMode sheets and workbooks Time Macro and GoTo Commands Time Mocro xecution and bo Time Macro Time the execution of a macro quickly select all the go to Names Cells with gt GoTo cells on a worksheet with a ona ab or Number specified Number Formats Go Back Format Goto a Name or reverse the last GoTo or Styles Profiling Commands The FastExcel profiling Pi DrilDown g amp Formulas Drill Down Profiling Wizard Profile commands allow you to Fal workbook 334 CrossRefs Workbook Profile Worksheet Areas Profile find calculation bottlenecks El worksheet Formulas and Functions Map worksheet and memory usage FastExcel Profiler cross references FastExcel V3 User Guide The FastExcel V3 Ribbon and Toolbars Overview of Commands e 38 SpeedTools Function Library
11. lt z lt lt lt lt lt lt lt z z z z z z z z z Z lt z lt lt lt lt lt lt lt lt lt z z z lt lt lt zi z lt lt lt lt lt lt z ISLIKE2 LINTERP2D LISTDISTINCTS LISTDISTINCTS AVG LISTDISTINCTS COUNT LISTDISTINCTS SUM MEMLOOKUP MEMMATCH NONE OR CELLS OR COLS OR ROWS Z Z Z Z Z Z Z Z Z Z Z Z Z PAD ARRAY PAD TEXT Z PREVIOUS Optional REVERSE ARRAY N REVERSE TEXT Rgx AMATCH2 Rgx AMATCHES2 Rgx AMATCHNTH Rgx AVLOOKUP2 Rgx AVLOOKUPNTH Rgx AVLOOKUPS2 Rgx Case AMATCH2 Rgx Case AMATCHES2 Rgx Case AMATCHNTH Rgx Case AVLOOKUP2 Rgx Case AVLOOKUPNTH Rgx Case AVLOOKUPS2 Rgx COUNTIF Rgx FIND Rgx ISLIKE Rgx LEN Rgx MID Rgx SUBSTITUTE Rgx SUMIF lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt z lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt ROW ARRAY SETMEM lt Y SPLIT TEXT VECTOR Scalar Single Cell lt lt VLIN
12. LISTDISTINCTS COUNT should be entered as a multi column multi row array formula FastExcel V3 User Guide SpeedTools Filters Filtering Functions e 191 LISTDISTINCTS SUM Function LISTDISTINCTS SUM outputs a multi column array of the cells or rows from the input data where the first column columns are the distinct items rows and the last column is the sum of the SumColumn If ByRows is true then the output rows are the distinct rows but if ByRows is false then the output is 2 columns the first column is a list of all the distinct items in the input data and the second column is a sum of the SumColumn for each distinct item LISTDISTINCTS SUM Syntax LISTDISTINCTS SUM theInputData SumColumn Ignore ByRows Case_Sense Sort PadType Parameters apart from SumColumn are explained in the LISTDISTINCTS function SumColumn Can be a range or array of constants or an expression returning an array and must be arranged as a vertical column The number of rows should be the same as the number of rows in thelnputData The values for each corresponding distinct row in theInputData will be summed LISTDISTINCTS SUM and LISTDISTINCTS AVG ignore cells in the SumColumn containing True False numbers which are text and text FastExcel V3 User Guide SpeedTools Filters Filtering Functions e 192 LISTDISTINCTS AVG Function LISTDISTINCTS AVG outputs a multi column array of the cells or rows from the input data where the first column column
13. When the criteria operator is or the criteria value and the values in the criteria column will be converted to strings before doing the pattern match Otherwise the preferred data type will be the data type of the first data non header cell in the criteria column FILTER IFS will attempt to convert the criteria value to the preferred data type If this is not possible FILTER IFS will convert the criteria value to a number then a string then a Boolean then an error Overriding Data Type Conversion using the amp Prefix If your criteria column contains mixed data types for instance both numeric and string numbers you can ask FILTER IFS to try to convert the criteria value to the best possible data type match with each cell in the criteria column So FILTER IFS would use the numeric version of the criteria value to compare with a numeric number and the string version of the criteria value to compare with a string text number You request this by adding a amp character as a prefix to the criteria operator after the prefix if you are using the exclusion prefix Criteria Values Criteria values and Criteria column values are NOT Case sensitive FastExcel V3 User Guide SpeedTools Filters Filtering Functions e 174 Criteria Like Patterns Like Patterns can contain e Any number of characters including none e Any single character Pattern Examples Column Value Criteria Result Criteria Expl
14. the changes made by clean workbook we strongly recommend that you let FastExcel backup your workbook before cleaning A copy of the workbook will be saved in the same directory with a BAC file extension FastExcel V3 User Guide Clean Workbook e 92 Active or All Worksheets Active Worksheet Only All Worksheets Choose to clean either only the active worksheet or all worksheets FastExcel V3 User Guide Clean Workbook e 93 Clean Used Ranges Excel s Used Range and Last Cell Check the Last Cell using Excel only tracks information for the range of cells on a worksheet that it Ctrl End considers as used This is known as the Used Range and is the rectangular Too large a Used Range area of cells with the last cell at the bottom right can slow down calculation and increase memory You can select the last visible used cell on a worksheet by using Ctrl End or usage and file size Edit gt Goto gt Special gt Last cell Excel considers a cell used if it has been formatted in any way or contains a constant or a formula or a blank When you delete cells Excel does not immediately reset the Last Cell or shrink the Used Range FastExcel gives you three different methods of cleaning the used range Clean used ranges C Reset C Delete excess Do not dean Max Number of Cells per Clean Step Millions 32 Reset Used Range This method resets the used range for all worksheets No information is removed from the wor
15. A cell that contains will look empty but will be treated as a non empty cell Invisible cells can be created using Automatic or Advanced Filter hiding rows or columns or setting row heights or column widths to zero If the last column s in the range are not visible COUNTCOLS2 will not count them If intermediate column s in the range are not visible COUNTCOLS2 will count them COUNTCOLS2 should be Because hiding rows columns or setting width heights to zero does not used with care on ranges trigger a recalculation COUNTCOLS2 may show an incorrect value even with hidden rows or rows in automatic mode until the workbook is recalculated Changing the with zero heights Automatic or Advanced filter does trigger a recalculation COUNTCOLS2 Example Assuming that cell D42 contains FRED and there are no other non empty cells in row 42 then FastExcel V3 User Guide SpeedTools Extras Information Functions e 294 COUNTCOLS2 B42 returns 3 2 columns from B42 to D42 plus the B column itself FastExcel V3 User Guide SpeedTools Extras Information Functions e 295 COUNTCONTIGCOLS2 Function The COUNTCONTIGCOLS2 function counts the number of COLUMNS from a reference row down to the last cell before the next visible empty cell in the referenced columns COUNTCONTIGCOLS2 Syntax COUNTCONTIGCOLS2 theRows TheRows A range reference to a cell or cells in the rows whose columns are to be counted COUNTCONTIGCOLS2 counts the number of colu
16. FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE OR CELLS A 2 C 21 E 2 G 19 AND CELLS A 2 C 21 E 2 G 19 The functions have evaluated each corresponding element in the 2 data tables to produce a corresponding array of True False FastExcel V3 User Guide SpeedTools Extras Logical Functions e 267 Comparison with Excel AND OR Differences are highlighted in yellow Data TRUE TRUE 99 FALSE 99 FALSE 0 FALSE FALSE FALSE 24 09 1943 FALSE 1 FALSE DIV 0 FALSE N A FALSE NAME FALSE NULL FALSE NUM FALSE REF FALSE VALUE FALSE FALSE fred TRUE FALSE FALSE fred joe 22 11 FastExcel V3 User Guide OR AND OR ROWS ANY TRUE TRUE TRUE TRUE TRUE FALSE TRUE TRUE TRUE FALSE TRUE TRUE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE TRUE FALSE TRUE TRUE DIV 0 DIV 0 DIV 0 DIV 0 N A N A N A N A NAME NAME NAME NAME NULL NULL NULL NULL NUM NUM NUM NUM REF REF REF REF VALUE VALUE VALUE VALUE FALSE FALSE FALSE FALSE TRUE TRUE TRUE TRUE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE ALL NONE TRUE FALSE FALSE FALSE FALSE FALSE FALSE TRUE FALSE TRUE FALSE FALSE FALSE FALSE DIV 0 DIV 0 N A N A NAME NAME NULL NULL NUM NUM REF REF VALUE VALUE FALSE TRUE FALSE FALSE FALSE TRUE FALSE TRUE SpeedTools Extras Logical Functions e 268 IFERRORX Function Use this function for trapping and h
17. InvertFilters Defined Names Only Table Names Only With external references With errors Hidden Visible Three dimensional 2D Multi area Formula three d or error With relative references Refer to selected cells B Fiter names containing Show Excel System names Show Refersto Last option in the options list FastExcel V3 User Guide Name Manager Professional e 100 If your active workbook does not contain any names you will get a warning message FastExcel Name Manager Pro 4 3 A No names in active workbook Name Manager is Modeless The Name Manager s dialog screen is in Modeless state for Excel 2003 and up In Excel 2003 and later you Modeless means you can have the dialog open and work in Excel at the same can use name manager time Not all changes made in excel will be automatically reflected in the names with many workbooks list though For example names deleted or added from the normal Excel open at the same time interface Insert Name menu choices or from VBA whilst the name When you select a different manager is showing will not be immediately reflected in the dialog Clicking workbook and then click on inside the names list will update the list when Name manager detects that it the Name Manager has changed Clicking the Refresh button will rebuild the list Window it will update with the names in the current workbook If you want to chang
18. TRUE FALSE FALSE OR COLS A55 C58 TRUE FastExcel V3 User Guide TRUE FALSE SpeedTools Extras Logical Functions e 266 The functions have evaluated each column of the data to produce a corresponding True False CELL Functions Data More Data OR CELLS AND CELLS TRUE FALSE FALSE FALSE FALSE TRUE TRUE FALSE TRUE FALSE FALSE FALSE FALSE TRUE FALSE FALSE FALSE TRUE FALSE TRUE TRUE FALSE FALSE FALSE FALSE FALSE TRUE TRUE FALSE TRUE TRUE FALSE TRUE FALSE FALSE TRUE TRUE TRUE TRUE TRUE TRUE FALSE TRUE TRUE TRUE TRUE TRUE FALSE FALSE FALSE FALSE TRUE FALSE FALSE TRUE FALSE FALSE FALSE FALSE FALSE fred joe bill TRUE TRUE TRUE TRUE TRUE TRUE FALSE FALSE FALSE 1 FALSE FALSE FALSE FALSE FALSE TRUE FALSE FALSE FALSE FALSE FALSE FALSE 1 FALSE TRUE FALSE TRUE TRUE TRUE TRUE FALSE FALSE FALSE FALSE FALSE 0 001 TRUE TRUE FALSE TRUE TRUE TRUE FALSE FALSE FALSE TRUE TRUE TRUE FALSE TRUE FALSE TRUE TRUE TRUE FALSE TRUE FALSE TRUE joe bill fred TRUE FALSE TRUE TRUE FALSE FALSE FALSE FALSE fred TRUE bill FALSE FALSE TRUE FALSE TRUE TRUE FALSE FALSE FALSE fred joe TRUE FALSE TRUE TRUE FALSE TRUE TRUE FALSE FALSE TRUE FALSE joe bill FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE fred FALSE bill FALSE FALSE TRUE FALSE FALSE TRUE FALSE FALSE FALSE fred joe FALSE TRUE FALSE FALSE TRUE FALSE FALSE FALSE FALSE FALSE FALSE TRUE FALSE TRUE TRUE TRUE TRUE TRUE TRUE FALSE TRUE FALSE TRUE 0 FALSE FALSE FALSE FALSE TRUE FALSE FALSE FALSE FALSE FALSE
19. The first parameter is required all other parameters are optional The output from Case VSORTC INDEX will be a vertical sorted array of index numbers The index numbers give the relative position in the input data of the nth item in the sorted output rather than the sorted output itself The number of rows sorted and output will be the smaller of the number of rows in the input data and the number of rows in the used range The number of columns will always be 1 TheInputData required The data to be sorted given as a vertical array of constants or a calculated range or a range The range or array can contain as many columns as required SortColumn z1 SortColumn15 optional Gives the index column number s of the columns to be used as sort keys Up to 15 sort keys can be specified Positive column numbers will be sorted ascending and negative column numbers will be sorted descending You can have both positive and negative numbers in the same function call 1 denotes the first column in the input data If all Sort Column parameters are omitted all columns in the input data will be used as ascending sort keys Case VSORTC INDEX Examples e Case VSORTC INDEX B b a A returns a column with 4 rows containing 3 4 2 1 first is the 3 in the input data a then the 4 A then the 2 b then the 1 A case sensitive collate means lower case before upper case so the a comes before A e Case VS
20. f Choose a Filtering Function for the Function Wizard COUNTDISTINCTS COUNTDUPES FILTER IFS FILTER MATCH FILTER SORTED FILTER VISIBLE LISTDISTINCTS LISTDISTINCTS AVG LISTDISTINCTS COUNT LISTDISTINCTS SUM Rgx COUNTIF Rgx SUMIF Enter the chosen function as an array formula p r A count of the distinct values or rows A count of the duplicated values or rows Multi criteria filtering with extended criteria options OR criteria calculated criteria etc Like FILTER but returns relative position and count of rows for each criteria matching block of row Multi criteria filtering of sorted data with extended criteria options OR criteria calculated criteria Filters visible rows Returns array of distinct values or rows options for case sensitive ignoring errors blanks etc Returns array of distinct values or rows with additional column averaging corresponding values Returns array of distinct values or rows with additional column of counts Returns array of distinct values or rows with additional column summing corresponding values COUNTIF using a regular expression criteria SUMIF using a regular expression criteria OK Cancel You can select a function and choose whether to enter it as an array formula or not Then clicking OK will enter the function into the selected cells and launch the Excel Function Wizard If the selected cells already contain a formula or data you will be asked if you want to overwrite the
21. siaren iiei teiaa iiin chek ei hee tae cas a chee caste a t ieee 131 View and Edit MOde Si s ccsccce costed eveceche sebsavesaabebies codes aeaiia aiiin iae aaas 132 Active Origin Mode scecccsdeeseseccecececevcebtanate cheeesasgwstats lost aaa eea a iaaa AEEA 132 Constant Origin MOdE sesine radan a a uses 132 EditMode mieken nea aa aa ae a a a aa aiaa Aia 132 Indent Styles cscicze sie a a ea heel A Seed 133 Change Selection snesena eerie suse eE EEn a CEA Seles AEEA tad lees bee Hae 133 Shiftand r Conto e a 133 Ateri eataa iaae eaa EEA E E E OOA OON E a E ER E niente 133 Backand Nexticnianiinri cinean ii aa e a ara ria a eaaa ai 133 Undo Redo and Refresh ceecccccssseesseeesseceeaceceeeeeeneeesaeeeeaaeceeaaessaeeeeaeeseaaeeeeaaesneeees 134 Undo REAO ss ssciisccee ces eitesitie attiedeate E tari aaa deereenaaiees 134 REPGOSIA gecesi hate ves A AE E tae Pace aastecta woth crate Ea A A A N acter ened eae 134 Priced E T TT toc clvessaseaaeas steeaided bugs ctuet T E 134 View Edit Shortcut and Function Keys c ccccscceessecesecesscecssececssecesseceseeeesseeeeaseesees 135 Additional Edit Mode Buttons 000 eee ceesccessseeesceceeeeeceaeeeeaaeceaaeceeeeesaeeeeaaeeeeaeeeeeeeeaas 136 Destination Formula Address cceesceeeeeceeeeceeeaeeeeaceceeeeecnaeeceaeeesaaeeeeaeeeaes 136 Unformat Reformat cccccccsssssccccscssssssceececccecsesnaeeeeceecsessnneaeceececesneaeeecess 136 FastExcel V3 User Guide FastExcel Version 3 e 9 A
22. the sheet will be calculated each time its parent workbook is calculated o F the sheet will be calculated at each Full calculation o S the sheet will be calculated at a Sheet calculation when selected o M the sheet will be calculated at each Manual calculation Protected shows whether the sheet is protected or not Visible shows yes for Visible No for Hidden and VH for Very Hidden Name shows the name of the sheet You can sort the filtered list of sheets in the sheetbox by clicking Name or Seq This does not change the sequence of the sheets in the workbook FastExcel V3 User Guide Sheet Manager e 144 Sheet Manager Action Buttons Hide Protect _ activate Rename Insert Unhide unprotect Refresh Delete Copy Sea MixMode Protected Visible Name Before After Sort Workbook Sheets These buttons act directly on the sheets in the chosen workbook Hide Unhide Hide or unhide the selected sheets The Visible column in the Sheets box will show Yes or No or VH for very hidden sheets You cannot hide or unhide Very Hidden sheets Protect Unprotect Protect or unprotect the selected sheets The Protected column in the Sheets box will show Yes or No Activate All selected sheets will be grouped and selected in the workbook This allows you to make edits simultaneously across a range of worksheets Refresh The Sheets box will be refreshed from the workbook using the filtering settings Rename Rename w
23. CHM and a PDF version of this guide will also be installed in this folder After successful installation FastExcel V3 will automatically be started when you start and you will find FastExcel V3 on the main Ribbon Tab If the Ribbon does not show the FastExcel V3 tab or the installation was done for you by another user with administrative privileges you may have to use Excel to install the FastExcel V3 XLA file For Excel 2003 and earlier go to Tools gt Addins For Excel 2007 Click Office Button gt Excel Options gt Addins gt Excel Addins gt Go For Excel 2010 and 2013 Click File gt Excel Options gt Addins gt Excel Addins gt Go e Press Browse and locate the folder containing FastExcel V3 e Select the FastExcelV3 xla file and click OK to return to the Addins form e If asked Do you want to copy this Addin to the Addins folder reply NO e The Excel Addins form should now show FastExcel V3 with a checkmark Click OK to finish Uninstalling FastExcel V3 To permanently uninstall FastExcel V3 use Windows Control Panel Programs and Features To temporarily uninstall FastExcel V3 use the Excel Addins menu location as above to uncheck the FastExcel V3 addin FastExcel V3 User Guide Installing and Activating FastExcel V3 e 32 Trial Version and Activation By default installing FastExcel V3 creates a trial version When you start Excel using the trial version FastExcel V3 will remind you how many days of trial you hav
24. Controlling Calculation e 42 Excel Calculation Settings Current Calculation Mode You can use this form to view and change Excel s current calculation status and settings Current Calculation Status Calculation Complete Current Calculation Mode Automatici Automatic except tables Manual Active workbook Set Book Modes a By default the current Excel Excel s default calculation mode is at the Excel session level calculation mode applies to This means that Excel will use the same calculation mode for all open all the open workbooks workbooks regardless of the calculation mode that was saved with an Also all the open individual workbook workbooks are Whenever Excel calculates the default behavior is to calculate all the recalculated not just one open workbooks rather than just the active workbook Automatic Formulas are recalculated automatically whenever anything changes so that the workbook s are always calculated Automatic except Tables Similar to automatic except that Excel Tables are not automatically calculated This can be useful with large workbooks because Excel Tables cause multiple calculations of the workbook Manual The status bar will also Formulas are only recalculated when the user requests it by pressing F9 show Calculate if there or the FastExcel recalculate button When the workbook is not are circular references or completely calculated the status bar shows calculat
25. FastExcel Active Workbook The Excel default is to calculate all the open workbooks With mode allows you to control FastExcel you can restrict calculation to the active workbook Calculation for the active only and each workbook can have a different calculation mode workbook instead of all see Mixed Mode processing open workbooks FastExcel Mixed Mode e Current Mode Automatic Manual or Semiautomatic allows you to select sheets This mode applies to all the open workbooks or just to the as MixMode sheets and active book The Excel default is to apply this mode to all the contro whether they will worksheets in a book With FastExcel s Mixed Mode you can be calculated in control which worksheets are calculated in Automatic or Automatic Manual or Manual or Sheet Calculate mode Sheet calculate e Before Save If True Excel will recalculate before each save Any worksheets that are NOT enabled for calculation will not be calculated e Initial Mode Controls how Excel sets the calculation mode when started First Workbook Excel Default Calculation mode is set from the first workbook opened Automatic Calculation mode will be set to automatic Manual Calculation mode will be set to Manual Semi Automatic Calculation mode will be set to Automatic except Tables e Iteration If TRUE Excel will attempt to resolve circular references by iteration e Max Iters the maximum number of iterations used to resolve circular references e Max
26. LINTERP2 D TUNCEON cees etenen eatae sacs eaa iee ae eia rni eean aa eat aa iea ee iai ia detas 260 Calculating Gini Coefficients with GINICOEFF sssssssssssssssssessssssererressssesreesnssssesee 261 GINICOEFF FUNCOM eedi cexe deca cadres oth ieee aaaea eaer etaa aa aa ak eb ov bean aare 262 SpeedTools Extras Logical Functions 263 SpeedTools Logical Functions for Array FormulaS ssssesssesssssseresressssesrsernessseene 264 FastExcel V3 User Guide FastExcel Version 3 e 13 OR ROWS OR COLS OR CELLS AND ROWS AND COLS AND CELLS ALL ANY NONE E E EEA E E E E E E A ET 264 Examples of SpeedTools Logical FUNCtIONS cccessceeceseesssseceeececeesessaeeeeeeesseees 265 IRERRORX FUN CtI ON At cchecescecs davetectisctesuase cunts ex a e a caus davstoasas Cov aa a a ett 269 SpeedTools Extras Reference Functions 271 PREVIOUS FUNCHON ssiciesierc tetanic sich iii alias 272 SETMEM and GETMEM Functions cceeseeesceeeeecesaeeeeaceceeeeeceeeeeaaeeneaaeseeaeeseaeeesas 274 SpeedTools Extras Array Handling Functions 275 COLARRAY FUN CCION 5 ve0 savctssdevesvevens saeves cod Uesese E EAEE EEE EEEE EEEE aAa a TEETAN EE 276 ROW ARRAY FUNCION eiiiai aniria e e a a a aa aS 278 REVERSE ARRAY Function ccc escsceesead eieae aaa iea EAEE eaaa 280 PAD ARRAY FUNCOM aeeie eecsescekescdiessccacecsacedseessacdacess deieascatcees g edsvsescdcscteesudaueaacdadede 282 VECTOR FUNCOM rossini iiia a i e iaiia iaa 284 SpeedTools
27. The SpeedTools function amp Lookups 4 Sort Arrays Logical fA Text f Info Ye Filter b Math Fn Help SpeedTools Function Library library gives you an easy way to select a function and launch the Function Wizard FastExcel Manager Commands Clicking a function category enable you to choose a function insert it into a formula and launch the Function Wizard to complete the arguments for the function The Clean Workbook Nm qe where used command helps you slim Pro a ee Wy Cleaner down your workbook and mPa Tete Mgr Pro Formulas Manager Name Manager Pro helps FastExcel Manager FastExcel Manager includes Name you control your Defined Manager Pro the Indenting Formula Editor Viewer Sheet Manager Name The Indenting Where Used mapping Clean Workbook and Reset Name Manager Editor Viewer is a powerful A commands tool for understanding and editing more complex formulas Excel Memory Used Commands The FastExcel memory T Mem Used commands allow you to iR Pivot Mem see how much Excel memory is being used EEEREN FastExcel V3 User Guide Memory Used amp Pivot Cache Memory Used The FastExcel V3 Ribbon and Toolbars Overview of Commands e 39 FastExcel Help buttons These help buttons give Ly contextual D about Q Speedup Help License FXLV3 Help you access to Help on FastExcel itself Contextual Help on FastExcel output ee FastExcel Help Contextual Help provi
28. The default for Sort is O unsorted FastExcel V3 User Guide SpeedTools Filters Filtering Functions e 189 PadType Optional Array Handling LISTDISTINCTS SUM LISTDISTINCTS COUNT and LISTDISTINCTS AVG are array functions that return arrays of results The result arrays can either be used as input to other functions or array formulas or the functions can be entered as multi cell array formulas so that the result arrays occupy multiple cells The functions follow the standard Excel rules for multi cell array formulas e If entered into fewer cells than the result array the excess results are not returned e If entered into more cells than the result array the excess unused cells will be filled with whatever is specified by PadType O N A 1 2 0 default O N A e A single cell result will be propagated to all the excess unused cells e Acolumn of results will be propagated to the excess columns e Arow of results will be propagated to the excess rows COUNTDISTINCTS and COUNTDUPES return a single number so they do not have a PadType option Remarks COUNTDISTINCTS and COUNTDUPES These functions return a single number the total number of distinct items rows and the total number of duplicated items rows The number of duplicated items rows is counted as the total count for each non ignored distinct item row 1 They do not need to be entered as array formulas LISTDISTINCTS Unless embedded in another function that wil
29. cell 0 Do not use Lookup memory Named Memory If you give a text string instead of a number it will be used as a named memory You can have many named memories in use at the same time usually one for each Lookup Table Each named memory works by row across all sheets within a workbook so is the best choice when you have o More than one memory lookup referring to different lookup tables within a single formula o More than one memory lookup referring to different lookup tables in different cells on the same row and these lookups are repeated on the same row in multiple sheets If this option is not zero then AVLOOKUP2 will first check to see if the index stored in memory that gave the answer the last time the AVLOOKUP2 was calculated still gives the correct answer If it does then AVLOOKUP2 will return that answer without doing any more processing When using Lookup memory and there are multiple exact match answers available AVLOOKUP2 will not necessarily return the answer from the same row as VLOOKUP AVLOOKUPS and AVLOOKUPNTH do not use Lookup Memory Position Optional Defaults to 0 AVLOOKUPNTH only Controls which result will be returned when there are multiple rows that match the Lookup_Values N where N is a positive integer The Nth match found will be returned 0 If sorted ascending the largest value that is less than or equal to Lookup_ Value If not sorted then the first value found If sorted descending then the
30. defaults to False Specifies whether the data in Lookup_Table is sorted on the first Lookup Column ascending descending or is not sorted Valid values for Sorted are e True Asc Yes True 1 Ascending e Des 1 Descending e False No 0 any other text Not Sorted If the Lookup_ Table is sorted on the first Lookup_Column the lookup process will be significantly faster Exact_Match optional defaults to True Use this optional parameter when you want the AVLOOKUP functions to find a row in Table_range that exactly matches the Lookup_Value s even with sorted data and also to specify what to return if an exact match does not exist An exact match will always be done with unsorted data A value of False means that an approximate match will be found with sorted data Use True to find an exact march with sorted data and return N A if not found An exact match on sorted data is much more efficient than an exact match on unsorted data If a value of anything other than False is specified it will indicate that an exact match is to be done even with sorted data and the value given is the value to be returned if no exact match can be found If True is specified or the parameter is omitted the error value will be N A Lookup_Columns optional defaults to 1 Use this optional parameter when you want to control which column s in Lookup_Table to use for the lookup The default value is 1 the first column i
31. e Backup True if a backup copy of the workbook will be created when you save e Styles The number of Styles in the workbook If this number is large you may want to use Clean Workbook to map where the styles are being used and to remove unused styles e Protection The following three items show the protection status of the Workbook structure and windows and whether the book is password protected Colored orange if true e Structure True if the structure of the workbook is protected If protected with a password then opening the workbook will be slow e Worksheets True if the worksheets in the workbook are protected e Password True if the workbook is Password protected e Views The number of Views in the workbook FastExcel V3 User Guide Profiling Commands e 68 The Environment Counts Table 2311 e XLB Qat K The size of the XLB and QAT files in K Bytes The XLB file stores toolbar customizations The QAT file stores ribbon customizations When they get large they may become corrupted and cause memory problems The XLB file is located in AppData Microsoft Excel and the QAT file is located in LocalAppData Microsoft Office e COM Addins The number of COM addins currently loaded e Temp Count of the temporary files in your Windows temporary directory and subfolders A large number of Temp files may make your workbook slow to open or cause Excel to crash The Clean Workbook command can delete all temporary files th
32. 0 12 06 169 28 79 36 7 4 12 704 83 58 108 C 13 AN 16 152 144 72 0 11 95 169 28 78 63 7 1 13 004 85 55 108 C 41 SANS44 152 144 72 0 11 56 169 28 76 03 6 8 12 704 83 58 108 C 57 SANS60 152 144 72 0 11 44 169 28 75 29 6 8 12 704 83 58 108 C 25 AN 28 152 144 72 0 11 40 169 28 75 00 6 7 12 704 83 58 108 C 77 SAN 80 152 144 72 0 11 31 169 28 74 42 6 7 12 704 83 58 108 C 33 ANS 36 152 144 72 0 11 29 169 28 74 27 6 7 12 704 83 58 108 C 17 SAN 20 152 144 72 0 11 08 169 28 72 90 6 5 13 004 85 55 108 FastExcel V3 User Guide Profiling Commands e 83 Using the FastExcel Go To command with the Profile Worksheet Areas sheet If you select one of the areas in the Profile Worksheet Areas output sheet and click the FastExcel GoTo button the area will be selected on its worksheet If none of the areas are selected then the first area will be used Subsequently clicking the FastExcel GoBackTo button will take you back to the profile worksheet areas result sheet FastExcel V3 User Guide Profiling Commands e 84 Profile Formulas and Functions This command allows you to profile and prioritize each unique formula on a worksheet and to analyze the functions used Use this to drill down on a problem worksheet or worksheet area to the formulas you need to change This command is not available when using the trial version of FastExcel Profiler You can use this analysis to determine which formulas and functions are volatile and which formulas ar
33. 2 1904 Accept Labels in Formulas This allows Excel to use natural language labels in formulas Because there are circumstances when this will give you unexpected or ambiguous results I recommend you do NOT use this feature FastExcel V3 User Guide FastExcel V3 Controlling Calculation e 54 FastExcel Settings Calculation Timers for buttons and keys Calculation Timer Settings V Calculation buttons timer IV Calculation keys timer You can control the FastExcel calculation time display separately for the calculate buttons and the calculate keys The calculate buttons are the buttons on the FastExcel toolbar and on the Excel Calculation Control Group of the FastExcel V3 Tab form When checked you will see a message box after the calculation showing the time taken by the calculation Range Calculate Settings Range Calculate Settings Set Number of RangeCalc Trials Range Calc inc Dependents EN Range Cak excl Dependents Include Screen Refresh Time Range Calc including or excluding Dependents In Excel 2007 and later there are 2 different Range calculate methods One includes within range dependency calculations and the other ignores within range dependencies and calculates row by row strictly left to right and top to bottom Range Calculate always ignores dependencies outside the selected range although the selected range will be expanded to include all the cells in multi cell array formulas Set Number of RangeCalc
34. 5199000001234567 TRUE 18 Is This a Mastercard number 5699000001234567 FALSE FastExcel V3 User Guide SpeedTools Extras Text Functions e 314 A B 55 Telephone Numbers 56 AW 2 W 2 9 0 9 2 W 57 Rgx ISLIKE A58 B 56 58 1 234 567 8901 TRUE 59 1 234 567 8901 x1235 TRUE 60 1 234 567 8901 Ext1234 TRUE 61 1 234 567 8901 TRUE 62 1 234 567 8901 TRUE 63 1 234 567 8901 TRUE 64 12345678901 TRUE 33 34 FAW 2 9 0 8 0 9 W 2 9 0 9 2 W 0 9 4 se2x7t d 35 Rgx ISLIKE A36 C 34 36 1 234 567 8901 TRUE 37 1 234 567 8901 x1234 TRUE 38 1 234 567 8901 ext1234 39 1 234 567 8901 40 1 234 567 8901 41 1 234 567 8901 12345678901 TRUE TRUE TRUE TRUE FALSE The Numbers are in A36 A42 stored as text The Regular Expression Pattern is in C34 The Rgx ISLIKE formula is copied down in each cell of C36 C42 You can also use Rgx ISLIKE as an array formula Rgx ISLIKE A36 A42 C34 would give the same results as the 7 individual formulas FastExcel V3 User Guide SpeedTools Extras Text Functions e 315 FastExcel V3 Help Ly Contextual 3 About 9 Speedup Help FXLV3 Help FastExcel Help FastExcel V3 User Guide FastExcel V3 Help e 316 Using FastExcel V3 with VBA When you need to integrate FastExcel V3 with your VBA code Calling SpeedTools functions from VBA The simplest way of calling SpeedTools functions from VBA is to use Application Run D
35. AMATCH2 Rgx AMATCHES2 and Rgx AMATCHNTH The Rgx Case AMATCH family of functions are multi threaded non volatile array functions Rgx Case AMATCH Family Syntax Rgx Case AMATCH2 RegExp Lookup_Table Not_Found Lookup_Columns MemType_Name The first 3 parameters are required the last 3 parameters are optional Rgx Case AMATCHES2 RegExp Lookup_Table Lookup_Columns The first 2 parameters are required the last parameter is optional Rgx Case AMATCHNTH RegExp Lookup_Table Not_Found Lookup_Columns Position The firs t2 parameters are required the last 3 parameters are optional Rgx Case AMATCH2 Rgx Case AMATCHES2 and Rgx Case AMATCHNTH return row number s within the range specified by Lookup_Table RegExp required Specifies the Regular Expression Pattern s to be matched against the value in the Lookup_Column s Can be a single Regular Expression or multiple Regular Expressions arranged in columns multiple lookup columns and rows multiple Lookup Rows A single Regular Expression can be a constant or a cell reference Multiple lookup Regular Expressione can be specified either as an array of constants or as a range referring to multiple cells There should be the same number of columns of Regular Expression values as there are columns in the Lookup_Columns When doing multi column lookups multiple columns of both lookup values and lookup columns the Rgx Case AMATCH functions will look for a row where ALL the l
36. B9 is empty but used because it is formatted COUNTUSEDROWS2 A1 gives 9 although column A is empty the last used range row is 9 COUNTCONTIGROWS2 counts the number of rows before the next empty cell COUNTCONTIGROWS2 B1 gives 3 always counts the referenced cell even if it is empty COUNTCONTIGROWS2 BS5 gives 4 COUNTCONTIGROWS2 A1 gives 1 Always counts the referenced cell even if it is empty COUNTBLANK counts the number of blank or empty cells COUNTBLANK B1 B10 gives 4 COUNTBLANK B1 B10 gives 10 COUNTROWS2 is faster than COUNTA when counting a single column Using the Count functions in dynamic range names The usual technique of using COUNTA in dynamic range names is difficult or impossible to use if e The range contains empty cells e There are multiple ranges above one another on the same sheet e The columns in the range can contain a different number of rows If the range can contains empty cells then COUNTA will not give the number of rows or columns in the range Using COUNTROWS2 will give the correct number of rows If you have multiple ranges stacked above one another on the same sheet but separated by blank rows it is difficult to use COUNTA Using COUNTCONTIGROWS2 can help in this situation provided that each range does not itself contain blank cells If the columns in the range can contain a different number of rows one approach to getting the total number of rows in the range is to use COUNTUSEDROWS2 but
37. Clean Workbook Clean workbook gives you a comprehensive set of tools for eliminating wasted space and maintaining your workbooks e View edit debug Formulas Edit and view complex formulas using a variety of indentation and selection methods Easy handling of embedded functions e Sheet Manager Sheet Manager provides an easy way of managing a large number of sheets in a workbook Name Manager Pro Name Manager Pro greatly simplifies management and maintenance of Excel Defined Names About the FastExcel User Guide and Optimizing Calculations Guide The FastExcel User Guide has 3 main sections e The Introduction provides you an overview of FastExcel e The Quick Start Guide gives you a fast way of getting started and seeing some results before you delve into the more intricate details e The remainder of the User Guide is a reference manual to all the features of FastExcel The companion Optimizing Excel Calculations and Memory guide has 4 main sections e Bottlenecks e Optimizing Tips and Tricks e Excel Calculation Information e Excel Memory All of this material is available both as online help FastExcel Help and Contextual help and as viewable and printable PDF manuals You can find the PDF manuals in the directory where FastExcel was installed usually C Program Files FastExcelV3 FastExcel V3 User Guide Overview of FastExcel e 18 Using FastExcel Profiling Quick Start and Drill down Wizard To make the
38. Columns are treated as AND When doing multi row lookups multiple rows of lookup values the Rgx AVLOOKUP functions will look for a row separately for each row of lookup values Rows are treated as OR A single Rgx AVLOOKUP2 or Rgx AVLOOKUPNTH statement will return the same number of rows and columns of result values as there are rows and columns in RegExp FastExcel V3 User Guide SpeedTools Lookups Lookup Functions e 244 Lookup_Table required The rectangular range of cells or array or expression yielding an array to be used for the lookup table The array range must resolve to a single contiguous rectangular array Answer_Columns required Specifies the column or columns in Lookup_Table that Rgx AVLOOKUP2 will return values from for the row or rows that are found in the lookup operation Can be a constant an array of constants or an expression that returns a range If Answer_Columns is an expression that returns a number it will be treated as column number s within Lookup_Table If Answer_Columns returns text this will be treated as column labels to be found in the first row of Lookup_ Table If the column labels are not found Rgx AVLOOKUP2 returns REF Not_Found optional defaults to N A Use this optional parameter to specify what to return if an exact match does not exist If the parameter is omitted the error value will be N A Lookup_Columns optional defaults to 1 Use this optional parameter when you want to
39. Credits Decision Models developed the Name Manager Pro component of FastExcel in collaboration with Jan Karel Pieterse jkpieterse jkp ads com Working with Name Manager Nm a Where Used Pro 2 Cleaner Name View Edit Sheet Reset NM Mgr Pro Formulas Manager FastExcel Manager FastExcel Name Manager Pro 4 3 Before xls Start Name Manager Pro using the Name Manager Pro button on the Manager group on the FastExcel ribbon tab Products _FilterDatabase Respondents _FilterDatabase Answers Product Answers SectorName DontKnowfactor MobPhones MobSpend Network OurPhones OurSpend ProductCount ProductData ProductData Addusers ProductData colProductSerial ProductData Level2001 ProductData LevelNow ProductData Pct2001 Products A 1 U 534 Products A 1 U 534 Respondents D 1 V 168 Answers A1 Answers B1 UniVerse C 7 OFFSET UniVerse D 14 0 0 CO OFFSET UniVerse E 14 0 0 COl UnivVerse G 7 OFFSET UniVerse G 14 0 0 CO OFFSET UniVerse H 14 0 0 CO COUNTA ProductNames A A OFFSET ProductData A 2 0 0 ProductData H1 OFFSET ProductData A 2 0 0 ProductData F1 ProductData D1 ProductData G1 E f Showing 135 of 135 names Edit the refers to formula for Products _FilterDatabase x a eo Bla B m e to e Am e ole e meme peH Choose name filters Name Scope Global Local to any sheet Local to active sheet xl Name type s And Or
40. Criteria2 optional You can give additional pairs of Criteria Column and Criteria All of the Criteria pairs given in a set must be True for a row of data from the Return Column to be included OR nSortedCriteria optional If you need alternative sets of criteria you can separate them with HOR nSortedCols A row will be selected from the Return Column if ANY of the alternative sets of Criteria are met The row will only be selected once if both alternative sets of criteria are met no double counting For Example CriteriaCol1 Criteria1 CriteriaCol2 Criteria2 HOR 1 CriteriaCol3 Criteria3 CriteriaCol4 Criteria4 A row will be selected from the Return Column if both criteria1 and Criteria2 are True OR both Criteria3 and Criteria4 are True Note that a Criterion can also contain a list of alternative conditions see above FastExcel V3 User Guide SpeedTools Filters Filtering Functions e 176 Combining FILTER IFS Criteria in Logical Combinations Default is AND By default ALL the criteria given must be met for a row to be included in the subset Multiple alternatives for a single column You can use criteria lists to give a number of alternative criteria for a single column OR Alternative Sets of Criteria Where you have alternative sets of criteria both Criterial and Criteria2 must be True OR both Criteria3 and Criteria4 must be True you can use OR to separate them More complex Logical Combina
41. Descending You can use a variety of options to sort and group the sheets in the workbook Filtered All the sheets that satisfy the filters will be sorted Selected Only the sheets that are actually selected within the Sheets box will be sorted All All the sheets in the workbook will be sorted Position the relative position of the chosen sheets will be maintained but the chosen sheets will be sorted next to one another into a group The position of the first chosen sheet will be unchanged Name the chosen sheets will be sorted by name Ascending the chosen sheets will be sorted ascending Descending the chosen sheets will be sorted descending When you click the Sort Workbook Sheets button the sheets will be sorted within the workbook Note Sorting sheets can take a long time with large workbooks FastExcel V3 User Guide Sheet Manager e 147 Choose Sheet Filters You can use a combination of filters to show only a subset of sheets in the sheets box Choose Sheet Filters And C Or J Invert fitters Visible Unprotected Worksheets Chartsheets MixMode Sheets v Filter sheet names like hist This combination of filters shows only sheets that are visible and unprotected and worksheets and whose name contains hist Seq MixMode Protected Visible Name Before 5 Book No Yes hist_curves 7 Book No Yes hist_data 8 Book No Yes bank_history 9 Book No Yes hist_loan 2
42. Excel 2000 that eliminates this 5461 values limit See Microsoft Knowledge Base article Q250828 FastExcel V3 User Guide SpeedTools Lookups Lookup Functions e 227 AVLOOKUP2 Examples A B C D E 1 Channel Sector Product Users Spend 2 Direct Defense SpaceCalls td 1015 3 Direct Mfg SpaceCalls 2 205 4 Retail Defense SuperPhone 10 100 5 Retail Mfg SuperPhone 200 1000 6 Direct Defense SuperPhone 5 150 Direct Mfg SuperPhone 80 1200 Approx Lookup ascending exact result These examples look for Superphone in column C and return the corresponding value from column E Approx match returns the last result that matches VLOOKUP superphone C2 E7 3 1200 AVLOOKUP2 superphone c2 e7 3 true 1200 AVLOOKUP2 superphone cl e7 spend asc 1200 Approx lookup ascending approx result These examples look for spacetime in column C but there is no spacetime so they find the row with the largest value less than spacetime and return the corresponding value from column E spacetime falls between SpaceCalls and Superphone so row 3 is the largest value less than spacetime VLOOKUP spacetime c2 e7 3 205 AVLOOKUP2 spacetime cl e7 spend 1 205 Exact match not sorted exact result These examples look for superphone in column C and return the corresponding value from column C Using AVLOOKUP2 you can either use the column number or the label o
43. Functions e 263 SpeedTools Logical Functions for Array Formulas Excel provides the AND and OR functions to allow you to specify multiple conditions in a Formula or IF statement But Excel s AND OR functions evaluate all of the given arguments parameters and return a single TRUE FALSE answer This makes them difficult to use in array formulas where you usually require a column row or array of True False answers SpeedTools provides a family of array formula friendly AND OR functions OR ROWS OR COLS OR CELLS AND ROWS AND COLS AND CELLS ALL ANY NONE The ROWS functions evaluate each row in the input arguments separately to provide a column of True False answers This is the most frequently used flavour for array formulas The COLS functions evaluate each column in the input arguments separately to provide a row of True False answers The CELL function evaluates each corresponding element in the input arguments separately to provide a 2 dimensional array of True False answers The functions can be nested together to provide complex logical array expressions The functions are non volatile multi threaded array functions Differences to Excel s AND OR functions SpeedTools Logical Functions Excel Logical Functions No True False results found False No True False results found Value Numeric Text lt gt 0 True Numeric Text lt gt 0 False Returns rows columns or arrays Returns a single True False
44. GROUPS 123 4567 2 returns 4567 the decimal point is not a numeric character so the second group of numbers is returned MaxChars Examples GROUPS A1 0 4 returns 4506 the rightmost 4 numbers of all the numbers GROUPS A1 1 2 returns 23 the rightmost 2 numbers from the first group of numbers GROUPS A1 1 99 returns 123 up to 99 numbers from the first group of numbers StartPos and EndPos Examples GROUPS A1 0 0 0 9 returns 506 GROUPS A1 0 0 0 9 13 returns 50 FastExcel V3 User Guide SpeedTools Extras Text Functions e 307 Rgx FIND function Searches a string or a rectangular array range for a substring that matches a regular expression pattern or a rectangular array range of patterns Returns the position or array of positions of the Nth substring matching the Regular Expression pattern Rgx FIND is a multi threaded non volatile array function Rgx FIND Syntax Rgx FIND String RegExp Nth Case_Sensitive The first 2 parameters are required the last 2 parameters are optional String required Constant range or array containing the string s to be searched for the Regular Expression Patterns RegExp required Specifies the Regular Expression s to be used when matching String If String is an array or a multi cell range then RegExp must contain a matching set same number of rows and columns as String of regular expressions Nth optional default 1 The start position of the Nth match of the substring
45. If you are happy with your selection press Next to go to Step 4 Dynamic Range Wizard Step 4 In Step 4 you choose the expansion method to use for the columns of your dynamic range or confirm the anchor selection and fixed columns if you are expanding only by row FastExcel V3 User Guide Dynamic Range Wizard e 123 Choosing the expansion method for the last column FastExcel Dynamic Range Wizard Step 4 of 5 Click Help to see details and advice for each method Step 4 Choose resizing method for the last column C Last contiguous non empty column C Last column in the used range C Count of non empty columns in anchor row Select the cell that will contain the number of columns Step 4a Choose rows for finding the last column Use only the anchor row to find the last column C Use all the Dynamic Range rows to find the last column Cancel lt lt Back Next gt gt Help Last non empty column Because this method finds the last visible cell it should be used with care on ranges that contain hidden columns or contain columns with zero width This method looks left from the last column to find the last visible non empty cell in a row This is the default re sizing method You can use this method even if your data contains blanks The last cell in a row is the last cell that contains any character including number or formula Empty cells that have been formatted are ignored See CO
46. Memory 2 628 119 8 821 3 6 oj oj 135 0 26 The actual FastExcel workbook summary output includes cell count column and calculation times These columns are not shown in the above figure e Total Memory K Total Memory Used by this Work Book K If the Workbook is shared FastExcel cannot determine the memory of an individual worksheet e Bytes per Cell Average of total memory used per cell Calculated as Total memory Bytes for all worksheets Total count of constants and formulae In Bytes e Waste Cells in the UsedRange Outside the last Row and Column containing data or formulas as a percentage of the cells in the usedrange e Sparse Sparseness of the UsedRange Cells inside the used range but not containing formulas or constants as a percentage of the used range e Pivot Cache K Memory Used by Pivot Table Caches in this workbook in K bytes e XLLinks Count The Number of Excel workbooks that are linked to by the profiled workbook e Names Count count of the defined Names in the workbook e Open Time Secs The time taken to reopen the workbook FastExcel V3 User Guide Profiling Commands e 81 Profile Worksheet Areas Details of the Formula areas on the Sheets a Profile Worksheet Areas Shows the Profile Header block and profiles each rectangular block of formulas and optionally each column and each block of rows on each of the selected worksheets This command is not available whe
47. The first value found will always be returned e 2 the Last Value found will always be returned e 3 All matches found will be returned Remarks Rgx AVLOOKUPS2 with one or more rows of Lookup_Values and Rgx AVLOOKUP2 or Rgx AVLOOKUPNTH with multiple rows of Lookup Values can return a variable number of rows depending on how many rows meet the lookup criteria So you should use them either in an array formula that returns multiple rows or embedded in functions like SUM AVERAGE etc that can handle arrays containing a variable number of results Rgx AVLOOKUPS2 Limits e Excel 2000 limits array functions like Rgx AVLOOKUPS2 to returning a maximum of 5461 values Rgx AVLOOKUPS2 returns Value when this limit is reached You should be careful when returning multiple rows that this limit will not be reached There is a registry change and fix for Excel 2000 that eliminates this 5461 values limit See Microsoft Knowledge Base article Q250828 FastExcel V3 User Guide SpeedTools Lookups Lookup Functions e 246 Rgx Case AVLOOKUP2 Rgx Case AVLOOKUPS2 amp Rgx Case AVLOOKUPNTH Functions Search for values in one or more columns of a table and return values from the rows where a match is found Advanced Lookup functions returning e either the first value found Rgx Case AVLOOKUP2 e orall the values found Rgx Case AVLOOKUPS2 e or the Nth value found Rgx Case AVLOOKUPNTH Rgx Case AVLOOKUP2 Rgx Case AVLOOKUPS2 and Rgx Case AVLOOKU
48. Trials Because RangeCalc timing can be sensitive to Windows multi tasking it is better to allow a number of trials The Median middle most calculation time will automatically be used thus discarding incorrectly high and low values You can set the number of trials the default number is 3 Include Screen Refresh Time If checked timings for Range Calculate will include the time used by Excel to refresh the visible window FastExcel V3 User Guide FastExcel V3 Controlling Calculation e 55 Lookup Memory Settings Lookup Memory Settings V Save Lookup Memory with Workbook Always Store Externally Clear Memory Count Lookup Memory Retrieve Memory FastExcel SpeedTools defaults to saving the Lookup Memory data in the workbook and restores the Lookup Memory when the workbook opens If you do not want to store the Lookup Memory you can switch of the save process by un checking the Save Memory with Workbook box If you want to force storing the Lookup Memory data externally to the workbook check the Always Store Externally box You can use this option in conjunction with the retrieve memory button to transfer lookup memory between workbooks Clear Memory clears the currently active Lookup Memory but does not delete it from an already saved workbook Count Lookup Memory shows you the number of lookup memory values by type Retrieve Memory tries to get Lookup Memory from the workbook and if there is no Lookup Memory stored withi
49. UNGON istoer aitan tiana REVERSE TEXT Function s es SPLIT TEXT FUNGUO nunana GROUPS FUNGON 20 eee eeseeeeeeneeeeeeneeeeeens Rgx FIND function 0 ececeeeseessseeeeeeesesenaeees Rgx LEN function ccccceeessesteeeeeeeessesssaeees Rgx SUBSTITUTE function Rgx MID function ssssssessssessssssreesrssssesereene COMPARE function sssssssssssesssssssrsesrrssrsressee ISLIKE2 array function for pattern matching strings Rgx ISLIKE function sseesseessssesesesnssssesereene FastExcel V3 Help Using FastExcel V3 with VBA FastExcel V3 User Guide Calling SpeedTools functions from VBA Measuring Macro execution time Timing User Defined Functions Using FastExcel V3 calculation methods from VBA MICROTIMER function eses MILLITIMER function STRCOLID function sseesesseesseeesesreesrresrrsses Using MICROTIMER from VBA FastExcel Version 3 e 15 Overview of FastExcel FastExcel gives you a wide variety of tools to analyze manage control and optimize the performance and memory usage of your workbooks These tools fall into the following groups FastExcel V3 Profiler Profiling tools to find performance bottlenecks and memory usage FastExcel V3 Profiler Timing Tools Drill down Wizard Profile Workbook Profile Worksheet Areas Profile Worksheet Formulas and Functions Range Calculate to time calculation of a small block of formulas Map Worksheet Sequence This command looks at the flow of calculations be
50. User Guide SpeedTools Filters Filtering Functions e 181 FILTER MATCH function FILTER MATCH returns pairs of numbers 1 based relative position and number of rows for each contiguous block of rows that meet the criteria FILTER MATCH should be entered as a 2 column multi row array formula using Ctrl Shift Enter The first column contains the relative position first row is 1 within the InputRange of the first row in the block that meets all the criteria The second column contains the number of rows in the contiguous block The number of pairs returned by FILTER MATCH is dependent on the data and the criteria being used The number pairs can be used by OFFSET to return the block of rows FILTER MATCH Syntax FILTER MATCH nsortedCols InputRange CriteriaColumn1 Criteria1 CriteriaColumn2 Criteria2 OR nsortedCols CriteriaColumnx Criteriax See FILTER IFS for definitions of the parameters for FILTER MATCH FILTER MATCH Example Use FILTER MATCH to find the start index and number of rows for oth CH_ Use the Output from FILTER MATCH PAD ARRAY 0 FILTER MATCH 0 CountryCityData toCity toCity H49 IF I49 0 INDEX CountryCityData 49 1 Criteria Start Row Row Count IF J49 gt 0 SUM OFFSET CountryCityData 49 1 5 J49 1 oth CH 30 4 F Total Value 434 4 AT 19231 1343 3 BE 1008 1748 12 cz 1811 2798 6 DE 7816 3392 6 DK 3243 3942 2 ES 3135 4236 10 FI 1480 5153 7 FR 3896 5795 3 GB 3750 6090 2 G
51. a worksheet and identifies the functions used that are volatile or single threaded Map Worksheet Cross References This analyzes the cross references between worksheets and optionally re sequences the worksheets to minimize forward cross references Note The Trial version of FastExcel Profiler will only profile a single worksheet using the Drill down Wizard The Profile Workbook Profile Worksheet and Profile Formulas commands are not available when using the trial version of FastExcel Profiler You can get Contextual Help on the output from the profiling commands either by right clicking a selected cell on the output sheet or by selecting a cell and pressing the FastExcel Contextual Help button Potential bottlenecks are highlighted in orange The sensitivity of the orange highlighting can be controlled by setting FastExcel s Orange Tolerance default 0 2 on the FastExcel Settings page Cell Highlight Orange sensitivity The profiling commands help you to document calculation options and generate timing statistics and memory usage details The profiling commands generate result worksheets into a separate workbook using sheets called e FastXLBookn The workbook profile results e FastXLSheetn the worksheet profile results e FastXLFuncsn the worksheet formulas and functions profile results FastExcel V3 User Guide Profiling Commands e 63 e FastXLPrecsn the worksheet cross reference map results Multiple profiles of a given t
52. a range reference or expression that returns a contiguous rectangular table of Lookup Values Result_Column required For a vertical Lookup_Array the column number or label in the header row in Lookup_Array from which the matching value should be returned The first column in Lookup_array is column 1 For a horizontal Lookup_Array the row number or label in the header column in Lookup_Array from which the matching value should be returned The first row in Lookup_array is row 1 If Result_Column is a string then Lookup_Array is assumed to contain a header row column to be searched for Result_Column If Result_Column cannot be found the function returns an error message Result Column not found in Header If Result_Column is a number then Lookup_Array is assumed NOT to contain a header row column FastExcel V3 User Guide SpeedTools Lookups Lookup Functions e 213 Sort_Type optional default 0 A number 1 0 or 1 indicating the sort sequence of Lookup_Array e 1 Sorted Descending e ONot Sorted e 1Sorted Ascending The default is 0 not sorted MemType_Name Optional Defaults to 2 Memory type for lookups can be 0 1 2 or 3 or a string that is used as the name for a memory e 3 Global Memory for Rows or Columns A single index is stored in global memory for each row vertical lookups or column horizontal lookups This global memory is super efficient and easy to use when you have more than one lookup formula on the same
53. a summary comparison of the features in Excel and SpeedTools Lookup functions Feature Excel VLOOKUP MEMLOOKUP AVLOOKUP family Sort Default Ascending Not Sorted Not Sorted Default Match Type Approx Exact Exact LinearSearch o T Yes e Ys T es SO Approx Binary Search Yes No Yes Exact Binary Search No Yes Yes Re usable Lookup Memory Row No Yes Yes Re usable Lookup Memory Col No Yes Yes Re usable Lookup Memory Cell No Yes Yes Multi Threaded Yes Yes Yes Horizontal Lookup HLOOKUP Option Vertical only Array Expression or Range Yes Ys Yes Lookup Any Column No No Yes Use Column Labels or Numbers No No Yes Multiple Lookup Columns AND No No Yes Multiple Lookup Rows OR No No Yes Multiple Answer Columns No No Yes Return First Last or Nth Match No No AVLOOKUPNTH 2 Dimensional Lookup INDEX INDEX Yes Return All Matches No No AVLOOKUPS2 No Match Error handling IFERROR IFERROR Built in option Compare Lists V Slow Faster Super Fast COMPARE LISTS Wild Card Text Match Yes Yes Yes Case Sensitive Match No No Case AVLOOKUP2 Regular Expression Text Match No No Rgx AVLOOKUP2 FastExcel V3 User Guide SpeedTools Lookups Lookup Functions e 207 Better Safer Lookup Defaults All the SpeedTools lookup and match functions default to unsorted exact match since that is the safest option Excel s VLOOKUP and MATCH defaul
54. automatic or manual calculation for normal sheets but only request calculation calculate specified MixMode sheets when you need to You can use mixed mode at the same time as Active Workbook mode e You can choose which worksheets to designate as MixMode sheets e MixMode worksheet settings are stored with the workbook and persist between Excel sessions e You can use default settings or customize the settings e MixMode worksheets can be combined with the new calculate active workbook only mode and the ability to set calculation mode by workbook Mixed Mode default settings If Active Workbook Mode is ON then only the active workbook is calculated if Active Workbook Mode is OFF then all open workbooks are calculated When you use FastExcel s default MixMode settings Excel calculates as follows e In automatic calculation mode MixMode sheets are not recalculated automatically e F9 or the Calculate button will not recalculate MixMode worksheets e Ctrl Shift F9 or the Calculate MixMode Sheets button will recalculate the workbook s including MixMode sheets e Shift F9 or the Calculate Sheet s button will calculate all the selected sheets including any selected MixMode sheets If in automatic mode the workbook s will then also be recalculated e Ctrl Alt F9 or the Full Calculate Button will calculate all formulas on all sheets in all workbooks including MixMode sheets Controlling Mixed Mode Settings Mixed Mode Options Cal
55. best of the Drill down wizard it s a good idea to read some background material on profiling Excel calculations Do you know why your spreadsheet is slow e Which of your worksheets is using the calculation time e Which of your formulas is using the calculation time e Do you have too many volatile formulas e Where are your volatile formulas e Are your lookups or array formulas running slow e Are you properly exploiting Excel s multi threaded calculation engine e Have you got a memory usage problem e Oraused range problem e Do you need better control of what gets recalculated e How much of your time is each of these problems taking Find out why then fix it with FastExcel Speed up Excel with e Drill down and locate your calculation bottlenecks FastExcel V3 e Prioritize bottlenecks by time consumption e Find out how volatility is affecting your calculation time e Measure your multi threaded efficiency and locate the functions that are not multi threaded e Solve calculation problems with SpeedTools fast functions e Build efficient spreadsheets e Document and compare calculation efficiency and memory usage e Time your User Defined Functions e Compare alternative Excel formulas FastExcel V3 User Guide Using FastExcel Profiling Quick Start and Drill down Wizard e 19 How FastExcel V3 helps you run Excel faster You can speed up your Most slow running spreadsheets contain a small number of problem Spre
56. calculation and once without so that the multi threaded calculation efficiency of each sheet can be determined Profile Worksheet Volatility If checked each worksheet will be calculated once using smart Recalc and once using Full Calculation so that the worksheet volatility can be determined Profile Worksheet Sparseness If checked the number of cells containing constants will be counted and the sparseness of the real used range will be calculated Profile the workbook itself If switched off the workbook itself will not be profiled Profile Multi threaded Calculation if checked the workbook will be calculated once using MTC and once without so that the multi threaded calculation efficiency of the workbook can be determined Profile Workbook Volatility If checked the workbook will be calculated once using smart Recalc and once using Full Calculation so that the workbook volatility can be determined Events during Calculation Profile Workbook will by default attempt to prevent VBA events from occurring during the timed calculations If your workbook contains event handling VBA code you should consider whether to include or exclude it when running Profile Workbook Set Warning Tolerance a larger tolerance number reduces the number of orange warnings produced FastExcel V3 User Guide Profiling Commands e 73 Profile Workbook produces information in several tables e Excel and Workbook environment information and calculation options e Work
57. cells with the same Style or Number Format or direct precedents Go Back reverses the last GoTo Calculation Timing Commands e 61 Getting Consistent Results from FastExcel V3 Timing Sometimes you will find that your FastExcel timing results are not repeatable even though FastExcel measures elapsed time using a high resolution timer with microsecond accuracy Power Saving and Dual Core Intel and AMD processors Power saving features particularly on dual core processors may dynamically vary the speed of your processor This can create problems for consistent timings using the high resolution timer If timing consistency is important try switching off the power saving features of your processor Excel minimizes the number of calculations When Excel calculates it remembers e Which cells have been calculated e The optimum calculation path used for the final answer The second calculate is So the next time Excel calculates it can save time by often much faster than the first e Only calculating the cells that have changed or depend on cells that have changed e Re using the last calculation path Why FastExcel Timing results may vary from run to run Both Excel and Windows Both Excel and Windows try to optimize performance by storing recent cache information to speed information in memory This includes the calculation path used by the up subsequent operations most recent calculation F gt So Excel s second calcu
58. control which column s in Lookup_Table to use for the lookup The default value is 1 the first column in Lookup_ Table If the values are numeric they will be treated as column numbers if alphabetic they will be treated as column labels to be found in the first row of Lookup_Table If there is more than one column given then there must be a matching set of values given in the columns of RegExp Multiple columns can be given either as an array of constants or as a range reference MemType_Name Optional Defaults to 2 Rgx AVLOOKUPZ2 only Memory type for lookups can be 0 1 2 or 3 or a string that is used as the name for a memory e 3 Global Memory for Rows or Columns A single index is stored in global memory for each row vertical lookups or column horizontal lookups This global memory is super efficient and easy to use when you have more than one lookup formula on the same row looking up different columns in a Table This global memory works across all worksheets in all open workbooks e 2 Book Sheet Row Memory If you are using different Lookup Tables on different worksheets but still want to have more than one lookup formula on a row looking up different columns in the same table you can use this option which stores the row memory separately for each Workbook worksheet e 1 Book Sheet Cell Memory If you are using multiple Lookup Tables formulas in different cells on the same sheet and the same row you should use this option which stor
59. data Use True to find an exact march with sorted data and return N A if not found An exact match on sorted data is much more efficient than an exact match on unsorted data If a value of anything other than False is specified it will indicate that an exact match is to be done even with sorted data and the value given specifies the value to be returned if no exact match can be found If True is specified or the parameter is omitted the error value will be N A Lookup_Columns optional defaults to 1 Use this optional parameter when you want to control which column s in Lookup_Table to use for the lookup The default value is 1 the first column in Lookup_Table If the values are numeric they will be treated as column numbers if alphabetic they will be treated as column labels to be found in the first row of Lookup_Table If there is more than one column given then there must be a matching set of values given in the columns of Lookup_Values Multiple columns can be given either as an array of constants or as a range reference FastExcel V3 User Guide SpeedTools Lookups Lookup Functions e 237 MemType_Name Optional Defaults to 2 AMATCHZ only Memory type for lookups can be O 1 2 or 3 or a string that is used as the name for a memory 3 Global Memory for Rows or Columns A single index is stored in global memory for each row vertical lookups or column horizontal lookups This global memory is super efficient and easy to
60. data 50 of data is results randomly selected from unsorted input data performance will be comparable to or slightly worse than SUMPRODUCT Efficient handling of full column criteria Processing is restricted to the used range rather than explicitly checking every row in the column Give Multiple criteria ability to other Excel Functions and UDFs You can embed the FILTER IFS functions inside virtually any built in or UDF function that can handle a Range as input This extends multi criteria function to an incredible range of functions for example LISTDISTINCTS COUNTDISTINCTS MAX MIN SUM COUNT COUNTA AVERAGE MEDIAN MODE LARGE INDEX VAR RANK Built in OR to eliminate double counting Sets of Criteria can be separated by OR The results from multiple sets of criteria are OR together but never double counted as can happen when using SUMPRODUCT SUMPRODUCT Use Lists for alternate criteria Where you have multiple possible criteria for a single column FRUIT can be Apples Oranges or Pears you can use either a reference to a Range containing the alternatives or an array of constants You can even use different conditions for each element in the List MonthNumber 2 or gt 8 Lists can be inclusion or exclusion lists Wild Card and Regular Expression pattern matching criteria You can use wild card and regular expression patterns for string criteria The patterns can look for combinations of characters and nu
61. done with unsorted data A value of False means that an approximate match will be found with sorted data Use True to find an exact march with sorted data and return N A if not found An exact match on sorted data is much more efficient than an exact match on unsorted data If a value of anything other than False is specified it will indicate that an exact match is to be done even with sorted data and the value given specifies the value to be returned if no exact match can be found If True is specified or the parameter is omitted the error value will be N A Lookup_Columns optional defaults to 1 Use this optional parameter when you want to control which column s in Lookup_Table to use for the lookup The default value is 1 the first column in Lookup_Table If the values are numeric they will be treated as column numbers if alphabetic they will be treated as column labels to be found in the first row of Lookup_Table If there is more than one column given then there must be a matching set of values given in the columns of Lookup_Values Multiple columns can be given either as an array of constants or as a range reference FastExcel V3 User Guide SpeedTools Lookups Lookup Functions e 241 MemType_Name Optional Defaults to 2 CASEAAMATCHZ2 only Memory type for lookups can be 0 1 2 or 3 or a string that is used as the name for a memory 3 Global Memory for Rows or Columns A single index is stored in global memory for each
62. for you depends recalculated at every on how much of the input data changes each time you want to calculate calculation the workbook and how many volatile formulas you have FastExcel V3 Profiler will measure the volatility of each worksheet and can identify which built in and XLL based functions are volatile For example if you are doing a monthly budget variance analysis each month most of the input data will change and almost all the formulas will need to be recalculated But if you are doing a what if analysis on a cash flow model then you may change only a single input number that will cause only a small number of the formulas to be recalculated If possible you should decide which of these two scenarios is the most likely for your workbook because it can significantly affect which part of your FastExcel Profiling analysis is most significant for you and also the methods you use to optimize your workbook calculations Multi Threaded Calculation What and Why In Excel 2007 the Excel calculation engine was rewritten to use all the available copus cores in your PC This method of multi threaded calculation can have a dramatic effect on your Excel calculation times on a 4 core PC a well designed workbook can run up to 4 times faster than with single threaded calculation But some worksheet functions all VBA user defined functions and many add in library functions are single threaded and so will seriously slow down calculation FastEx
63. global memory for each row vertical lookups or column horizontal lookups This global memory is super efficient and easy to use when you have more than one lookup formula on the same row looking up different columns in a Table This global memory works across all worksheets in all open workbooks e 2 Book Sheet Row Memory If you are using different Lookup Tables on different worksheets but still want to have more than one lookup formula on a row looking up different columns in the same table you can use this option which stores the row memory separately for each Workbook worksheet e 1 Book Sheet Cell Memory If you are using multiple Lookup Tables formulas in different cells on the same sheet and the same row you should use this option which stores the memory separately for each cell e 0 Donot use Lookup memory e Named Memory If you give a text string instead of a number it will be used as a named memory You can have many named memories in use at the same time usually one for each Lookup Table Each named memory works by row across all sheets within a workbook so is the best choice when you have o More than one memory lookup referring to different lookup tables within a single formula o More than one memory lookup referring to different lookup tables in different cells on the same row and these lookups are repeated on the same row in multiple sheets If this option is not zero then MEMMATCH will first check to see if the index sto
64. lookup Regular Expression patterns are matched in the corresponding columns Columns are treated as AND When doing multi row lookups multiple rows of lookup values the Rgx Case AVLOOKUP functions will look for a row separately for each row of lookup values Rows are treated as OR A single Rgx Case AVLOOKUP2 or Rgx Case AVLOOKUPNTH statement will return the same number of rows and columns of result values as there are rows and columns in RegExp FastExcel V3 User Guide SpeedTools Lookups Lookup Functions e 247 Lookup_Table required The rectangular range of cells or array or expression yielding an array to be used for the lookup table The array range must resolve to a single contiguous rectangular array Answer_Columns required Specifies the column or columns in Lookup_ Table that Rgx Case AVLOOKUP2 will return values from for the row or rows that are found in the lookup operation Can be a constant an array of constants or an expression that returns a range If Answer_Columns is an expression that returns a number it will be treated as column number s within Lookup_ Table If Answer_Columns returns text this will be treated as column labels to be found in the first row of Lookup_ Table If the column labels are not found Rgx Case AVLOOKUP2 returns REF Not_Found optional defaults to N A Use this optional parameter to specify what to return if an exact match does not exist If the parameter is omitted the error value
65. more rows of Lookup_Values and Case AVLOOKUP2 or Case AVLOOKUPNTH with multiple rows of Lookup Values can return a variable number of rows depending on how many rows meet the lookup criteria So you should use them either in an array formula that returns multiple rows or embedded in functions like SUM AVERAGE etc that can handle arrays containing a variable number of results Case AVLOOKUPS2 Limits e Excel 2000 limits array functions like Case AVLOOKUPS2 to returning a maximum of 5461 values Case AVLOOKUPS2 returns Value when this limit is reached You should be careful when returning multiple rows that this limit will not be reached There is a registry change and fix for Excel 2000 that eliminates this 5461 values limit See Microsoft Knowledge Base article Q250828 FastExcel V3 User Guide SpeedTools Lookups Lookup Functions e 235 AMATCH2 AMATCHES2 amp AMATCHNTH functions Search for values in one or more columns of a table and return the relative position of the row s where a match is found Advanced MATCH functions returning e either the relative position of the first value found AVMATCH2 e or the relative position of all the values found AVMATCHES2 e or the relative position of the Nth value found AMATCHNTH These functions are similar to the AVLOOKUP2 AVLOOKUPS2 and AVLOOKUPNTH functions except that they return relative row numbers rather than values These functions are NOT case sensitive The AMATCH fu
66. or a one or two dimensional range If the dimensions of the two input arguments do not match the smaller dimension will be wrapped for example ISLIKE2 Fred7 3 5 7 compares Fred7 to each of 3 5 7 in turn and returns False False True ISLIKE2 Examples True ISLIKE2 aBBBa a a True ISLIKE2 BAT123khg B T False ISLIKE2 CAT123khg B T FastExcel V3 User Guide SpeedTools Extras Text Functions e 313 Rgx ISLIKE function Tests whether a string matches a Regular Expression Pattern Rgx ISLIKE is a multi threaded non volatile array function Rgx ISLIKE Syntax Rgx ISLIKE String RegExp Case_Sensitive The first 2 parameters are required the last parameter is optional String required Text to be matched by the Regular Expression Pattern RegExp required Specifies the Regular Expression to be used when matching the String Case_Sensitive optional TRUE to make the pattern matching case sensitive The default is FALSE Rgx ISLIKE Examples A 1 4 2 Emails 3 Rgx ISLIKE A4 B 2 4 Charles DecisionModels com TRUE 5 abcd xyz fred co uk TRUE 6 4 7 MasterCard Number rr ee E A Rgx ISLIKE A9 B 7 9 5499000001234567 TRUE 10 5199000001234567 TRUE 11 5699000001234567 FALSE 12 549900000123456 FALSE 13 14 MasterCard number in the String re 15 Rgx ISLIKE A16 B 14 TRUE 16 Mastercard number 5499000001234567 TRUE 17 Is This a Mastercard number
67. row as in the previous calculation provided it still matches the Lookup_Value Case AMATCHES2 with one or more rows of Lookup_Values and Case AMATCH2 or Case AMATCHNTH with multiple rows of Lookup Values can return a variable number of rows depending on how many rows meet the lookup criteria So you should use them either in an array formula that returns multiple rows or embedded in functions like SUM AVERAGE etc that can handle arrays containing a variable number of results Case AMATCH2 and Case AMATCHES2 Limits e Excel 2000 limit array functions like Case AMATCH2 to returning a maximum of 5461 values Case AMATCHES2 returns Value when this limit is reached You should be careful when returning multiple matches that this limit will not be reached There is a registry change and fix for Excel 2000 that eliminates this 5461 values limit See Microsoft Knowledge Base article Q250828 FastExcel V3 User Guide SpeedTools Lookups Lookup Functions e 243 Rgx AVLOOKUP2 Rgx AVLOOKUPS2 amp Rgx AVLOOKUPNTH Functions Uses Regular Expressions to search for values in one or more columns of a table and return values from the rows where a match is found Advanced Lookup functions returning e either the first value found Rgx AVLOOKUP2 e orall the values found Rgx AVLOOKUPS2 e or the Nth value found Rgx AVLOOKUPNTH Rgx AVLOOKUP2 Rgx AVLOOKUPS2 and Rgx AVLOOKUPNTH are NOT case sensitive These functions are the Regular Expressi
68. row looking up different columns in a Table This global memory works across all worksheets in all open workbooks e 2 Book Sheet Row Memory If you are using different Lookup Tables on different worksheets but still want to have more than one lookup formula on a row looking up different columns in the same table you can use this option which stores the row memory separately for each Workbook worksheet e 1 Book Sheet Cell Memory If you are using multiple Lookup Tables formulas in different cells on the same sheet and the same row you should use this option which stores the memory separately for each cell e 0 Do not use Lookup memory e Named Memory If you give a text string instead of a number it will be used as a named memory You can have many named memories in use at the same time usually one for each Lookup Table Each named memory works by row across all sheets within a workbook so is the best choice when you have o More than one memory lookup referring to different lookup tables within a single formula o More than one memory lookup referring to different lookup tables in different cells on the same row and these lookups are repeated on the same row in multiple sheets If this option is not zero then MEMLOOKUP will first check to see if the index stored in memory that gave the answer the last time the MEMLOOKUP was calculated still gives the correct answer If it does then MEMLOOKUP will return that answer without doing any more pro
69. second B is position 1 third C is position 2 fourth D is position 4 Case Sensitive Sort The locale dependent SORTs have both case sensitive and case insensitive versions Binary Sorts are always case sensitive l J K L M N B a a A a a b A A B A A a B b a B b A b B b b B VSORTC is not case sensitive so the relative positions of the equivalent upper and lower case letters is preserved from the original sequence Case VSORTC is case sensitive and sorts lower case before upper case in the same way as Excel e VSORTB is also case sensitive but sorts upper case before lower case this sequence is dependent on the code page and character set being used FastExcel V3 User Guide SpeedTools Filters Sorting Functions e 200 VSORTC Dynamic text collating Sort of a vertical range or array This function sorts a vertical array or a range containing one or more columns The sort is NOT case sensitive and is done using a locale based text collating sequence which respects national language characters The output sequence will be the same as a non case sensitive EXCEL SORT VSORTC is a non volatile multi threaded multi cell array function VSORTC Syntax VSORTC theInputData SortColumn1 SortColumnz SortColumn15 The first parameter is required all other parameters are optional The output from VSORTC will be a vertical sorted array The number of rows sorted and output will be the smaller of the number of rows in the input data an
70. single value or multiple values arranged in columns lookup in multiple lookup columns and rows return multiple answer Rows A single value can be a constant or a cell reference Multiple lookup values can be specified either as an array of constants or as a range referring to multiple cells There should be the same number of columns of lookup values as there are columns in the Lookup_Columns When doing multi column lookups multiple columns of both lookup values and lookup columns the Case AVLOOKUP functions will look for a row where ALL the lookup values are matched in the corresponding columns Columns are treated as AND When doing multi row lookups multiple rows of lookup values the Case AVLOOKUP functions will look for a row separately for each row of lookup values Rows are treated as OR A single Case AVLOOKUP2 or Case AVLOOKUPNTH statement will return the same number of rows and columns of result values as there are rows in Lookup_Values and columns in Answer_Columns Lookup_Values can contain the wildcard characters and for exact matches on unsorted text data To find actual question marks or asterisks add a tilde preceding the character FastExcel V3 User Guide SpeedTools Lookups Lookup Functions e 232 Lookup_Table required The rectangular range of cells or array or expression yielding an array to be used for the lookup table The array range must resolve to a single contiguous rectangular array Answer_Colu
71. smallest value that is greater than or equal to lookup value 1 The first value found will always be returned 2 the Last Value found will always be returned 3 All matches found will be returned FastExcel V3 User Guide SpeedTools Lookups Lookup Functions e 226 Remarks AVLOOKUPZ2 returns the first row that it finds which meets these criteria e Sorted Ascending the largest value that is less than or equal to Lookup_Value e Sorted Descending the smallest value that is greater than or equal to Lookup_ Value e Not Sorted The first row containing a value equal to Lookup_Value except when using the built in memory function In this case AVLOOKUP2 will return the same row as in the previous calculation provided it still matches the Lookup_Value AVLOOKUPS2 with one or more rows of Lookup_Values and AVLOOKUP2 or AVLOOKUPNTH with multiple rows of Lookup Values can return a variable number of rows depending on how many rows meet the lookup criteria So you should use them either in an array formula that returns multiple rows or embedded in functions like SUM AVERAGE etc that can handle arrays containing a variable number of results AVLOOKUPS2 Limits e Excel 2000 limits array functions like AVLOOKUPS2 to returning a maximum of 5461 values AVLOOKUPS2 returns Value when this limit is reached You should be careful when returning multiple rows that this limit will not be reached There is a registry change and fix for
72. sorted array The number of rows sorted and output will be the smaller of the number of rows in the input data and the number of rows in the used range The number of columns will be the number of columns in the input data ThelnputData required The data to be sorted given as a vertical array of constants or a calculated range or a range The range or array can contain as many columns as required SortColumnz1 SortColumn15 optional Gives the index column number s of the columns to be used as sort keys Up to 15 sort keys can be specified Positive column numbers will be sorted ascending and negative column numbers will be sorted descending You can have both positive and negative numbers in the same function call 1 denotes the first column in the input data If all Sort Column parameters are omitted all columns in the input data will be used as ascending sort keys VSORTB Examples VSORTB A C will sort column A to C ascending using the minimum of the number of rows in the used range and the number of rows in the multi cell array formula that contains VSORTB If the formula containing VSORTB is only entered into a single cell then VSORTB will return the number of rows in the used range e VSORTB 4 3 1 2 returns a single row with 4 columns containing 4 3 1 2 the input data is a single row e VSORTB 4 3 1 2 returns a column with 4 rows containing 1 2 3 4 e VSORTB A1 C100000 1 2 will return 100000 rows by 3 columns
73. style to be used the next time you start the Formula Editor Viewer The initial default setting is 4 Scroll GoTo If checked all GoTo actions will scroll so that the range that is selected as the result of the GoTo is visible If the GoTo range is already visible in the window that contains the GoTo range no scrolling occurs Otherwise the window is scrolled so that the current region containing the GoTo range is in the upper left corner of the window Unhide Hidden GoTos If checked and the GoTo range is hidden it will be unhidden FastExcel V3 User Guide Indenting Formula Viewer Editor and Debugger V2 e 140 Evaluate and Description Settings These settings control evaluation of the selected sub expression in the formula box Evaluate and Description Box Settings V Auto Evaluate V Time Evaluation Max Evaluated Rows Cols to show 200 V Show Formulas in Local language V Show Short Function Description IV Show Function Types Auto Evaluate When checked every time the selection changes in the Formula Box the selected sub expression is evaluated This can be slow Note Right Clicking the mouse causes the selection to be evaluated Time Evaluation when checked the approximate time to evaluate the sub expression is shown Max Evaluated Rows Cols to show when a sub expression results in a large number of rows or columns this setting controls the maximum number shown in the Evaluate Box and the maximum number substituted into
74. test123456 Validation Formula Cell L 1 test123456 Sheet2 OLE object ControlfxListBox1 on Sheet2 LinkedCell test123456 Control Drop Down 130 on Sheet2 ListFillRange test123456 Sheet2 E 9 test123456 Close Refresh Button In XL 2003 and up the Name manager s form is shown Modeless and you can switch to Excel without closing the name manager s window To make sure the name manager is up to date press this button after doing edits in your workbook while the name manager is showing FastExcel V3 User Guide Name Manager Professional e 110 GoTo button gt Clicking this button with a Name selected or double clicking a Name in the Names Listbox will cause Excel to switch to the workbook and worksheet and referred to range of the Name GoTo will have no effect for Names such as Names containing Formulas or referring to ranges in closed workbooks GoBack button Clicking this button will GoTo the Name that was last Gone To Renaming a Name Al You can change the name of a name or table by clicking the Rename Button or hitting F2 to bring up this dialog box FastExcel Name Manager 42 Please enter a new name for this name Products UnName This button converts selected Tables and Names back to ranges About Button o The About button shows the current version and build number of the component and the developers of Name Manager FastExcel V3 User Guide Name Manager Professional e 111 D
75. that are useable by the VBA Like function FastExcel V3 User Guide Sheet Manager e 149 SpeedTools Overview The heart of Excel is its calculation engine With FastExcel SpeedTools you can calculate what you need when you need faster e Powerful faster calculating functions to unblock your calculation bottlenecks e New Calculation methods and modes give you greater control of calculation e FastExcel high resolution timers so that you can accurately compare and contrast the calculation performance of your formulas UDFs worksheets and workbooks SpeedTools consists of 4 separate products e SpeedTools Calc contains all the additional Calculation methods and controls e SpeedTools Lookups contains Lookup Reference and Compare Lists functions e SpeedTools Filters contains the Filtering Sorting and List Distincts functions e SpeedTools Extras contains the Logical Array Text and Match functions SpeedTools Lookups Filters and Extras contain a bundled version of Calc SpeedTools Premier Bundle is a bundle of all 4 SoeedTools products FastExcel V3 User Guide SpeedTools Overview e 150 High Performance High Power Functions Eliminate LOOKUP SUMPRODUCT and Array Formula Bottlenecks Two major Excel calculation bottlenecks are Lookup functions and multiple condition array formulas or their SUMPRODUCT equivalents FastExcel SpeedTools now has the solution to many of these bottlenecks with the AVLOOKUP2 and FILTER IFS families of high
76. the last row in the used range less rows 1 3 FastExcel V3 User Guide SpeedTools Extras Information Functions e 293 COUNTCOLS2 Function The COUNTCOLS2 function counts the number of columns before the last visible non empty cell in the referenced row COUNTCOLS2 Syntax COUNTCOLS2 theRows TheRows A range reference to a cell or cells in the rows whose columns are to be counted COUNTCOLS2 counts the number of columns including blanks and empty cells across to the right to the last visible non empty cell The count includes the first column of the referenced cell If theRows refers to more than one adjacent row then the count gives the largest column count found for the rows COUNTCOLS2 Remarks COUNTCOLS2 is a volatile function If the reference specified for theRows contains more than one column the first column will be used If the reference specified for theRows contains more than one row the last non empty column in each row will be found and the largest column count will be returned COUNTCOLS2 uses the same criteria as Ctrl Left Arrow to detect empty cells The last column found is equivalent to selecting the last column in the worksheet and pressing Ctrl Left except that it will stop at the cell specified by theRows COUNTCOLS2 will return 1 if the cell specified by theRows is empty and there are no other non empty cells to the right of theRows A cell that contains nothing but is formatted is treated as an empty cell
77. the styles are being used FastExcel V3 User Guide Clean Workbook e 97 Selecting one of the count cells in the map for instance the 169 TrueFalse on sheet 2Funding and clicking the FastExcel Golo button A Calc Range f ReCalc Books bo Time Macro j ReCalc Sheet amp Full Calculation gt GoTo the cells using that style selected Calculation z g Y FullCalc Sheet MixMode Recalc Go Back will show you that sheet with all This makes it easy to change or Options FastExcel Calculation Control remove styles Remove Unused Number Formats The Screen Flicker you see Selecting this option will delete any custom number formats which are not is expected currently in use excluding the built in number formats The screen will flicker for several seconds as FastExcel scans the available number formats The technique used to find Because the Excel object model does not provide any standard method of the number formats in the accessing the number formats in a workbook FastExcel uses a method workbook is based ona developediby teo H f ing Excel ber F ts Listb evelope eo Heuser of accessing Excel s number Formats Listbox usin method developed by Leo P y g 8 Sendkeys Heuser and is used in FastExcel with his kind permission Map Number Formats 659 0 0 0 0 256 0 0 0 0 26 8 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 20 5 0 0 0 15 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1188 3 19 1
78. this may overestimate the number of rows in the range and will not work if you have vertically stacked ranges A better approach is to tell COUNTROWS2 or COUNTCONTIGROWS2 to look for the last row in multiple columns theColumns refers to a range which is a single row spanning multiple columns In this case the functions will return the largest row count found by evaluating each column in turn Similar remarks apply to the COUNTCOLS2 and COUNTCONTIGCOLS2 functions FastExcel V3 User Guide SpeedTools Extras Information Functions e 299 SpeedTools Extras Text Functions CONCAT RANGE Concatenate cell values to a string using delimiters FastExcel V3 User Guide PAD TEXT REVERSE TEXT SPLIT TEXT GROUPS Rgx FIND Rgx LEN Rgx SUBSTITUTE Rgx MID COMPARE ISLIKE2 Rgx ISLIKE Expand Contract text strings to a fixed length Reverse the characters in a Text string Splits text into tokens using delimiters Extracts groups of characters digits strings etc from a Text string Find the position of a Regular Expression pattern within a text string Finds the length of the substring that matches a Regular Expression pattern Replaces substring s that match Regular Expression patterns Extracts substring s that match Regular Expression patterns Compares 2 values using the same collating sequence as Excel s SORT Compares a string to a wild card expression Compares a string to a regular expression pattern SpeedTool
79. to delete them Show refersto Check this box to have the name manager show the refersto properties next to the names listing R1C1 Notation Repair corrupt names by Toggles between R1C1 and A1 worksheet reference style Same as in Tools clicking the R1C1 names Options General tab Please note that this is a permanent change it stays in checkbox twice effect after closing the name manager This checkbox may also be used to repair corrupt names in any workbook Simply click it twice and you will be prompted to rename any corrupt name Icons Check this box to show Icons for the Name manager Action buttons al xajm e m e aa ce gt e SIG AI oe Uncheck this box to show Buttons FastExcel V3 User Guide Name Manager Professional e 114 Language dropdown English v Dansk Deutsch Fran ais Nederlands Portugu s Brazil Svenska Suomi finnish Espa ol Choose one of the available languages After pressing OK this language will be used in all messages and on all user forms Name Manager and the VBE With version 4 1 we ve introduced a new nifty tool a toolbar with a dropdown with range names to pick from in the Visual Basic Editor RangeNamel RangeNamel 1 RangeName1z oh RangeName12 2 funcres ERTA 8 NameMeRangeName3 RangeNamet proj ut RangeNameS BAProj RangeName6 E S MicrojRangeName7 AB 5 RangeNames ha 1a tet mm
80. to property FastExcel V3 User Guide Name Manager Professional e 105 Name Manager Action Buttons o x H o w o Bla m nm 4 Mio sie ale amp Hide Unhide Buttons al w Hides or un hides the selected name s With one name selected only the button that applies is enabled with more than one name selected both buttons are enabled Tables cannot be hidden Add Button Opens the Add Name form see below Delete Button Deletes the selected names Tables cannot be deleted by Name Manager List Button Creates a new worksheet in the workbook with a listing of names in the workbook with all of their properties You will be asked whether or not to use the filters set up in the dialog to filter the names to be listed Tables are not included Pickup Button This button is only enabled when the Name Manager finds a worksheet named according to this scheme Names yyyy mmm dd A sheet by that name will be created automatically by clicking the List button The button picks up the selected names from the names listing that has been created by the List Button You can edit the names list not the names themselves but their refersto property and their visible property you can even add new names to this listing be sure to include the refersto and visible property the other properties can be omitted All selected rows of this listing will be picked up Note that the values of the cells will be used to create
81. will be N A Lookup_Columns optional defaults to 1 Use this optional parameter when you want to control which column s in Lookup_Table to use for the lookup The default value is 1 the first column in Lookup_ Table If the values are numeric they will be treated as column numbers if alphabetic they will be treated as column labels to be found in the first row of Lookup_Table If there is more than one column given then there must be a matching set of values given in the columns of RegExp Multiple columns can be given either as an array of constants or as a range reference MemType_Name Optional Defaults to 2 Rgx Case AVLOOKUP2 only Memory type for lookups can be 0 1 2 or 3 or a string that is used as the name for a memory e 3 Global Memory for Rows or Columns A single index is stored in global memory for each row vertical lookups or column horizontal lookups This global memory is super efficient and easy to use when you have more than one lookup formula on the same row looking up different columns in a Table This global memory works across all worksheets in all open workbooks e 2 Book Sheet Row Memory If you are using different Lookup Tables on different worksheets but still want to have more than one lookup formula on a row looking up different columns in the same table you can use this option which stores the row memory separately for each Workbook worksheet e 1 Book Sheet Cell Memory If you are using multiple Lookup
82. 1 to 6 VECTOR 1 6 1 FALSE returns a column containing 1 to 6 VECTOR 6 1 1 FALSE returns a column containing 6 to 1 VECTOR 6 1 1 FALSE returns a column containing 6 to 1 VECTOR 3 2 1 FALSE returns a column containing 3 to 2 VECTOR 3 6 2 FALSE returns a column containing 3 1 1 3 5 FastExcel V3 User Guide SpeedTools Extras Array Handling Functions e 284 SpeedTools Extras Information Functions Additional information functions e HASFORMULA2 returns true if the cell contains a formula e COUNTROWS2 and COUNTCOLS2 count the number of rows or columns from a referenced cell to the last visible non empty cell in the row or column e COUNTCONTIGROWS2 and COUNTCONTIGCOLS2 count the number of rows or columns from a referenced cell to before the next visible empty cell e COUNTUSEDROWS2 and COUNTUSEDCOLS2 count the number of rows or columns from a referenced cell to the last cell in the used range e CALCSEQCOUNTREF CALCSEQCOUNTSET CALCSEQCOUNTVOL simplify the tracing of Excel s calculation sequence and determining if a function is volatile FastExcel V3 User Guide SpeedTools Extras Information Functions e 285 HASFORMULAZ function The HASFORMULA function returns true if any of the cells in the range contain a formula HASFORMULA is NOT multi threaded NOT volatile and is NOT an array function HASFORMULAZ2 Syntax HASFORMULA2 theRange theRange Any valid range reference The function returns
83. 2 C7 3 x Direct 1 x Retail 2 x Defense 2 x Mfg 1x SpaceCalls 3 x SuperPhone FastExcel V3 User Guide SpeedTools Filters Filtering Functions e 198 SpeedTools Filters Sorting Functions FastExcel SpeedTools has 6 dynamic sorting functions that can be used to return sorted arrays e VSORTC Sort of a vertical range array not case sensitive using Excel s sorting rules e VSORTC INDEX Index sort of a vertical range array not case sensitive using Excel s sorting rules e Case VSORTC Sort of a vertical range array case sensitive lower case before upper case using Excel s sorting rules e Case VSORTC INDEX Index sort of a vertical range array case sensitive lower case before upper case using Excel s sorting rules e VSORTB Fast sort of a vertical range case sensitive upper case before lower case ignores collating rules for accented characters e VSORTB INDEX Fast Index sort of a vertical range case sensitive upper case before lower case ignores collating rules for accented characters The sorting functions use a stable sort method which preserves the original order of equivalent items Up to 15 columns in the input data can be sorted using a mixture of ascending and descending sort sequence Collating Sequences A collating sequence defines the order in which characters and values are sorted Collating sequences tend to vary by country and sometimes a given country will have more than one collating s
84. 3 Name Manager Help Button ccccccsesssccececessssssaeeeeeessessaeseeeeseessessnaeaeess 113 Name Manager Options ListboX cccccccccecsssssseeeeeceeseseceseecessesecnsaeeeeeeessesseeeeees 114 C nfirm Chang esiseina r aae aia aa anes aadi 114 Show Excel System Names ccccesscscccessssecnececececeseeseceseeeessesesseaeeeeeeeseesees 114 SHOW ee RStO ees nudae bates a EE 114 RICENOCIIO ue dein eiar A tock EERE AEE AAE i can coca da cede eats 114 ICONS E EEE T A A E A A 114 E AC Ro 010 A7 AEE A E E E E T 115 Name Manager and the VBE c cccccccscssssssseceeecseseseneseeeesseseasseeeesesssesuaeeeseeseeseaaeas 115 Reset NM 115 Corrupt NAMOS aana ee Ea a Ea as Ss aes aes Gaveth can stacia iniia 116 Problems discovered during the development of this utility cc csccceseesseeees 117 Non US List sepatiators in a hauled teh elke 117 Unusual Characters in NaMe S ccceecceceeeeeeeeeeesaeeeeaceceeeeeceaeecaeeesaaeeeeaeeeaes 117 Duplicate Global Local Names ccccsesssssssceeeeessesseaeeeeecssesseaeeeeeessessesnaaeees 117 Names with refers to starting With cceccsccssscececesssssrssseeeeeessesteaeees 117 Dynamic Range Wizard 119 Creating Dynamic Range NAMes ccccccccssscccccecccecececececececeeceeeeeeeeseeeeeeeeeeeeeesesenss 119 Starting the Dynamic Range Wizard c cccsccccccsssssssececeeeeessessseeeeeesesees 119 Dynamic Range Wizard Step 1 ccccessssccccsssss
85. 44 678 36 363331 36 32 0 0 0 0 0 0 6 0 0 535 0 0 0 0 0 17 14 2547 899 628 The Map Formats option produces a report sheet showing the count of each style used by each worksheet You can use this map to identify where and how often the number formats are being used Selecting one of the count cells in the Map a Calc Range f ReCalc Books a Time Macro Formats sheet and clicking the FastExcel GoTo button will show you the sheet with Calculation E ReCalc Sheet Full Calculation gt Go To all the callean the sheet that ise this Options FullCalc Sheet MixMode Recalc Go Back Osi a See Number Format selected FastExcel Calculation Control This makes it easy to change or remove Number Formats FastExcel V3 User Guide Clean Workbook e 98 Clean Workbook Options 3 v Clear undo memory Iv Clear Undo Memory Excel uses memory to store the information required to be able to undo recent actions This option allows you to clear this memory Many of the Clean Workbook options will automatically clear the Undo Memory For these cases the option will be ticked but disabled greyed out Clear Clipboard Memory Many of the Clean Workbook options will also automatically clear the Excel Windows clipboard Memory For these cases the option will be ticked but disabled greyed out FastExcel V3 User Guide Clean Workbook e 99 Name Manager Professional The best available tool for managing Excel Defined Names Name Manager
86. 5 Book No Yes hist_perf 28 Book No Yes hist_var_1M 29 Book No Yes hist_var_12M Shows the filtered list of sheets from the chosen workbook And Or Invert Filters And Or Invert fiters The default And is that all the filters must be satisfied for a sheet to be shown in the sheets box You can also choose OR so that a sheet that satisfies any of the filters will be shown Checking Invert Filters reverses the filters action so that only the sheets that satisfy none of the filters are shown FastExcel V3 User Guide Sheet Manager e 148 Available Sheet Filters Unprotected Worksheets Chartsheets MixMode Sheets The sheet filters are All all sheets are shown Selected Only sheets that have been selected within the Sheets box are shown Visible Only sheets that are visible in the workbook are shown Hidden Only sheets that are hidden in the workbook are shown Protected Only sheets that are protected are shown Unprotected Only sheets that are un protected are shown Worksheets Only sheets that are worksheets are shown Chart Sheets Only sheets that are chart sheets are shown MixMode Sheets Only sheets that have been flagged as Mixed Mode are shown v Filter sheet names like hist You can also filter sheets by name using wildcards means any combination of characters or none and means a single character You can use any combination of the wildcard characters
87. 7 AT CH vienna geneve 06 January 2000 260 28 AT CH graz lugano 10 March 2000 203 29 AT CH othAT lugano 08 July 2000 78 30 AT CH salzburg lugano 26 August 2000 516 31 AT CH vienna lugano 29 September 2000 250 32 AT CH graz oth CH 03 June 2000 310 33 AT CH oth AT oth CH 26 June 2000 694 MAX FILTER FSO SAS3 SF 10303 3 Value MONTH SES3 ES10303 Z 6 toCity oth 997 List of alternate criteria values Tota z S Ban nt Fel or re ine a t ith TEASUMIFS 0 CountryCayData Value MONTHISES3 5ES10303 12 6 toCity oth 189 952 FastExcel V3 User Guide SpeedTools Filters Filtering Functions e 178 PAD ARRAY FILTER IFS 1 CountryCityData 0 FromCtry AT MONTH SES3 SES10303 6 DAY SES3 SES1030 gt 20 ToCity AT AT AT AT Create a calculated column by usingan expression isthe Like operator and means any character or characters Use eitherthe column label orthe relative The formula is entered as a multi column multi row array formula by selecting the block of cells typeing the formula and then pressing Control Shift Enter Excel shows and before and after the formula to show that it recognised the array formula Wrapping the formula in PAD ARRAY makes any cells that will not contain results show a blank t 58155 From all Countries to London ondon AT BE 8197 From AT or BE to Berlin or London Rome lt GB gt SE 46614 To Paris o
88. ARRAY A2 C2 100 200 300 B4 D4 NOT as an array formula returns N A because the array returned from ROW ARRAY contains N A Entering SUM ROW ARRAY 0 A2 C2 100 200 300 B4 D4 NOT as an array formula returns 621 which is the sum of the values in the output array the N A in the arrayhas been replaced by zero Entering AVERAGE ROW ARRAY 0 A2 C2 100 200 300 B4 D4 NOT an array formula returns 41 4 which is 621 divided by the number of cells in the output array 15 FastExcel V3 User Guide SpeedTools Extras Array Handling Functions e 279 REVERSE ARRAY Function Reverses the rows or columns or both of an array REVERSE ARRAY is a multi threaded non volatile array function REVERSE ARRAY Syntax REVERSE ARRAY InputArray ReverseRows ReverseCols InputArray An expression or range that returns an array of values ReverseRows Optional default TRUE TRUE to reverse the rows of the array so that the last row becomes the first row ReverseCols Optional default TRUE TRUE to reverse the columns of the array so that the last column becomes the first row REVERSE ARRAY Examples 27 U29 contains 1 2 3 4 5 6 7 8 9 10 11 12 REVERSE ARRAY S27 U30 TRUE FALSE reverses the rows but not the columns and returns 10 at 12 7 8 9 5 6 1 2 3 REVERSE ARRAY S27 U30 FALSE TRUE reverses the columns but not the rows and returns 3 2 1 5 9 8 7 12 11 10 REVERSE ARRAY S27 U30 TRUE TRUE reverses both r
89. ATCH and MEMLOOKUP provide a simple way of replacing your existing exact match VIOOKUP HLOOKUP LOOKUP and MATCH formulas with more efficient memory based functions MEMMATCH and MEMLOOKUP can accept arrays and calculated ranges for the Lookup_Table and will do vertical or horizontal lookups depending on the shape of the Lookup Table There an additional 24 Advanced SpeedTools Lookup functions that give you many extended options FastExcel V3 User Guide SpeedTools Lookups Lookup Functions e 210 Reconciling lists super fast using COMPARE LISTS If you just want to reconcile 2 lists of items to see where the differences or similarities are you should use SpeedTools COMPARE LISTS This function can count or show you the differences between 2 lists each with up to a million rows in Excel 2007 and later in just a few seconds The 24 Advanced Function Lookups If you need more powerful functions use these advanced Lookup features e High performance multi threaded lookups to exploit multiple cores e Written in C for ultimate performance e Run with 32 or 64 bit Excel e 3 multi threaded memory options e Return the first last or Nth match from multiple answers does not use lookup memory e Return all matching answers where duplicates exist in the Lookup Columns to either multi cell array formulas or aggregating functions like SUM AVERAGE MEDIAN COUNT etc e Two dimensional Lookup lookup both rows and columns e Multi column Look
90. BA project e Tools gt References and check FastExcelV3 It is also possible to evaluate the function from VBA as a worksheet function using Evaluate but this incurs significant extra overhead FastExcel V3 User Guide Using FastExcel V3 with VBA e 320 STRCOLID function The STRCOLID function returns an alphabetic column name A to XFD given a column number STRCOLID Syntax STRCOLID jCoINo JCoINo jCoINo is the number of the column you want to convert to a column name STRCOLID Remarks If the column number is greater than 16384 STRCOLID returns N A STRCOLID can be used either as a worksheet function or from VBA The main use of STRCOLID as a worksheet function is to calculate a cell address as a string for use with INDIRECT FastExcel V3 User Guide Using FastExcel V3 with VBA e 321 Using MICROTIMER from VBA You can call the FastExcel Microtimer function from your VBA code to get high resolution timings on parts of your code The MICROTIMER function is a wrapper function for the Windows high resolution timer API The function returns a double containing seconds The resolution of the timer is dependent on the clock speed of your PC but is about 1 microsecond on a 1200MHZ AMD The function itself takes about 5 microseconds to execute when called from VBA on the same machine Setting a reference to Open the VBE alt F11 Select your VBA project VBE Tools gt References Check the box next to FastEx FastExce
91. Because no single indentation and new line style suits all formulas these buttons allow you to dynamically increase up or decrease down the indentation style The middle square button resets to your preferred default indentation style Change Selection Change Selection gt You can change which sub expression is selected by clicking in the Formula Box with the mouse or you can use the Change Selection buttons e The left arrow button moves one sub expression to the left e The right arrow button moves one sub expression to the right e The square button selects the current sub expression useful in Edit Mode e The double arrow button expands the selection to the left and to the right The keyboard left and right arrow keys may also be used The actions of these buttons can be modified by using Shift Control or Alt Shift and or Control The Shift and or Control keys used with the left or right arrows cause the selection to expand rather than move to the left or to the right Alt The Alt key used with the selection change keys causes the selection to contract e Alt Square button de selects no subexpression is selected e Alt Left Arrow contracts the selection from the left keeping the right static e Alt Right Arrow contracts the selection from the right keeping the left static e Alt Double Arrow contracts the selection inwards from both the right and the left Back and Next HOPES ajeje s The Back and
92. Change Iteration will stop when no cell changes by more than MaxChange FastExcel V3 User Guide Profiling Commands e 70 e Multi Threaded Calc Calculation using multiple cores and threads e On True False N A Shows if Multi Threaded Calculation MTC is on off or not available e Mode Automatic Excel assigns a calculation thread to each available core Manual the user has assigned a specific number of threads e Threads The number of threads assigned to the calculation e Force Full Calc Shows if this workbook will use Excel s smart recalc or always calculate every formula in the workbook at each calculation e Full Recalc Full every formula in all open workbooks will be calculated at each calculation Recalc only changed formulas and formulas dependent on changed values volatile cells will be recalculated XL 64K Limit in Excel versions prior to Excel 2007 Excel switched to force full calculation when dependencies exceeded 64K Colored orange if this limit has been reached FastExcel V3 User Guide Profiling Commands e 71 The Workbook Calculation Settings Table These settings can be different for each open workbook You can use Mixed Mode so that some worksheets always calculate and others calculate only when you want FastExcel V3 User Guide Mixed Mode allows you to choose when any MixMode sheets will be calculated Full If True any MixMode worksheets will be recalculated at each full recalculat
93. ER IFS family functions except FILTER SORTED Gives the number of sorted Criteria columns in the InputRange If nSortedCols is 2 then CriteriaColumn1 must be the major sort column in the InputRange CriteriaColumn2 the next minor sort column in the InputRange and so on In other words InputRange must be sorted by CriteriaColumn2 within CriteriaColumn1 The sorted criteria columns must all be sorted either Ascending or Descending Positive nSortedCols indicates sorted ascending negative nSortedCols indicates descending and zero indicates that the criteria columns are not sorted Columns outside the InputRange and Calculated Columns are always treated as unsorted Columns with criteria operators the Type criteria operators or with a list of criteria given as an array constant or multi cell range reference are always treated as unsorted The first column with a criteria operator other than True False will cause subsequent columns to be treated as unsorted Using non zero NsortedCols with unsorted data will give unpredictable and usually incorrect results InputRange required The InputRange must refer to a Range it cannot be an array or the result of an expression The reference to the range containing the column from which the subset of results will be returned and also containing all the sorted Criteria columns The InputRange may also contain unsorted Criteria Columns The InputRange may optionally contain column labels in th
94. Examples A B 27 Number of characters matching Rgx Len 28 b5 1 5 0 9 14 b 29 Rgx LEN B 28 A30 30 Mastercard number 5499000001234567 16 31 Is This a Mastercard number 5199000001234567 16 32 Is This a Mastercard number 5699000001234567 0 FastExcel V3 User Guide SpeedTools Extras Text Functions e 309 Rgx SUBSTITUTE function Searches a string or a rectangular array range for a substring that matches a regular expression pattern or a rectangular array range of patterns Replaces the matched substring s with New_Text Rgx SUBSTITUTE is a multi threaded non volatile array function Rgx SUBSTITUTE Syntax Rgx SUBSTITUTE Text RegExp New_Text Nth Case_Sensitive The first 2 parameters are required the last 3 parameters are optional Text required Constant range or array containing the string s to be searched for the Regular Expression Patterns RegExp required Specifies the Regular Expression s to be used when matching String If String is an array or a multi cell range then RegExp must contain a matching set same number of rows and columns as String of regular expressions New_Text optional default 0 The Text s used to replace the substring s that match the Regular Expression Pattern If omitted the matching substrings are removed Nth optional default 0 If gt 0 replaces only the Nth match of the substring If 0 all matches found are replaced Case_Sensitive optional TRUE to make the patt
95. Extras Information Functions 285 HASFORMULAZ function sssesssssssssesssrssssrrrrssrrsrssrtrsrsstrsrssttnssstennssttnnsstenesttnssstenssstente 286 Calculation Sequence and Counting functions sesssssssssssesseessssesererresrssesrresnsssseeee 287 CALCSEQCOUNTRER FUNCION aoreet taenia eeii a a a a Gielen 287 CALCSEQCOUNTSET FUNCTION sdiri aopn inia eiae ae eiea AEA A EAEE 287 CALCSEQCOUNTVOL FUNCTION eccsececessseeceesteeecseseeeceeaaeeceeaaeeecseaeeeeseaeeeeeiaeeeeess 287 Functions for counting ROWS and COlUMNS ccssssccccecesesscececeeseessecneaeeescesseseeaeess 288 COUNTROWS2 FUMGCION ccs eye ieeeleci einen che ca a a a E a aian ianei a aaas 289 COUNTCONTIGROWS2 FUNCTION cee ceececeeeseseeaece cece eeeeeaaaaececeeeeesaaaeaeeeeeeeeeeseaeeeeees 291 COUNTUSEDROWS2 Function 0 cece eeceeececeeeseneeaececeeeeeeeeaaaaeeeeeeeeesaaaeaeeeeeeeeeeaaeeeeees 293 COUNTGOUS2 FUN CUI ON aoci eieiei tiae iie Sevaacesvessuenthegedeveeverveerteveeeeuesadsdhedeveess 294 COUNTGONTIGCOLS2 FUN CtION onae a aa eaaa AA EEE anes 296 COUNTUSEDCOLS2 FUNCTION sser ertia aai aa a aira C AEE EEEa 298 Examples and comparison of the counting functions cccccccccecesssteeeeeeeeseesseaees 298 Using the Count functions in dynamic range NAMES sesssssssesssessssssrrerressssssrens 299 FastExcel V3 User Guide FastExcel Version 3 e 14 SpeedTools Extras Text Functions CONCAT RANGE concatenate range data PAD TEXT
96. FastExcel Version 3 USER GUIDE FastExcel V3 User Guide FastExcel Version 3 e Contents FastExcel Version 3 1 WISER GUIDE E EE E A A EET TT 1 Overview of FastExcel 16 FastExcel V3 Profiler Profiling tools to find performance bottlenecks and MEMOY USAZ Os icccciestandesscuvecdsen de iinitan diei iiidid anai a 16 FastExcel V3 SpeedTools Performance Improvement Tools 0000000e 17 FastExcel V3 Manager Workbook Management TOols s scccceeessseneees 18 About the FastExcel User Guide and Optimizing Calculations Guide 0000 18 Using FastExcel Profiling Quick Start and Drill down Wizard 19 Do you know why your spreadsheet iS SIOW cccsccccccecessssseeeeecessesecteseeesesssesseaeees 19 Find out why then fix it with FastEXcel cccccsscsssccececessssscsseeeeeseesesseaees 19 How FastExcel V3 helps you run Excel faster cccccscssscesssesssessesseeeees 20 Full Calculation Recalculation and Volatility What and Why ccccccssseeeeeeeeeees 21 Multi Threaded Calculation What and WHhY ccc ssccccecessssssteceeeeecesseseaeeeeeeeseesees 21 Step by step Drill Down to Calculation BottleneckS ccccccccccsssssssceeeeeeessssssseeesens 22 Step 1 Clean and Backup your Workbook c ccccccceseesseceeecessessseseeeesenses 22 Step 2 First Drill down Profile the active Workbook cccccccseesseeeeeeeeees 22 Step 3 Second Drill down Profile the wor
97. H The Case AMATCH functions are multi threaded non volatile array functions Case AMATCH Family Syntax Case AMATCH2 Lookup_Values Lookup_Table Sorted Exact_Match Lookup_Columns MemType_Name The first 2 parameters are required the last 4 parameters are optional Case AMATCHES2 Lookup_Values Lookup_Table Sorted Exact_Match Lookup_Columns The first 2 parameters are required the last 3 parameters are optional Case AMATCHNTH Lookup_Values Lookup_Table Sorted Exact_Match Lookup_Columns Position The first 2 parameters are required the last 4 parameters are optional Case AMATCH2 Case AMATCHES2 and Case AMATCHNTH return the relative position of row s within the range specified by Lookup_Table Lookup_Values required Specifies the value s to be found in the Lookup_Columns Can be a single value or multiple values arranged in columns multiple lookup columns and rows multiple Lookup Rows A single value can be a constant or a range reference Multiple lookup values can be specified either as an array of constants or as a range referring to multiple cells There should be the same number of columns of lookup values as there are columns in the Lookup_Columns When doing multi column lookups multiple columns of both lookup values and lookup columns the Case AMATCH functions will look for a row where ALL the lookup values are matched in the corresponding columns Columns are treated as AND When doing mul
98. HNTH with multiple rows of Lookup Values can return a variable number of rows depending on how many rows meet the lookup criteria So you should use them either in an array formula that returns multiple rows or embedded in functions like SUM AVERAGE etc that can handle arrays containing a variable number of results AMATCH2 and AMATCHES2 Limits e Excel 2000 limit array functions like AMATCH to returning a maximum of 5461 values AMATCHES2 returns Value when this limit is reached You should be careful when returning multiple matches that this limit will not be reached There is a registry change and fix for Excel 2000 that eliminates this 5461 values limit See Microsoft Knowledge Base article Q250828 FastExcel V3 User Guide SpeedTools Lookups Lookup Functions e 239 Case AMATCHZ2 Case AMATCHES2 amp Case AMATCHNTH functions Search for values in one or more columns of a table and return the relative position of the row s where a match is found Advanced MATCH functions returning e either the relative position of the first value found Case AMATCH2 e or the relative position of all the values found Case AMATCHES2 e or the relative position of the Nth value found Case AMATCHNTH These functions are similar to the Case AVLOOKUP2 Case AVLOOKUPS2 and Case AVLOOKUPNTH functions except that they return relative row numbers rather than values These functions are case sensitive versions of AMATCH2 AMATCHES2 and AMATCHNT
99. LVersion the Excel version number and bitness used for this profile e Excel 97 is Version 8 e Excel 2000 is Version 9 e Excel 2002 is Version 10 e Excel 2003 is Version 11 e Excel 2007 is Version 12 e Excel 2010 is Version 14 e Excel 2013 is Version 15 XL Calculation Engine The version number of the calculation engine that was used for this profile If not Excel 2000 or a later version N A Profiling Commands e 67 The Workbook Settings Table The Workbook Settings Table shows basic information on the profiled workbook e The name and path of the profiled workbook and the date and time that the profile was created Not shown in the above picture If Shared and Keep Change e Shared True if the Workbook is open for Sharing If Shared History are both true they and Keep Change History are both true the Workbook size are colored orange can grow considerably e Changes Keep Change History Tracking True if enabled otherwise False If Shared and Keep Change History are both true the Workbook size can grow considerably e Saved False if the workbook has been changed in any way since the last save Avoid saving in Dual e Format the format of the saved workbook Dual Format Format Orange doubles the file size e Fixed Fixed Decimal If True numbers will be treated as having an implied decimal point in the position given by Places below e Places The position of the implied decimal point if Fixed Decimal is true
100. MATCH2 or Rgx AMATCHNTH with multiple rows of Lookup Values can return a variable number of rows depending on how many rows meet the lookup criteria So you should use them either in an array formula that returns multiple rows or embedded in functions like SUM AVERAGE etc that can handle arrays containing a variable number of results Rgx AMATCH2 and Rgx AMATCHES2 Limits e Excel 2000 limit array functions like Rgx AMATCH to returning a maximum of 5461 values Rgx AMATCHES2 returns Value when this limit is reached You should be careful when returning multiple matches that this limit will not be reached There is a registry change and fix for Excel 2000 that eliminates this 5461 values limit See Microsoft Knowledge Base article Q250828 FastExcel V3 User Guide SpeedTools Lookups Lookup Functions e 252 Rgx Case AMATCHZ2 Rgx Case AMATCHES2 amp Rgx Case AMATCHNTH functions Search for values in one or more columns of a table and return the relative position of the row s where a match is found Advanced MATCH functions returning e either the relative position of the first value found AVMATCH2 e or the relative position of all the values found AVMATCHES2 e or the relative position of the Nth value found Rgx Case AMATCHNTH These functions are similar to the Rgx AVLOOKUP2 Rgx AVLOOKUPS2 and Rgx AVLOOKUPNTH functions except that they return row numbers rather than values These functions are case sensitive versions of Rgx
101. Mode sheets are selected by default they will be calculated E MixMode sheets are not calculated unless Manual Calculation has All enabled sheets in open workbooks Recalculate F9 been checked in MixMode options Eb Calculate all open workbooks Full Calculation Ctrl Alt F9 Bb oaiue MixMode Sheets All enabled sheets and any MixMode sheets in all open workbooks are recalculated Ctrl Shift F9 Po Select run and time a macro To control the display of the calculation time see FastExcel Calculation FastExcel V3 User Guide Control gt FastExcel Settings There are keyboard shortcuts for these calculation commands Go To Go Back The GoTo command is context sensitive to the active sheet If the active sheet is e The output sheet from Profile Formulas and Functions GoTo will attempt to go to and select the Formula that has been selected on the Profile If no formula has been selected then the first formula will be used e The output sheet from Profile Worksheet Formulas GoTo will attempt to go to and select the Area that has been selected on the Profile If no formula has been selected then the first Area will be used e The output sheet from Map Formats or Map Styles If you select a cell that contains the number of Styles or Number Formats on a worksheet then GoTo will attempt to select ALL the cells on that worksheet that have that Number Format or Style e Any other sheet GoTo will ask if you want to go to
102. Next buttons are enabled whenever you have changed the cell selection on the worksheet either by double clicking to drill down or through using the mouse or keyboard You can use the back and next buttons to cycle between these worksheet selection changes FastExcel V3 User Guide Indenting Formula Viewer Editor and Debugger V2 e 133 Undo Redo and Refresh Undo Redo The Undo and Redo buttons are enabled whenever you make changes to the formula in the Formula Box ignoring indentation and selection changes Changes are usually made either in Edit Mode or by using the F9 key to convert the selected sub expression to its resulting values Refresh The Refresh button gets the formula from the currently active cell and shows its indented version in the formula box Print The print button prints an image of the form onto a single sheet of paper on the default printer FastExcel V3 User Guide Indenting Formula Viewer Editor and Debugger V2 e 134 View Edit Shortcut and Function Keys When the Formula Box has the Focus Escape Alt A Alt B Alt C Alt D Alt E Alt F Alt H Alt N Control Shift N Alt P Alt S Alt U Alt Y Alt Z Alt F1 F2 Alt F2 F3 F4 Clear the selection Active Origin Back Constant Origin Decrease Indentation Down Edit Mode Refresh Reset Indentation to Default Next Launch Name Manager Pro Print Settings Increase Indentation Up Redo Undo Function Help if a Native or SpeedTools functio
103. ON i nccsssvdectues svncdsvecantensden cderseabtavacausaduedoetdasscandnvennetesevdea A iaa 181 FILTER MATCH TUNCtION ai cecivsansccsceececssescousdsassieestescevcnsecaceeseneviceseacetedaacencevsnstiesvenctens 182 FILTER MATCH Exampl eisnacscccsassessevescsvaseseseeixesnaiesieonecsuasuneceunasteavhaeetsanceetvarsersesaas 182 ASUMIES FUNCTION osseteel at cieetesas nehed a tees Ad a eee eee eects 183 ACOUNTIFS FUR CON tsini aeter secs ache daa eiaei ote ttia a aeiaai aaie iaa eaeh 184 FILTER VISIBLE FUNCION icrai ieaiaia aaa Ei eE EER Eie 185 REX COUN TIF FUNCTION saives ce eeeieeecets ecocs noeant en aueren EEEo eek NCEA ANOKA ESAE A EAA Eataa 186 ReX SUMIF FUNCTION iaon a a a a aa ea aaiae 187 The LISTDISTINCTS family of FUNCTIONS cccccccccssssssseeeeeceseeseaeeeeeeeseseseeaeeeeeeeseeegs 188 LISTDISTINCTS FUNCION sccscsssnsieicccescovdascosudes tl iuen teschvensccacessenevicedencctesoaceesnnesuedvencaucs 189 LISTDISTINCTS COUNT Function 0 cceeceesceesceeeeceseceeeeeeeeeeeeseneeeaecaaeceaeceaeeeaeenseeeaeeaes 191 LISTDISTINCTS SUM Function 0 ccceceeeceescececeeeceseeeeeeeeeseneeaeecaaecaaeceaeceaeeeaeeeeeseneeeaes 192 LISTDISTINCTS AVG FUNCTION ccecceeeceesceseceseceseeeeeeeeeeseneeaeecaaecaaeceaecaeceaeseneeeneeaes 193 COUNTDISTINCTS FUNCtION ccceceescecseeeeeceeeeeeeeeeeeeeneeeaeceaeceaeceaeceeeeeeeeeeeeaeetaeesaees 194 COUNTDUPES FUNGON mnai ee aerun aeaa uaar aiaee Et aoa E aea a aiaa ai 195 LISTDISTINCTS Exampl
104. ORTC INDEX A1 C100000 1 2 will return 100000 rows by 1 column of index numbers sorted ascending on column A and descending on column B pogo N AU he N amp WwW Nwe e FastExcel V3 User Guide SpeedTools Filters Sorting Functions e 205 VSORTB INDEX Fast Index Sort of a vertical range or array This function index sorts a vertical array or a range containing one or more columns The sort is case sensitive and is done using a binary collating sequence which is dependent on the positions of the characters in the code page ignoring Excel s rules for sorting apostrophes and hyphens The output sequence may NOT be the same as EXCEL SORT for text items VSORTB is a non volatile multi threaded array function VSORTB INDEX Syntax VSORTB INDEX theInputData SortColumn1 SortColumnzZ SortColumn15 The first parameter is required all other parameters are optional The output from VSORTB INDEX will be a vertical sorted array of index numbers The index numbers give the relative position in the input data of the nth item in the sorted output rather than the sorted output itself The number of rows sorted and output will be the smaller of the number of rows in the input data and the number of rows in the used range The number of columns will always be 1 TheInputData required The data to be sorted given as a vertical array of constants or a calculated range or a range The range or array can contain as many columns as require
105. PNTH are case sensitive versions of Rgx AVLOOKUP2 Rgx AVLOOKUPS2 and Rgx AVLOOKUPNTH respectively The Rgx Case AVLOOKUP family of functions are multi threaded non volatile array functions Rgx Case AVLOOKUP Family Syntax Rgx Case AVLOOKUP2 RegExp Lookup_Table Answer_Columns Not_Found Lookup_Columns MemType_Name The first 4 parameters are required the last 3 parameters are optional Rgx Case AVLOOKUPS2 RegExp Lookup_Table Answer_Columns Not_Found Lookup_Columns The first 4 parameters are required the last 2 parameters are optional Rgx Case AVLOOKUPNTH RegExp Lookup_Table Answer_Columns Not_Found Lookup_Columns Position The first 4 parameters are required the last 3 parameters are optional RegExp required Specifies the Regular Expression Pattern s to be matched against the value in the Lookup_Column s Can be a single Regular Expression or multiple Regular Expressions arranged in columns multiple lookup columns and rows multiple Lookup Rows A single Regular Expression can be a constant or a cell reference Multiple lookup Regular Expressions can be specified either as an array of constants or as a range referring to multiple cells There should be the same number of columns of Regular Expression values as there are columns in the Lookup_Columns When doing multi column lookups multiple columns of both lookup values and lookup columns the Rgx Case AVLOOKUP functions will look for a row where ALL the
106. Pp ow nop FastExcel V3 User Guide SpeedTools Filters Sorting Functions e 201 Case VSORTC Case sensitive dynamic Sort of a vertical range or array This function sorts a vertical array or a range containing one or more columns The sort IS case sensitive and is done using a locale based collating sequence which respects national language characters The output sequence will be the same as a case sensitive EXCEL SORT VSORTC is a non volatile multi threaded multi cell array function Case VSORTC Syntax Case VSORTC theInputData SortColumn1 SortColumnzZ SortColumn15 The first parameter is required all other parameters are optional The output from Case VSORTC will be a vertical sorted array The number of rows sorted and output will be the smaller of the number of rows in the input data and the number of rows in the used range The number of columns will be the number of columns in the input data ThelnputData required The data to be sorted given as a vertical array of constants or a calculated range or a range The range or array can contain as many columns as required SortColumn_1 SortColumn15 optional Gives the index column number s of the columns to be used as sort keys Up to 15 sort keys can be specified Positive column numbers will be sorted ascending and negative column numbers will be sorted descending You can have both positive and negative numbers in the same function call 1 denotes the first colum
107. ProductSerial A1_ProductData B 2 OFFSET A1_Produc ProductData Level2001 Al1_ProductData F1 ProductData LevelNow Al1_ProductData D1 of gt The names Listbox shows the names that are currently selected by the filters Sorting the Names Listbox You can sort the names ascending or descending by the names or their refers to formulas by clicking the arrow buttons next to the Name or Refers to headings Dividing the Space between Name and Refersto You can control the way the space in the Names Listbox is divided between the Names and their Refersto by dragging sideways the small splitter bar located just to the left of the Refersto Label Selecting one or more Names You can click on any name to perform actions on that name You can Select multiple names select more than one name and perform actions on all selected names using control click in one go Note that certain controls will be enabled or disabled depending on whether or not one name is selected You can select multiple specific names by control click on the names you can select a sequence of names by clicking the first and shift click on the last or by dragging the mouse over the names you want to select Refers to edit box Showing 142 of 142 names Edit the refers to formula for OurPhones A3_UniVerse G 14 OFFSET A3_UniVerse G 14 SectorCount 1 0 FastExcel V3 User Guide Name Manager Professional e 102 Below the Name Listbox is the Refers
108. R 1100 6296 2 HU 853 6623 13 IE 763 7742 6 IT 6112 8303 3 NL 2360 8609 3 NO 793 8915 3 PL 2276 9221 3 PT 1507 9538 4 RU 1254 9942 4 SE 1886 0 0 TR 11400 0 0 FastExcel V3 User Guide SpeedTools Filters Filtering Functions e 182 ASUMIFS function ASUMIFS sums the cells in the chosen column s that match the extended conditions or criteria ASUMIFS Syntax ASUMIFS nsortedCols InputRange ReturnCol CriteriaColumn1 Criteria1 CriteriaColumn2 Criteria2 OR nsortedCols CriteriaColumnx Criteriax ASUMIFS is equivalent to SUM FILTER IFS See FILTER IFS for definitions of the parameters for ASUMIFS If ReturnCol is zero then a row of sums will be returned for each column in InputRange and ASUMIIFS should be entered as a multi cell array formula This is an efficient method of summing multiple columns for a common set of criteria FastExcel V3 User Guide SpeedTools Filters Filtering Functions e 183 ACOUNTIFS function ACOUNTIFS counts the cells in the chosen column s that match the extended conditions or criteria ACOUNTIFS Syntax ACOUNTIFS nsortedCols InputRange ReturnCol CriteriaColumn1 Criteria1 CriteriaColumnz2 CriteriazZ OR nsortedCols CriteriaColumnx Criteriax ACOUNTIFS should always be used rather than COUNTA FILTER IFS because COUNTA counts a return of zero as 1 but ACOUNTIFS does not See FILTER IFS for definitions of the parameters for ACOUNTIFS If ReturnCol is zero th
109. REVIOUS allows you to get the value from the previous calculation for the cell containing the PREVIOUS function Normally if you create a formula that refers to the cell that contains the formula Excel detects a circular reference that requires using iteration to solve PREVIOUS does NOT cause a circular calculation You can use PREVIOUS as a parameter of a VBA UDF This is useful when you have a slow UDF that you want to be able to short circuit under certain conditions For example if your UDF retrieves data from a remote server you may only want to retrieve a new value when the server has been refreshed PREVIOUS is NOT thread safe is optionally volatile and does not handle arrays Previous Syntax PREVIOUS Volatile Volatile Optional default True True causes the function to be calculated at every recalculation Do not use False for this argument when the formula containing the function uses or refers to a cell containing a volatile function Remarks and Limits PREVIOUS is NOT a thread safe function and so any formula containing PREVIOUS will not take advantage of Excel s multi threaded calculation Do not use False for the Volatile argument when the formula containing the function uses or refers to a cell containing a volatile function When a formula containing PREVIOUS is entered the value from the previous recalculation will be reset Examples MyUDF Refresh theInput PREVIOUS FALSE If MyUDF is a VBA function
110. Rgx Case AVLOOKUP2 Case sensitive version of Rgx AVLOOKUP2 e Rgx Case AVLOOKUPNTH Case sensitive version of Rgx AVLOOKUPNTH e 6Rgx Case AVLOOKUPS2 Case sensitive version of Rgx AVLOOKUPS2 e 6Rgx Case AMATCH2 Case sensitive version of Rgx AMATCH2 e Rgx Case AMATCHES2 Case sensitive version of Rgx AMATCHES2 e Rgx Case AMATCHNTH _ Case sensitive version of Rgx AMATCHNTH e EVAL2 Evaluate a formula string FastExcel V3 User Guide SpeedTools Lookups Lookup Functions e 208 High performance exact match Memory Lookups Written in C SpeedTools multi threaded Lookup functions provide faster and easy to use alternatives to Excel s MATCH and VLOOKUP functions for exact match lookups on both sorted and unsorted data Excel VLOOKUP does exact match lookups by starting at the first row and looking at each row in turn until a match is found For large numbers of rows this linear search is slow SpeedTools Lookups remember which rows gave a match the last time they were calculated and will try to short circuit the slow linear search by checking the remembered row first Because Excel has to recalculate Lookups whenever any of the values in the Lookup Table change even when the answer does not change this technique can provide significant speedups For sorted data SpeedTools Lookups uses exact match binary search which is much faster than the exact match linear search you have to use with Excel lookups Lookup Memory is Fail Sa
111. TERP2 VSORTB VSORTB INDEX VSORTC lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt z lt lt x lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt z lt lt lt lt lt z lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt z z z lt lt lt lt lt lt Z Z Z Z Z Z Z Z Z Z Z Z Z Z Z Z Z Z Z Z Z Z Z Z Z Z Z Z Z lt lt lt lt lt lt lt lt lt lt VSORTC INDEX FastExcel V3 User Guide SpeedTools Functions e 167 SpeedTools Filters Filtering Functions The filtering functions provide extended ways of using one or more criteria to filter out subsets of data Very fast performance is achieved for sorted data The functions can be used within any aggregating function SUM MEDIAN RANK etc to provide the equivalent MEDIANIFS RANKIFS function The functions can also be used as multi cell array formula to return the data subsets directly e ACOUNTIFS count using extended multiple conditions e ASUMIFS sum using extended multiple conditions e FILTER IFS filter out subsets of data using multiple extended conditions e FILTER SORTED filter out subsets of sorted data
112. Tables formulas in different cells on the same sheet and the same row you should use this option which stores the memory separately for each cell e 0 Do not use Lookup memory FastExcel V3 User Guide SpeedTools Lookups Lookup Functions e 248 e Named Memory If you give a text string instead of a number it will be used as a named memory You can have many named memories in use at the same time usually one for each Lookup Table Each named memory works by row across all sheets within a workbook so is the best choice when you have o More than one memory lookup referring to different lookup tables within a single formula o More than one memory lookup referring to different lookup tables in different cells on the same row and these lookups are repeated on the same row in multiple sheets If this option is not zero then Rgx Case AVLOOKUPS2 will first check to see if the index stored in memory that gave the answer the last time the Rgx Case AVLOOKUPS2 was calculated still gives the correct answer If it does then Rgx Case AVLOOKUPS2 will return that answer without doing any more processing When using Lookup memory and there are multiple exact match answers available Rgx Case AVLOOKUPS2 will not necessarily return the answer from the same row as MATCH Rgx Case AVLOOKUPS2 and Rgx Case AVLOOKUPNTH do not use lookup memory Position Optional Defaults to 0 Rgx Case AVLOOKUPNTH only Controls which result will be returned from multiple mat
113. To Edit box Use that to edit a name s refers to property When more than one name is selected the Refers To Edit box is not available If a name contains a relative reference the result of changing the refers to property is influenced by which cell is the active cell during the update Therefore the Name Manager will prompt you for the active cell when you enter the edit box whilst a name with a relative reference is highlighted and will warn you if you change a name from absolute to relative Important Due to an internal limitation of Excel it is not possible to have a name with a refersto string longer than approximately 240 characters When you edit a name s refersto in this box it will be truncated at 240 characters automatically As from FastExcel 2 1 there is an exception as long as the name refers to areas of cells directly does not contain a formula names can be edited up to 224 areas of cells Refersto Splitter Bar The raised bar that tells you how many names are showing is also a splitter bar that you can drag up and down to divide the space on the Name Manager form between the Names List box and the Refers to Edit box FastExcel V3 User Guide Name Manager Professional e 103 Name Manager Filters Name manager has four filters you can use to control the names that are shown in the Names Listbox The filters act in combination names shown must meet all four of the filter criteria Choose name filters Name Scope
114. UNTCOLS2 for more details Last contiguous non empty column This method is not recommended for ranges containing hidden columns or columns with zero width FastExcel V3 User Guide This method looks to the right from the anchor column to find the first visible empty cell and re sizes to include all the columns from the anchor column to the column before the empty cell This results in a range of all the contiguous adjacent non empty cells in the row Use this method if you want your dynamic range to be delimited by a blank empty cell This is useful when you have multiple tables stacked adjacent to one another on the same worksheet Do not use this method on ranges containing hidden columns or columns with zero width See COUNTCONTIGCOLS2 for more details Dynamic Range Wizard e 124 Last column in the used range This method looks to the right from the anchor column to the last column in Excel s used range This will include all cells on the worksheet with any formatting even if they are empty and will include all the columns and rows not just the rows you have selected for the dynamic range See COUNTUSEDCOLS2 for more details Count of non empty cells in the anchor row This method uses Excel s COUNTA function to count non empty cells from the anchor cell across to the last column If your data includes any empty cells this method will not include all the cells including data Use this method only if you require c
115. a a Hevesi dete eee 106 Delete BUON srdecne aeren eaves aa eae ea E aKa aek uetaiatees 106 USt BUUEO Mc EEO E A R 106 PICKUP BUTEON orire teea taa ieena eia Hees E E E Ra E a 106 Name Manager Action BUttOns 2 cccccccccessecesssceceessscececssssecesesaeceesssaeeeesesseeeseaas 107 LOCalISe BUTOR ss aves doves used einen coastesepcvnneavel seescecaueney eae aea aaa aea aaea aa A aa 107 GlObalise Button enian nn E eateries 107 Eva luate BUttO Maie tnit a a a a e aa ia a a A 107 Analyze Name Button siseiccscissecieiiccs ces sddsneseduesvseibaelneasdesvehetvaisaeevieevevedenteaedses 108 Highlight BUTON 2 0 lt sercsiecsssescersdereeds rnerk ieee aeea aae E ae E E nai 110 Clear Button neina a E ede ae 110 lS Used BUON asco sens stecetastectecheecteax ster cuds penctideeecreay tevuaetigetosteeteavehe aie 110 Refresh ButtOnveccce sanveie veivaceevseeetaiehin vikeeeasstnanvitie ma aiaa aan aaia 110 GOTO DUON ree eaa ot a oee e RE a aa E AAEE tent gases cette tenet tees 111 GoBack buttone ionn a E E A NN 111 Renaming a Nameni aeeti an eia aae sudan aaa Rou das aaant iaa aia aia ee 111 VNAME a a a a vested wel aA E N Oa AKENE EONA 111 ABDOUE BUOM ioken eeann tensa ceenseactatssheretesieaessgiveaiatedeacesstentee adage 111 Dynamic Range Wizard BUttONn ccccccccccscesssseceeeeecessessaeceseessessseseeeesens 112 Find and Replace buttone aia e a i a i 112 FastExcel Version 3 e 7 Name Map Button oca tensien aenieiai a oaeiai ARAR ai an 11
116. a name of this type FastExcel 2 Name Manager The name allsheets may give incorrect answers due to a bug in Excel s calculation engine The refersto 4 2 starts with It is better to use this INDIRECT A1 Keep showing this warning No FastExcel V3 User Guide Reset NM e 118 Dynamic Range Wizard A wizard for creating Defined Names that expand and contract automatically Creating Dynamic Range Names Use the Dynamic Range Wizard when you need to refer to tables of data that can change in size The Dynamic Range Wizard gives you an easy way to create range names that dynamically expand and contract as the amount of data changes The ranges can dynamically expand and contract by rows or by columns or by both rows and columns There are a variety of methods available to handle embedded blanks and multiple tables on a worksheet Starting the Dynamic Range Wizard You start the Dynamic Range Wizard from the Wizard button on the Name Manager form A The wizard will then guide you through the 5 steps to create your dynamic range name Dynamic Range Wizard Step 1 In this step you choose whether your dynamic range will expand by rows by columns or by both rows and columns FastExcel Dynamic Range Wizard Step 1 of 5 Welcome to the FastExcel Dynamic Range Wizard The wizard steps you through the creation of a dynamic range name that expands or contracts its rows or columns as you add additional data Spa
117. a row separately for each row of lookup values Rows are treated as OR A single AMATCH2 or AMATCHNTH statement will return the same number of row numbers as there are rows in Lookup_Values FastExcel V3 User Guide SpeedTools Lookups Lookup Functions e 236 Lookup_Values can contain the wildcard characters and for exact matches on unsorted text data To find actual question marks or asterisks add a tilde preceding the character Lookup_Table required The rectangular range of cells or array or expression yielding an array to be used for the lookup table The array range must resolve to a single contiguous rectangular array Sorted Optional defaults to False Specifies whether the data in Lookup_Table is sorted on the first Lookup Column ascending descending or not sorted Valid values for Sorted are e True Asc Yes True 1 Ascending e Des 1 Descending e False No 0 any other text Not Sorted If the Lookup_ Table is sorted on the first Lookup_Column the lookup process will be significantly faster Exact_Error optional defaults to True Use this optional parameter when you want the AMATCH functions to find a row in Lookup_Table that exactly matches the Lookup_Value s even with sorted data and to specify what to return if an exact match does not exist An exact match will always be done with unsorted data A value of False means that an approximate match will be found with sorted
118. active Automatic workbook will not be calculated You can set the calculation mode for each of the open workbooks and the default mode using the Set Book Modes button This book calculation mode is saved with each workbook If you use active workbook mode with a workbook in Automatic mode then it will be recalculated whenever you make it active Once you set this option it will still be active the next time you open Excel Whilst this option is active you cannot copy and paste between workbooks You can use Active Workbook Mode for the workbooks at the same time as Mixed Mode for the worksheets but Mixed Mode is not dependent on Active Workbook Mode FastExcel V3 User Guide FastExcel V3 Controlling Calculation e 44 Excel Calculation Settings Set Book Modes FastExcel 2 Set Workbook Calculation Modes Set the Default Workbook Calculation Mode C Automatic Manual Semi automatic Select Workbooks then Set Book Calculation Mode Booki Manual FastExcelB431 xIs Default Fibonacci Retracement Spreadsheet xls Manual phoptbook2 xls Automatic WatSurfBarCheck xls tulsanzipdems xls SemiAutomatic MultipleCriteria xls Default Use Defaut Manual Automatic Semi Auto OK Cancel Help Default Active Workbook Calculation Mode The Default Workbook You can change the FastExcel default workbook calculation mode calculation Mode only whenever you want The FastExcel default will apply to all workbooks in applies wh
119. adsheet by finding and areas or Bottlenecks eliminating calculation Because Excel is such a flexible spreadsheet system there are usually bottlenecks many different formulas that can produce the answer you want Some of these formulas are much faster than others and SpeedTools gives FastExcel V3 helps you find you faster alternatives for many functions and prioritize bottlenecks f a a In large spreadsheets it can be difficult to locate and prioritize the Bottlenecks You can use the Drill down wizard and the wide variety of timing and profiling tools in FastExcel to rapidly drill down locate and prioritize these bottlenecks and then use SpeedTools extensive function library to find faster calculating solutions Help and advice on optimizing bottlenecks is just a click away with FastExcel s built in Contextual Help and is also available in the Optimizing Excel Calculations and Memory manual FastExcel V3 User Guide Using FastExcel Profiling Quick Start and Drill down Wizard e 20 Full Calculation Recalculation and Volatility What and Why To get the best out of FastExcel you need to understand the difference between an Excel Recalculation where Excel works out how to recalculate the smallest number of formulas possible and an Excel Full Calculation where Excel calculates every single formula regardless of whether it has already been calculated or not Volatile formulas get Which of these types of calculation is more important
120. aeeeeeeeeeeeeeaeeeeaeensaeeeeeees 69 The Calculation Settings Tables raad iie i i aie a 70 Profile Workbook Profile the active Workbook and all its Worksheets ee 73 Choose Profile Workbook Options ccccssccccecesessnsececeeecessesseaeeesessseseeaeens 73 The Worksheet Profiles Table cceecceeeeeeeseceeseeeeeeeceeeeeeeaeeeaeeeeaaeeeeeeeenaeee 74 Worksheet Profiles Table 2 ccccccccssscccessececsesececeeaececesaeeeesesaeeeesssaeeeesas 78 Worksheet Profiles Table 3 cccccccsssccccesseceeeesecccseaececesseeeceesaeeeesesaeeeeaas 79 The Workbook Summary Table cccccsesseccecesessscseceeeeeceseeseeeeeeessessesaaeess 80 Profile Worksheet Areas Details of the Formula areas on the Sheets n e 82 Choose Profile Worksheet Areas Options ccccccccccsssssseceeseessesssteeeeeeseesees 82 Worksheet Areas Profile Table ceecceeseececeeeeeceeaeeeeeeeceseeeeaeessaaeeneaeeenaes 83 FastExcel V3 User Guide FastExcel Version 3 e 4 Worksheet Formulas Profile Table c ccccccccccsccccccsssscsseesseceeeesseuseeueeseeeees 86 Using the FastExcel Go To command with the Worksheet Formulas Profile Tableiciicteeceteiet avis naiee neater ei eine eek Aa ale 87 FUNCTION Profile Tabletes eiside tev tae tena a AE EREE 88 Map Worksheet Cross references cccccsesssscceceessesesaeceeececeesnaaeeeeseeesesuaeeeeeessessaaeas 89 Worksheet Calculation Sequence Forward Cross reference Tables
121. all open workbooks The Calculation mode is initially set from the first workbook opened and is not changed when other workbooks are opened Use the new FastExcel calculation options to override Excel s standard calculation methods These new calculation options only work when you have FastExcel V3 Calc loaded FastExcel V3 User Guide Excel uses the same calculation mode for all open workbooks Excel sets the initial calculation mode from the first previously saved workbook opened This initial calculation mode will not change when additional workbooks are opened and will only change when either the user or a VBA program changes it If you start Excel with a brand new empty workbook and make changes to that workbook then the calculation mode is Automatic If a manual mode workbook is opened in automatic mode the workbook will be calculated FastExcel gives you many new calculation methods which you can use to change and control the default Excel calculation settings The settings are in three groups Excel settings Workbook settings and FastExcel settings The additional Calculation settings only available with FastExcel include e Active workbook mode e 5 additional calculate buttons amp 2 new calculate keys e Initial calculation modes e MixMode worksheets selection and options e Restore calculation mode after open e Calculate MixMode sheets on open e Optional calculation timer for buttons and keys FastExcel V3
122. alue found Rgx AMATCH2 e or the relative position of all the values found Rgx AMATCHES2 e or the relative position of the Nth value found Rgx AMATCHNTH These functions are similar to the Rgx AVLOOKUP2 Rgx AVLOOKUPS2 and Rgx AVLOOKUPNTH functions except that they return row numbers rather than values These functions are NOT case sensitive The Rgx AMATCH family of functions are multi threaded non volatile array functions Rgx AMATCH Family Syntax Rgx AMATCH2 RegExp Lookup_Table Not_Found Lookup_Columns MemType_Name The first 3 parameters are required the last 3 parameters are optional Rgx AMATCHES2 RegExp Lookup_Table Lookup_Columns The first 2 parameters are required the last parameter is optional Rgx AMATCHNTH RegExp Lookup_Table Not_Found Lookup_Columns Position The first 2 parameters are required the last 3 parameters are optional Rgx AMATCH2 Rgx AMATCHES2 and Rgx AMATCHNTH return row number s within the range specified by Lookup_ Table RegExp required Specifies the Regular Expression Pattern s to be matched against the value in the Lookup_Column s Can be a single Regular Expression or multiple Regular Expressiones arranged in columns multiple lookup columns and rows multiple Lookup Rows A single Regular Expression can be a constant or a cell reference Multiple lookup Regular Expressions can be specified either as an array of constants or as a range referring to multiple cells T
123. anation sBBBa va a True String starting with a followed by any characters and ending with a a2a a a True String starting with a followed by any single character followed by a BAT123khg B T True B followed by any single character followed by T followed by any or no characters CAT123khg B T False B followed by any single character followed by T followed by any or no characters FastExcel V3 User Guide SpeedTools Filters Filtering Functions e 175 Criteria Lists Criteria can be given either as a single criteria or a list of alternative Criteria A list of alternative Criteria can be either an array of Constants or a Range Reference The individual elements in the array or cells in the Range Reference may each start with their individual criteria Operator or may not have a criteria operator If a list of alternative criteria is given it is treated as an OR for each element of the Criteria Column If the first element in the list or range is the character then the list is treated as an exclusion list values in the criteria column that match any of the items in the list are excluded from the filter Criteria Lists Examples FILTER IFS 0 SAS1 SCS6 Hundreds Digits Four One Two Tens Fifty Fourty Thirty Twenty The Digits column must contain any of Four One or Two and the Tens column must contain any of Fifty Forty Thirty or Twenty CriteriaColumnz
124. andling errors in formulas It is similar to the IFERROR function available in Excel 2007 and later Excel versions but also works with earlier Excel versions and has options to pass through N A and Value Description Returns a value you choose if the formula expression returns an error otherwise returns the result of the formula expression Sometimes you need to be able to trap all error values except N A or VALUE so that the error value is allowed to propagate through dependent formulas So IFERRORX allows you to optionally request that N A and or Value are NOT considered as errors by IFERRORX but are passed through instead Its more efficient to use IFERRORX instead of formulas like IF ISERROR VLOOKUP A1 B1 C65000 2 FALSE Not Found VLOOKUP A1 B1 C65000 2 FALSE IFERRORX is a multi threaded non volatile array function IFERRORX Syntax IFERRORX TheExpression Value_if_error Exclude_NA Exclude_Value TheExpression Required The value of formula expression to be checked for an error Value_if_error Required The value to return if Expression evaluates to an error Exclude_NA Optional If TRUE and the error is N A do NOT evaluate as an error and so return N A Default FALSE Exclude_Value Optional If TRUE and the error is VALUE do NOT evaluate as an error and so return VALUE Default FALSE Remarks If the IFERRORX function is contained in an array formula and TheExpression returns an array of values
125. ange if less than the Application calculation version Profiling Commands e 72 Profile Workbook Profile the active Workbook and all its Worksheets Profile Workbook Profile the active workbook and all its worksheets This command is not available when using the trial version of FastExcel Profiler Because Excel calculates all open workbooks rather than just the active workbook you can get misleading calculation times if you have multiple workbooks open during Profile Workbook Workbook Profiling Options I Profile the Workbook itself Cell warning Orange Choose Profile Workbook Options W x Workbook Sheet Profiling F Pr tions Events during Calculation i ore Profile Sheet Memory a V Profile Multi threaded Calculation Profile Worksheet Volatility Switch off Events Profile Worksheet Sparseness Set Warning Tolerance Profile Book Memory a V Profile Multi threaded Calculation IV Profile Workbook Volatility Choose Profile Workbook Options Because Profile Workbook can take a long time to execute these options allow you to include or omit various profiling options Profile all the worksheets if switched off the individual worksheets will not be profiled Profile Sheet Memory this can be a very time consuming option and is switched off by default Profile Multi Threaded Calculation If checked each worksheet will be calculated once using multi threaded
126. antly On sheet notes are counted Shapes Count Count of the number of shapes in the Drawing layer for as shapes this sheet Includes hidden and zero height shapes Use FastExcel s Clean Workbook command to remove zero height shapes Colored orange if any of the shapes are linked by formula slows calculation and editing HyperLinks Count Count of the number of Hyperlinks on this sheet The hyperlinks can be internal or external to the workbook Large numbers of hyperlinks can be slow Sheet Calc Mode Shows the MixMode calculation mode for the worksheet e Book the Sheet will be calculated whenever the Workbook calculates e F The Sheet will be calculated at every Full workbook calculation e M the Sheet will be calculated at every Manual workbook re calculation e S Shift F9 worksheet Calculate will calculate the worksheet when it is selected Either Book or any combination of F M and S is allowed FastExcel V3 User Guide Profiling Commands e 79 The Workbook Summary Table Volatility and MTC are The Workbook Summary table shows the cell counts workbook key measures of calculation times workbook volatility workbook overhead bytes per calculation efficiency cell and names count for the profiled workbook The workbook Summary table is only produced if the Analyze the Workbook option is checked in the FastExcel Settings The Workbook Summary Table Cell Counts 188 138 6 305 1 152 26 143 AI This shows totals of th
127. aracters except numeric digits 0 9 and the decimal separator character You can choose either to select all groups or the nth group from the start or end of the text string You can set the maximum number of characters to be returned either from the left or the right of the result set of characters You can also control the start and end point of the search for groups within the text string GROUPS is a multi threaded non volatile function GROUPS is not an array function GROUPS Syntax GROUPS Text GroupNumber MaxChars GroupType StartPos EndPos Text Required The text to extract the groups of characters from Can be a range or a constant or any expression that returns a string GroupNumber Optional default 1 The position number of the group to be extracted from within the text string e Avalue of zero extracts all the groups within the text string and concatenates all the groups of characters e A positive number extracts the Nth group from the start of the text string working forwards e A negative number extracts the Nth group from the end of the text string working backwards MaxChars Optional default 0 The maximum number of characters to be returned A value of zero returns all the extracted characters A positive number restricts the number of characters starting from the left for example 3 would return only at most the 3 leftmost characters from the extracted characters A negative number restricts the number o
128. art of FastExcel V3 Name Manager Pro Eliminate Unnecessary Calculations e Use FastExcel V3 Calc s extended calculation options to control exactly which parts of your spreadsheets should be calculated e Look for duplicated calculations in formulas or parts of formulas and break them out into a separate column so that they only have to be done once Slow VBA UDFs e Installing FastExcel V3 Calc will bypass Excel s VBE UDF refresh bug and speed up calculation when you have a large number of VBA UDFs e SpeedTools powerful and extensive range of functions may be able to replace some of your VBA UDFs Look at the Optimizing Excel Calculations and Memory manual or click FastExcel Contextual Help for more details and advice FastExcel V3 User Guide Optimizing Excel Calculation Bottlenecks e 24 Addressing Calculation Bottlenecks Once you have identified the calculation bottlenecks you can use FastExcel to help you reduce or eliminate them Tune up your spreadsheet with FastExcel FastExcel Contextual Help Find all the cells with the same Number Format or Style Use the Clean Workbook or Where Used command to create Maps of where the Number Formats and Styles are being used FastExcel V3 User Guide e Select a cell containing a problem formula and use FastExcel s Contextual Help or Speedup Help for advice on how to improve common bottlenecks e Use the CrossRef command to find improved worksheet calculation sequenc
129. ast character within Text to be considered as potentially part of a group 0 signifies the last character in Text The position of the first character in Text is 1 Use StartPos and EndPos to limit the part of Text to be searched for groups FastExcel V3 User Guide SpeedTools Extras Text Functions e 306 GROUPS Examples If A1 contains the text string 123_abc45 zz06x then GroupType Examples GROUPS A1 0 returns 1234506 default group type is the numbers GROUPS A1 0 1 returns abczzx all the alpha characters GROUPS A1 0 2 returns _abc zzx all the characters that are not numbers GROUPS A1 0 3 returns 12345 06 numbers and decimal separator GROUPS A1 0 4 returns _abczzx all the characters that are not numbers or decimal separator GROUPS A1 0 xyzb returns bzzx all the characters that match the Regular Expression pattern GroupNumber Examples GROUPS A1 2 returns 45 the second group of numbers from the left GROUPS A1 2 1 returns zz the second group of alpha characters from the left GROUPS A1 1 2 returns _abc the first group of non numeric characters from the left GROUPS A1 1 1 returns x the first group of alpha characters from the right GROUPS A1 1 returns 06 the first group of numbers from the right GROUPS A1 0 3 returns 123 the leftmost 3 numbers of all the numbers GROUPS 123 4567 1 returns 123 the decimal point is not a numeric character so the first group of numbers is returned
130. astExcel V3 User Guide SpeedTools Extras Information Functions e 291 COUNTCONTIGROWS2 Example Assuming that cells B4 B55 contain 10 and cell B2 B3 and cell B56 are empty then COUNTCONTIGROWS2 B4 returns 52 51 consecutive non empty rows from B5 to B55 plus row 4 itself COUNTCONTIGROWS2 B2 returns 1 the cell below B2 is empty COUNTCONTIGROWS2 B3 returns 53 52 consecutive non empty rows from B4 to B55 plus row 3 itself even though B3 is empty FastExcel V3 User Guide SpeedTools Extras Information Functions e 292 COUNTUSEDROWS2 Function The COUNTUSEDROWS2 function counts the number of rows down to the end of the used range for this sheet COUNTUSEDROWS2 Syntax COUNTUSEDROWS2 theRow TheRow A range reference to a row COUNTUSEDROWS2 counts the number of rows including blanks and empty cells down to the end of the used range for the sheet containing theRow The count includes the top row of the referenced range COUNTUSEDROWS2 Remarks COUNTUSEDROWS2 is a volatile function If the reference specified for theRow contains more than one row the top row will be used The used range may contain empty rows or columns Whenever the COUNTUSEDROWS2 function is calculated the used range for the worksheet containing theRow will be reset COUNTUSEDROWS2 Example Assuming that cell B55 contains 10 and cell Z75 is empty but coloured yellow and no other cells have been formatted then COUNTUSEDROWS2 B4 returns 72 row 75 is
131. at are not currently being used Colored orange if gt 100 Note a very large number of temp files may cause FastExcel to hang with the status bar showing Checking Temp Files If this occurs close Excel reboot your PC and then delete all files in your temp folder You can locate your temp folder using Start gt Run entering temp in the run box and pressing enter Colored orange if gt 15 e VBE Total Number of Windows in use by the VBE IDE Includes hidden windows A large number of open VBE Windows consumes resources and may cause memory problems If blank in Excel 2002 or later check Allow access to Visual Basic Project in Tools Macros and Security The Clean Workbook command can close all unnecessary VBE Windows e Addins The number of Excel Add Ins currently loaded by Excel s Addin Manager This excludes any addins that have been loaded using File Open or the Decision Models Addin Loader FastExcel V3 User Guide Profiling Commands e 69 The Calculation Settings Tables See FastExcel Calculation a You can use the FastExcel Calculation Options button to change Options for a detailed these calculation settings description of these options Calculation and how to set them Options The Excel Calculation Settings Table By default Excel Calculation Settings apply to all currently All open workbooks Automatic TRUE FALSE Automatic First Workbook 8 FALSE 100 0 001 e Workbook Mode All or Active Book
132. ata The LIST functions are either entered as multi cell array formulas using Control Shift Enter or are nested inside another function that processes the result array The COUNT functions return a single value and do not need to be entered as array formulas Options are available for e Case sensitivity Case_Sense e Distinct Rows ByRows e What to show in the unused cells PadType e Sorting the output lists Sort e Ignoring any combination of error values blanks or zeros Ignore All of the LISTDISTINCTS functions are multithreaded non volatile array functions The Function Wizard category for the LISTDISTINCTS family is Statistical The SpeedTools category for the ListDistincts family is Filters FastExcel V3 User Guide SpeedTools Filters Filtering Functions e 188 LISTDISTINCTS Function LISTDISTINCTS is an array function that returns an array of the distinct cells or row in the input data Options control what data will be ignored case sensitivity sorting the output and padding the output array LISTDISTINCTS Syntax LISTDISTINCTS theInputData Ignore ByRows Case_Sense Sort PadType theInputData thelnputData can be a range or an array of constants or an expression returning an array It identifies the data to be searched for distinct items Ignore Optional Controls what cell values will be ignored by the distinct test e 1 Error values ignored 2 Blanks or Empty Cells ignored 4 Zero values ignore
133. ation Active Workbook Mode Open multiple workbooks but only calculate the one you choose to activate Multiple Book Calculation Modes Extend Active Workbook Mode to have a mixture of Manual and Automatic workbooks open at the same time using FastExcel Set Book Modes Multiple Worksheet Calculation Modes Make some worksheets in a workbook calculate automatically but others only when you request calculation using FastExcel s Mixed Mode Worksheet settings and Calculation buttons Control Excel s Initial Calculation Mode Force Excel to open in Manual mode to prevent your workbooks being accidentally recalculated when you open it or force Excel to open in Automatic mode Optionally automatically reset Excel s Calculation mode after the workbook has been opened for exceptional workbooks that need their own calculation mode FastExcel V3 User Guide SpeedTools Overview e 159 Getting Started with FastExcel SpeedTools In Excel 2007 and later versions the SpeedTools functions are available from the SpeedTools Function Library group on the FastExcel V3 Tab as well as being integrated into the Excel Function Wizard and function categories B Lookup Reference Al Sorting TF Arrays Logical IE Text I Information Y Filtering IB Math Functions Help SpeedTools Function Library Clicking a function group button for example Filtering shows you a list of the available functions in that function group together with a short descripti
134. ation methods either FastExcel s additional calculation modes and options will not operate or you may get unexpected results You can access FastExcel s calculation methods from VBA either by using Application Run or by setting a reference in your VBA project to FastExcelV3 Alt F11 to go to the VBE then Tools gt References and check the box beside FastExcelV3 The available calculation methods are FxlRangeCalc FxlRangeCalc calculates the selected range on the active sheet in the same way as the FastExcel Calculate Range button includes special processing for Excel 2002 FxlSheetCalc FxlSheetCalc recalculates the selected worksheet s in the same way as the FastExcel Recalculate Sheets button FxlFullSheetCalc FxlFullSheetCalc full calculates the selected worksheet s in the same way as the FastExcel Full Calculate Sheets button FxIBookCalc FxlBookCalc recalculates workbooks in the same way as the FastExcel Calculate Book button FxlFullbookCalc FxIFullBookTime does a full workbook calculation in the same way as the FastExcel Full Calculate button FxIDisabledSheetsCalc FxIDisabledSheetsCalc recalculates workbooks including Mixed mode worksheets FxIFullDependCalc Only Excel 2002 and later The workbooks will have their dependency trees rebuilt and a full calculation will be done FastExcel V3 User Guide Using FastExcel V3 with VBA e 319 MICROTIMER function The MICROTIMER function is a wrapper function f
135. ave the answer the last time the Case AMATCH2 was calculated still gives the correct answer If it does then Case AMATCH2 will return that answer without doing any more processing When using Lookup memory and there are multiple exact match answers available Case AMATCH2 will not necessarily return the answer from the same row as MATCH Case AMATCHES2 and Case AMATCHNTH do not use lookup memory Position Optional Defaults to 0 Case AMATCHNTH only Controls which result will be returned from multiple matches N where N is a positive integer The Nth match found will be returned 0 If sorted ascending the largest value that is less than or equal to Lookup_ Value If not sorted then the first value found If sorted descending then the smallest value that is greater than or equal to lookup value 1 The first value found will always be returned 2 the Last Value found will always be returned 3 All matches found will be returned FastExcel V3 User Guide SpeedTools Lookups Lookup Functions e 242 Remarks Case AMATCH2 returns the first row number that it finds which meets these criteria e Sorted Ascending the largest value that is less than or equal to Lookup_Value e Sorted Descending the smallest value that is greater than or equal to Lookup_ Value e Not Sorted The first row containing a value equal to Lookup_Value except when using the built in memory function In this case Case AMATCH2 will return the same
136. ble empty cell e COUNTUSEDROWS2 and COUNTUSEDCOLS2 count the number of rows or columns from a referenced cell to the last cell in the used range You can use these functions in Dynamic Range names and for the number of rows and columns arguments in OFFSET COUNTROWS2 and COUNTCONTIGROWS2 can count rows in either a single column or multiple adjacent columns Similarly COUNTCOLS2 and COUNTCONTIGCOLS2 can count columns in either a single row or multiple adjacent rows All these functions COUNTROWS2 COUNTCOLS2 COUNTCONTIGROWS2 COUNTCONTIGCOLS2 COUNTUSEDROWS2 and COUNTUSEDCOLS2 are volatile functions Changing cell visibility using Automatic or Advanced filter will trigger a recalculation of COUNTROWS2 COUNTCOLS2 COUNTCONTIGROWS2 and COUNTCONTIGCOLS2 Changing cell visibility using Hide Unhide or by setting width or height to zero will NOT trigger a recalculation of COUNTROWS2 COUNTCOLS2 COUNTCONTIGROWS2 and COUNTCONTIGCOLS2 These functions are volatile NOT thread safe NOT array capable functions FastExcel V3 User Guide SpeedTools Extras Information Functions e 288 COUNTROWS2 Function The COUNTROWS2 function counts the number of rows from a reference row to the last visible non empty cell in the referenced columns COUNTROWS2 Syntax COUNTROWS2 theColumns TheColumns A range reference to a cell or cells in the columns whose rows are to be counted COUNTROWS2 counts the number of rows including blanks and empty ce
137. ble number of rows depending on how many rows meet the lookup criteria So you should use them either in an array formula that returns multiple rows or embedded in functions like SUM AVERAGE etc that can handle arrays containing a variable number of results Rgx Case AMATCH2 and Rgx Case AMATCHES2 Limits e Excel 2000 limit array functions like Rgx Case AMATCH2 to returning a maximum of 5461 values Rgx Case AMATCHES2 returns Value when this limit is reached You should be careful when returning multiple matches that this limit will not be reached There is a registry change and fix for Excel 2000 that eliminates this 5461 values limit See Microsoft Knowledge Base article Q250828 FastExcel V3 User Guide SpeedTools Lookups Lookup Functions e 255 EVAL2 function evaluate a string EVAL2 is an array function that evaluates a string as though it was an Excel formula or an Excel defined name and returns the result of the evaluation or N A if the string cannot be evaluated EVAL is NOT multi threaded is volatile and an array function EVAL2Syntax EVAL2 theInput theInput any mixture of constants functions expressions names and ranges that evaluates to a string If the resulting string cannot be evaluated as an excel formula or defined name the function will return Value EVAL2 Remarks and Limits EVAL2 is a volatile function Because EVAL2 is a volatile function every formula containing an EVAL2 function will be reca
138. ccccceeees 157 5 New functions to simplify and extend array handling cccccccsssssseceeeeessssseees 157 10 New Text handling Functions 0 cccsesseceecessessececececeesesaeeeeecesseseaaeaeeeessesseaeas 157 6 Dynamic Sorting FUNCTIONS ee ee e a a e a aa ie aia SEEE 157 New Math and Statistics functions eee eee eeeeeeeeeeeeaeeeeaeeceeeeeeeeeeesaeeeeaaeseeeeeseeees 158 New Calculation Methods amp Properties c ccccccccssssssecececsssesscteaeeeeecesecteaeeeeeeeseeeees 159 Extended Calculation Modes cccescceesseeesceceeeeeceeeeeesaeeesaeceeaeeceeeeesaeeeeaaeeeaeesneeees 159 Getting Started with FastExcel SpeedTools 160 The Excel 2003 SpeedTools Toolbar ccccccccccscssssssceceeecessesssneaeeescessesseaeeeeeessesseaees 160 SpeedTools Functions 161 ExGel FUNCHION Wizarde n e a T aE 161 SpeedTools Functions by Product and Category ccccccesssscccecessessstsceeeeeeesseseaeees 164 SpeedTools Functions Properties cccccccccessssssececececessessaeeecesssessaeseeeeecessessaeeeeess 166 SpeedTools Filters Filtering Functions 168 The FILTER IFS Multiple Criteria Function Family cccccsssscccecessssseceeeeeeesesssaeees 169 FastExcel V3 User Guide FastExcel Version 3 e 11 FILTER IES FUNC OM ineen n anene anata aea eens e duet aaa a atoms a at aana 171 FILTER IFS and ASUMIFS Examples cccccecceeseeesceceaeceaeceaeceaeceeeeaeesaeesaeeeaaesaeeaeeees 178 FILTER SORTED FUNCtI
139. ceCalls Mfg SpaceCalls Defense SuperPhone Mfq SuperPhone Step 1 Choose the way your Range will expand Expand Rows Only C Expand Columns Only Expand Both Rows and Columns Cancel Select one of the three options and then press the Next button FastExcel V3 User Guide Dynamic Range Wizard e 119 Dynamic Range Wizard Step 2 In this step you select the anchor cell the expansion method and any additional fixed rows or columns you want to include in the Dynamic Range FastExcel Dynamic Range Wizard Step 2 of 5 You have chosen to expand the range by rows and to keep the columns fixed Your Dynamic range will expand from a cell you choose as the anchor cell This cell should be the top left cell of the Range Step 2A Choose Dynamic Expansion Method Index Method C Offset Method Step 2B Select the Anchor Cell Also select any additional fixed columns to be included in i the dynamic range The additional fixed columns must be selected in the same row as the anchor cell D 3 Cancel lt lt Back Next gt gt Help i A Wooo aa This is the form you will see if you chose to expand by rows only in Step 1 The words will change appropriately if you select a different option in Step 1 Step 2A Choose Dynamic Expansion Method The Dynamic Range Wizard creates formulas stored in Excel Defined Names that return automatically resizing ranges These formulas can u
140. cel s sorting sequence rules e Numbers lt text lt logical e Lower case characters lt upper case characters e Numbers stored as text are always treated as text rather than numbers e The comparison of characters and some character pairs is dependent on the Locale collating sequence in force when the Excel session was started FastExcel V3 User Guide SpeedTools Extras Text Functions e 312 ISLIKE2 array function for pattern matching strings The ISLIKE function performs a wild card comparison between a string and a pattern using VBA Like and returns True if the string matches the pattern or False if it does not or an error occurs ISLIKE can be used as an array function ISLIKE is multithreaded is non volatile and is an array function ISLIK2ZE Syntax ISLIKE2 theString thePattern CaseSensitive theString An expression constant or Range that can be resolved to a string or array of strings the string s to be compared to the pattern If theString contains numeric values they will be converted to strings ThePattern An expression constant or Range that can be resolved to a string or arrays of strings the pattern s to be used in the comparison Patterns can contain e Any number of characters including none e Any single character ISLIKE2 Array function usage When ISLIKE2 is used as an array function or inside an array formula each of the input arguments can be a single value a one or two dimensional array
141. cel V3 Profiler will measure the multithreaded efficiency both of the individual worksheets and the overall workbook and can identify any single threaded functions being used FastExcel V3 User Guide Using FastExcel Profiling Quick Start and Drill down Wizard e 21 Step by step Drill Down to Calculation Bottlenecks If you would like to get some immediate results on your workbooks without delving into lots of details you can simply use the Drill down Wizard to find the Calculation Bottlenecks Once you are more familiar with some of FastExcel s features you can use the online help and FastExcel manuals to investigate additional ways of finding and eliminating bottlenecks calc Range fMReCalc Books Pg Time a enim Formulas Lookups 2 Sort GaArrays Nm age Sal Where Used Mem Used I Contextual D about E Recalc sheet By Full calculation Go To PalWorkbook s24crossRefs f Logical A Text f Info Pro eas TE Hi cieaner kl Pivotmem Q speedup Help License View Edi ee Calculation gg j Name Gl Futicalc Sheet E mixmode Recalc Go Back E worksheet V Fiter f Math Fn Help Mar Pro F sans G Reset NM FXLV3 Help ormulas Manager FastExcel Calculation Control FastExcel Profiler SpeedTools Function Library FastExcel Manager Memory FastExcel Help Step 1 Clean and Backup your Workbook Be sure to back up your H workbook before you start Back up your workbook using Clean Workbook and use the commands to remove unnecessary items and was
142. cessing When using Lookup memory and there are multiple exact match answers available MEMLOOKUP will not necessarily return the answer from the same row as VLOOKUP Vertical_Horizontal Optional Defaults to 1 This parameter controls whether the lookup is done vertically or horizontally FastExcel V3 User Guide SpeedTools Lookups Lookup Functions e 214 0 Guess if the number of rows gt the number of columns vertical otherwise horizontal 1 Always Vertical Default 2 Always Horizontal MEMLOOKUP Performance If your data is unsorted and there is no Lookup Memory already available for the position of the MEMLOOKUP formula then MEMLOOKUP will do a linear search and store the row or column index found in the Lookup Memory for subsequent MEMLOOKUP calls In this case the second execution of the MEMLOOKUP formula will be much faster than the first If your data is sorted then MEMLOOKUP will do an exact match Binary Search which is very fast and the second execution of the MEMLOOKUP formula will also be very fast FastExcel V3 User Guide SpeedTools Lookups Lookup Functions e 215 MEMMATCH Function The MEMMATCH function uses Memory Lookup for faster exact match lookup on both sorted and unsorted data Use MEMMATCH to replace the MATCH function MEMMATCH always does an exact match On sorted data MEMMATCH does an exact match binary search If no match is found MEMMATCH returns N A even with sorted data For a vertical ran
143. ches e N where N is a positive integer The Nth match found will be returned e 0 The first value found will always be returned e 1 The first value found will always be returned e 2 the Last Value found will always be returned e 3 All matches found will be returned Remarks Rgx Case AVLOOKUPS2 with one or more rows of Lookup_Values and Rgx Case AVLOOKUP2 or Rgx Case AVLOOKUPNTH with multiple rows of Lookup Values can return a variable number of rows depending on how many rows meet the lookup criteria So you should use them either in an array formula that returns multiple rows or embedded in functions like SUM AVERAGE etc that can handle arrays containing a variable number of results Rgx Case AVLOOKUPS2 Limits e Excel 2000 limits array functions like Rgx Case AVLOOKUPS2 to returning a maximum of 5461 values Rgx Case AVLOOKUPS2 returns Value when this limit is reached You should be careful when returning multiple rows that this limit will not be reached There is a registry change and fix for Excel 2000 that eliminates this 5461 values limit See Microsoft Knowledge Base article Q250828 FastExcel V3 User Guide SpeedTools Lookups Lookup Functions e 249 Rgx AMATCH2 Rgx AMATCHES2 amp Rgx AMATCHNTH functions Search for values in one or more columns of a table and return the relative position of the row s where a match is found Advanced MATCH functions returning e either the relative position of the first v
144. column This example looks for Superphone in the Product column and returns the corresponding value from the Spend column To lookup a column that is not the first column you can use INDEX and MATCH INDEX A2 E7 MATCH Superphone c2 c7 1 5 1200 With AVLOOKUP2 you can specify both the return column and the lookup column directly AVLOOKUP2 Superphone A1 E7 spend TRUE FALSE product 1200 Two dimensional lookup This example looks for Superphone in column C and Spend in row 1 and returns the value of the intersection of the row and column found You can do a two dimensional lookup using INDEX with two MATCH functions INDEX A2 E7 MATCH Superphone c2 c7 1 MATCH Spend A1 E1 0 1200 AVLOOKUP2 handles two dimensional lookups directly AVLOOKUP2 Superphone A1 E7 Spend True False product 1200 Error handling two dimensional lookups using INDEX and MATCH is messy IF ISNA INDEX A2 E7 MATCH superphone C2 C7 1 MATCH spend A1 E1 0 None INDEX A2 E7 MATCH superphone C2 C7 1 MATCH spend A1 E1 0 1200 AVLOOKUP2 handles error handling for two dimensional lookups directly and much more efficiently AVLOOKUP2 Superphone A1 E7 spend Asc None product 1200 FastExcel V3 User Guide SpeedTools Lookups Lookup Functions e 229 Multicolumn and 2D lookup This example loo
145. columns The values from each argument are placed in turn into the output array appending column wise to the right FastExcel V3 User Guide SpeedTools Extras Array Handling Functions e 276 For the arguments that have less than 3 rows the missing rows are filled with the pad character zero in this case Because the formula was array entered into 4 rows by 8 columns Excel has added N A in the 4 row and 8 column Entering SUM COL ARRAY 0 A2 C2 100 200 300 B4 D4 NOT as an array formula returns 621 which is the sum of the values in the output array Entering AVERAGE COL ARRAY 0 A2 C2 100 200 300 B4 D4 NOT an array formula returns 29 57 which is 621 divided by the number of cells in the output array 21 FastExcel V3 User Guide SpeedTools Extras Array Handling Functions e 277 ROW ARRAY Function Creates a single array from multiple arrays or ranges by appending up to 28 Range Array arguments below one another row wise Missing cells in the output array can be filled with Pad characters for example 0 or ROW ARRAY is a multi threaded non volatile array function ROW ARRAY Syntax ROW ARRAY Pad Arg1 Arg2 Arg28 Pad Optional default N A un A cell or character or digit to be used to fill unused cells in the output array for example 0 or When the Arrays or ranges to be appended do not have equally sized dimensions the gaps will be filled with the Pad character Use zero if you want to append diffe
146. cross reference counts with forward cross references highlighted in orange The first table shows forward cross reference counts using the Current Worksheet Calculation Sequence The second table shows the Optimized Worksheet Calculation Sequence and its effect on the forward cross reference counts FastExcel V3 User Guide Profiling Commands e 89 Worksheet Forward Cross reference Tables Sheet Refers To and Referenced By Rows show Refers To counts Reading a row across the table shows you the refers To counts Columns show Referenced By counts Worksheet Forward Cross reference Tables Colour Coding Orange cells show problem Orange highlighted cells show forward worksheet references These are the areas most common cause of excessive workbook overhead Bright green cells on the diagonal are empty because FastExcel does not count references within a sheet Light green columns show worksheets that are not referenced by any other sheet These are typically report sheets for example the Summary sheet Light green rows show worksheets that do not refers to any other sheet These are typically sheets containing the input data Using the optimized Sheet calculation sequence Changing the worksheet If FastExcel has significantly reduced the forward references you will be asked if names changes the you want to automatically change the sheet names workshee
147. culate MixMode Worksheets at each F Automatic Calculation F Manual calculation I Selected sheet s calculation Mixed Mode calculation of MixMode sheets occurs for all open workbooks unless you have selected Active Workbook Mode FastExcel V3 User Guide FastExcel V3 Controlling Calculation e 50 You can control MixMode sheets will be calculated using these options e Full Calculation when this option is checked all formulas including those on MixMode sheets in the active workbook will be calculated when you press Ctrl Alt F9 or the FastExcel Full Calculate button The default is checked e Manual Calculation when this option is checked pressing F9 or FastExcel s Recalculate button will recalculate formulas that are flagged as uncalculated including those on MixMode sheets in the active workbook The default is not checked e Selected Sheet s Calculation when this option is checked pressing Shift F9 or FastExcel s Calculate Sheets button will recalculate formulas that are flagged as uncalculated on all selected sheets MixMode or enabled The default is checked e Automatic Calculation this option is permanently disabled Excel s automatic calculations do not recalculate MixMode sheets except when you enable them of course You can select which sheets will be MixMode sheets using the Select MixMode Sheets button When a workbook is opened If Excel is in automatic mode all MixMode sheets are recalculated If Exc
148. d SortColumn 1 SortColumn15 optional Gives the index column number s of the columns to be used as sort keys Up to 15 sort keys can be specified Positive column numbers will be sorted ascending and negative column numbers will be sorted descending You can have both positive and negative numbers in the same function call 1 denotes the first column in the input data If all Sort Column parameters are omitted all columns in the input data will be used as ascending sort keys VSORTB INDEX Examples e VSORTB INDEX B b a A returns a column with 4 rows containing 3 4 2 1 first is the 3 in the input data a then the 4 A then the 2 b then the 1 A case sensitive collate means lower case before upper case so the a comes before A e VSORTB INDEX A1 C100000 1 2 will return 100000 rows by 1 column of index numbers sorted ascending on column A and descending on column B B 3 b 4 a 1 A 2 FastExcel V3 User Guide SpeedTools Filters Sorting Functions e 206 KEN amp wile Nwe e SpeedTools Lookups Lookup Functions An efficient advanced and powerful set of Lookup functions Outstanding Performance SpeedTools Lookups outperforms Excel s Lookup functions by using better algorithms and efficient C multi threaded coding e Exact Match Binary Search e Memory Lookups e Internal Hash tables for List comparisons and array lookups Advanced Function The table below shows
149. d 8 or larger nothing ignored e Combinations of Ignore values can be made by adding the values together although any resulting value greater than 8 means nothing will be ignored e Default is 3 1 amp 2 ByRows Optional If thelnputData is a range or array with multiple columns and rows you may want either to look for distinct rows of data or to look for distinct items in all the cells If ByRows is specified as True True is the default then each row will be checked against all the other rows for uniqueness Rows where all the columns contain items to be ignored are not treated as distinct If ByRows is False then each cell will be checked against all the other cells for uniqueness Cells containing items to be ignored are not treated as distinct LISTDISTINCTS SUM and LISTDISTINCT AVG always work ByRows The default for ByRows is TRUE Case_Sense Optional Specifies whether the comparison will be made in a case sensitive way Case_Sense TRUE or case will be ignored Case_Sense FALSE The default for Case_Sense is FALSE Sort Optional If O the output list will be in the same sequence as the thelnputData If 1 the output list of distinct items rows will be sorted ascending or if 1 the output list of distinct items rows will be sorted descending For LISTDISTINCTS COUNT LISTDISTINCTS SUM and LISTDISTINCTS AVG using Sort 2 will sort the column of counts sums or averages ascending and Sort 2 will sort them descending
150. d the number of rows in the used range The number of columns will be the number of columns in the input data TheInputData required The data to be sorted given as a vertical array of constants or a calculated range or a range The range or array can contain as many columns as required SortColumn 1 SortColumn15 optional Gives the index column number s of the columns to be used as sort keys Up to 15 sort keys can be specified Positive column numbers will be sorted ascending and negative column numbers will be sorted descending You can have both positive and negative numbers in the same function call 1 denotes the first column in the input data If all Sort Column parameters are omitted all columns in the input data will be used as ascending sort keys VSORTC Examples VSORTC A C will sort column A to C ascending using the minimum of the number of rows in the used range and the number of rows in the multi cell array formula that contains VSORTC If the formula containing VSORTC is only entered into a single cell then VSORTC will return the number of rows in the used range e VSORTC 4 3 1 2 returns a single row with 4 columns containing 4 3 1 2 the input data is a single row e VSORTC 4 3 1 2 returns a column with 4 rows containing 1 2 3 4 e VSORTC A1 C100000 1 2 will return 100000 rows by 3 columns sorted ascending on column A and descending on column B 1 3 K L M N gt v o o Topo oop oro wp ow
151. d value Multiple pairs of Lookup_1stCol and Lookup_1stRow values will return a vector of values LINTERP2D is a multi threaded non volatile array function LINTERPZD Syntax LINTERP2D Lookup_1stCol Table_Values Lookup_1stRow Lookup_1stCol the value s to lookup in the first column of Table_Values Table_Values a rectangular set of values to be used for the interpolation The first column must contain the values to be looked up using Lookup_1stCol The first row must contain the values to be looked up using Lookup_istRow The other rows and columns contain the values to be interpolated between Lookup_1stRow the value s to lookup in the first row of Table_Values Remarks Table_Values must be a rectangular set of values range array or expression sorted ascending on the first column and on the first row It should not contain empty values in the first column or row Table_Values should not contain column or row labels When using more than one pair of Lookup_1stCol and Lookup_1stRow values LINTERP2D should be entered as an array formula using Control Shift Enter LINTERP2D returns NA if Lookup_istCol or Lookup_istRow are outside the boundary values of Table_Values LINTERP2D returns VALUE if any of the used input values are not numeric FastExcel V3 User Guide SpeedTools Extras Mathematical Functions e 260 Calculating Gini Coefficients with GINICOEFF This function is extremely efficient at calculating Gini coeffic
152. dding or changing Functions References and Defined Names cccccccseessreees 137 Add Reference aiea Ait alee einai a a Qiaaenee aaia 137 Function Wizard s eies tetas en a e a a e i e aa eae a aie dates 137 PESONN E E T AT A 138 E E A E E EA 138 This button will remove all the text from the formula Dox nesses 138 COPY ENO Miis ae Ai tax tected Rocce aaa Ee a a a aaae aa a aaaea Mies 138 Changing a reference from relative to ADSOIUtC cecceseeeceeessssteaeeeeees 139 Enter Formulasi ea eeo naea aae ENAA EE RERE AEE A AEA A Aaen EE AATE 139 a a a a a a a a a a a ai 140 Initial Indent Stylet enai inea a ai ei aa eaa a ha E 140 Scroll GOTO e aa ea aa aa iaa E arae Ser ane 140 Unhide Hidden GOTOS aranera erara aa aa aeina aea earra aR ieat iai ias 140 Evaluate and Description Settings cccccccccssssssecececessesssseseeeessesssseaeeeesens 141 Edit Mode Array Formula Handling ccccccccsssssececessssssseceeeesesssseaeeeesens 142 Sheet Manager 143 Workbook NaMesin inaenea dessa a iaai ai i 144 Sheets BOXacnienn ia a r ee anit a e aa aa ia as 144 Sheet Manager Action BUTTONS are eoriet erpiar e a a e aerei 145 Hide Un hd e a ai aaa dead a Ae A aaa daat aaa as 145 Prot ct UNprot Cteieiceieiareiineaie i iieii a e i a eia 145 ACTIVATE E Weed ae ile nee aia tie ieee eae 145 Refres hrnca ien nenea ree a e eer id A adie tute ates 145 REMAIN Ga agencies coesiet E E E AEE E E A 145 Del te ice e c eri a eed ee
153. des help about the and help on how to N formula in the active cell or the output from a FastExcel Profiling or optimize Excel formulas for i where used command faster calculation Speedup Help provides advice on making Excel calculate faster FXLV3 Help provides help on the use of FastExcel About FastExcel shows you the currently loaded version and build number License shows you the status of your FastExcel licenses and allows you to enter new licenses or release existing licenses for use on a different machine FastExcel V3 User Guide The FastExcel V3 Ribbon and Toolbars Overview of Commands e 40 FastExcel V3 Controlling Calculation K For Excel 2007 and later the FastExcel Calculation Control group can be found on the FastExcel V3 tab The Calculation Options button gives access to the Excel and SpeedTools Calculation options and settings Options Ty For Excel 2000 to 2003 this toolbar button allows you to review and change standard Excel calculation options the additional FastExcel V3 calculation options and your FastExcel V3 settings FastExcel V3 User Guide FastExcel V3 Controlling Calculation e 41 FastExcel V3 Calculation Options and Settings FastExcel V3 Calculation Options and Settings Excel Calculation Settings Workbook Calculation Settings FastExcel Settings Excel s default methods for Determining Calculation Mode By default Excel uses the same calculation mode for
154. e more than 655536 dependencies in Excel 97 2003 or ForceFullCalculation has been turned on Recalculate before save If in Manual mode checking this option will cause Excel to recalculate uncalculated formulas in the workbook each time it is saved FastExcel Active Workbook Mode Open multiple workbooks but only calculate the active one Set different calculation modes for each open workbook with Set Book Modes FastExcel V3 User Guide FastExcel V3 Controlling Calculation e 43 Whilst this option is active you cannot copy and paste between workbooks Excel normally calculates all the workbooks you have open at each calculation This can cause inconvenience and slow calculation when you have multiple workbooks open FastExcel allows you to set Active Workbook Mode so that Excel will only calculate the active workbook When you set Active Workbook Mode the default is that each open workbook is in Manual calculation mode so that you have to press F9 to calculate the Active Workbook For more complicated situations FastExcel allows you to set different calculation modes for each workbook For example suppose one workbook is set to Automatic and another to Manual e If the Automatic workbook is active then it will be automatically calculated at any change to the workbook but the inactive manual workbook would not be calculated e Ifthe Manual workbook is active then it will only be calculated when you press F9 and the in
155. e when using the Trial version of FastExcel V3 Drill Down will only profile a single worksheet FastExcel V3 User Guide Using FastExcel Profiling Quick Start and Drill down Wizard e 22 Optimizing Excel Calculation Bottlenecks Most Excel spreadsheets contain a number of calculation bottlenecks Some of the most common bottlenecks are e Exact Match Lookup using MATCH VLOOKUP and HLOOKUP Excel has to scan through each row of the data table until it finds a match This can be very slow for large tables e Array Formulas and SUMPRODUCT Using Array formulas and SUMPRODUCT can do amazing things but forces Excel to do many calculations which often results in slow calculations e Excel calculating more than you need you can use FastExcel to more precisely control which parts of your workbooks should be calculated e SUM SUBTOTAL SUMIF and COUNTIF These formulas can make Excel scan a large number of cells e Single threaded Functions Using single threaded worksheet functions can slow down calculation by a large factor e User Defined Functions There are significant overheads involved in calling VBA UDFs and in transferring data from Excel to the UDF With care these overheads can be minimized e Volatile Functions Using volatile functions means that Excel cannot get the best out its smart recalculation engine so that each recalculation takes longer e Conditional Formats A large number of conditional formats can significant
156. e Time to calculate this function In Milliseconds Note that there may be other function calls etc embedded inside this function and the function may also be used in several different formulas Total Millisecs This Function Time in Milliseconds to calculate all the occurrences of this function in this Sheet Area using a single thread Time Function Count Note Timings for functions are indicative only and may not be accurate Function timing is most accurate when the function returns only a single value and when each occurrence of the function is used in an identical formula FastExcel V3 User Guide Profiling Commands e 88 Map Worksheet Cross references a5 i Map Worksheet Cross references produces a tabular map showing how the references between worksheets Worksheet Cross references occur when a formula on one worksheet refers to another worksheet Choose Worksheet Cross Reference Map Optio Minimise Forward Cross Referenc Help Optionally you can also request that the worksheets are re sequenced to minimize the number of worksheet cross references Excel97 and Excel2000 When a worksheet cross references a sheet that is calculated later than the calculate sheets in alphabetic current sheet it is a forward cross reference and can cause additional sheet name sequence calculation time Worksheet Calculation Sequence Forward Cross reference Tables The output is one or two tables of worksheet
157. e ZeroCalcSeq macro from Tools Macros or use the CalcSeqCountSet function See also the CalcSeqCountVol function which is a volatile function which increments the same calculations counter CALCSEQCOUNTSET Function This function allows you to set the calculation counter used by CalcSeqCountRef and CalcSeqCountVol to a value CalcSeqCountSet Syntax CalcSeqCountSet theInput TheInput an integer value or a reference that can be resolved to an integer value This value is used to reset the calculation counter each time the function is executed Alternatively you can run the ZeroCalcSeq macro from Tools Options which will set the counter to zero CALCSEQCOUNTVOL function This function is a volatile version of CalcSeqCountRef CalcSeqCountVol Syntax CalcSeqCountVol The function has no arguments and is volatile The function will increment the calculation counter at each calculation or recalculation FastExcel V3 User Guide SpeedTools Extras Information Functions e 287 Functions for counting Rows and Columns These functions give you the ability to find the number of rows or columns to the last empty cell the next empty cell or the last cell in the used range e COUNTROWS2 and COUNTCOLS2 count the number of rows or columns from a referenced cell to the last visible non empty cell in the row or column e COUNTCONTIGROWS2 and COUNTCONTIGCOLS2 count the number of rows or columns from a referenced cell to before the next visi
158. e counts for all the worksheets The Workbook Summary Table Calculation Times e Sheets Count the total number of sheets in the workbook including Chart Dialog XLM Macro sheets as well as normal worksheets e Range Total Time in milliseconds for Range Calculate for the worksheets The calculation is single threaded This calculation ignores dependencies in Excel 97 and 2000 e Recalc milliseconds to recalculate F9 the workbook immediately after a full calculation e FullCalc milliseconds to fully calculate the workbook Ctrl Alt F9 Keeping Workbook Volatile is Recalculate Time as a percentage of full calculation time a Volatility low is often an high value means one or more of excellent way to improve e High proportions of the formulas are Volatile e Evaluating the dependency trees takes a long time e The workbook is too complex for Excel to build a dependency tree status bar always shows Calculate and there are no circular references e ForceFull calculation is true response time Colored orange if gt orange tolerance 0 125 MTC Factor A measure of the efficiency of multi threaded calculation at book level The ratio of the sum of range calculation single threaded times for each sheet to Full Calculation multi threaded time for the book MicroSecs per Formula Microseconds per formula based on full calculation time FastExcel V3 User Guide Profiling Commands e 80 The Workbook Summary Table
159. e first row in which case at least one of the criteria columns or return column should be identified using a label ReturnCol required for all the FILTER IFS family functions except FILTER MATCH Specifies the column in InputRange from which the subset of data will be returned If given as text will be interpreted as a column label in the first row of the InputRange If given as a number will be interpreted as a column number within InputRange If ReturnCol is 0 then all the columns in InputRange will be returned ASUMIFS and ACOUNTIFS return a row of sums and counts for each column FastExcel V3 User Guide SpeedTools Filters Filtering Functions e 171 CriteriaColumn1 required Specifies the first Criteria Column Can be text a number a Range Reference an array of constants or an expression that results in a column Text will be interpreted as a column label in the first row of the InputRange Number will be interpreted as a column number within InputRange Range Reference will be interpreted as an independent column outside InputRange An array of constants will be interpreted as a column of data An expression will be evaluated by Excel as a calculated column before being passed to the FILTER function If any of the Criteria Columns are calculated columns contain expressions then the FILTER function must be array entered Control Shift Enter Criteria Columns must contain the same number of rows as the InputRange but allowa
160. e left You can convert the trial version to a fully licensed version by entering a previously purchased activation code The activation code can be for any of the 8 FastExcel V3 products FastExcel V3 Bundle All FastExcel V3 products FastExcel V3 Profiler FastExcel V3 Manager SpeedTools Premier Bundle All SoeedTools products SpeedTools Lookups SpeedTools Filters SpeedTools Extras SpeedTools Calc Any combination of trial and full licenses is allowed SpeedTools Calc may be purchased individually when required as the run time for the FastExcel additional calculation modes but is also bundled with all other FastExcel V3 products FastExcel V3 User Guide Installing and Activating FastExcel V3 e 33 FastExcel V3 Licensing Settings You can access the FastExcel V3 licensing settings from either the License button on the FastExcel tab or from the FastExcel V3 Ribbon gt FastExcel Calculation Control gt Calculation Options button and selecting the FastExcel Settings Tab m FastExcel Licenses Show License Status Add New License Show License Status shows you the status of your licenses for all FastExcel V3 products FastExcel V3 Products License Activation Status S License Status FastExcel Bundle Full License Activated Profiler Full License Activated Manager Full License Activated SpeedTools Bundle Full License Activated Calc Full License Activated Lookup Funcs Fw License Activated F
161. e names using Excel s normal methods or through VBA we recommend e Either close the name manager before making the changes e Or click the Refresh button after making the changes Name Manager is Resizable The Name Manager form is dynamically resizable just drag an edge or corner to make the form the size you want Name Manager Splitter Bars There are two splitter bars on the Name Manager form which allow you to control the way the space is divided horizontally between the Names and their Refersto formulas and vertically between the Names ListBox and the RefersTo Edit box Name fe refers to aa allsheets I A x VUUCL LJH MDV IU MOO TIVUULLS DMN oes Showing 84 of 170 names Edit the refers to formula for A6_ReSpondents _FilterDatabase AG Deacnandanteci Nne1 eVei1 eae Just drag the splitter bars to the position you want FastExcel V3 User Guide Name Manager Professional e 101 The Names Listbox Answers Product Answers SectorName B0_Answers B1 A3_UniVerse C 7 A3_UniVerse D 14 OFFSET A3_Universe A3_UniVerse E 14 OFFSET A3_UniVerse Names 2006 Feb 27 _FiterDatabase Names 2006 Feb 27 SAS 1 K 142 Network A3_UniVerse G 7 OurPhones A3_UniVerse G 14 OFFSET A3_UniVerse A3_UniVerse H 14 OFFSET A3_UniVerse ProductCount COUNTA A7_ProductNames A A 1 ProductData A1_ProductData B 2 OFFSET A1_Produc ProductData Addusers A1_ProductData H1 ProductData col
162. e single threaded Choose Profile Formulas Options le esl Profile Formulas Options Contiguous Formula Areas v Profile Worksheet Formulas V Profile Functions Profile All Formulas Time Functions i Profile Selected Formula s j Set Warning Tolerance i Cell Warning Orange Tolerance 0 21 ox l _ You can choose to profile one or both of e Worksheet formulas either all formulas or the formulas in a selected area e Functions used either in all formulas or the formulas in a selected area You can also request to time the individual functions and set the warning tolerance level FastExcel V3 User Guide Profiling Commands e 85 Worksheet Formulas Profile Table This table contains one row for each unique formula sorted in descending calculation time order IF ISNA MATCH ProductData ProductSerial RespondentDa ta colRespondentSerial 0 Mismatch INDEX Respondent Data MATCH ProductData ProductSerial RespondentData SES2 SES534 B N M _colRespondentSerial 0 7 533 0 07 36 29 IF ISNA MATCH ProductData ProductSerial RespondentDa ta colRespondentSerial 0 Mismatch INDEX Respondents MATCH ProductData ProductSerial RespondentData colRe H 2 H 534 B N M_ spondentSerial 0 11 533 0 05 26 30 178 66 15 IF ISNA MATCH ProductData ProductSerial RespondentDa ta colRespondentSerial 0 Mismatch INDEX Respondents MATCH ProductData ProductSerial Responde
163. ed orange if gt 1 orange tolerance FastExcel V3 User Guide Profiling Commands e 77 Worksheet Profiles Table 2 82 1 In the actual FastExcel output these columns are adjacent to the Calc Times columns rather than as shown above Colored orange if gt 1 3 75 orange tolerance average memory per cell and used range memory gt 50 orange tolerance Unused Cells Eliminate the waste by using FastExcel s Workbook Cleaner FastExcel V3 User Guide Sheet Memory the Memory Used by this worksheet This includes Pivot Caches Other This is memory used by the workbook excluding memory used by the worksheets Sheet bytes per Cell Memory used per cell calculated as Worksheet memory count of constants and formulae Measured in Bytes Waste The cells in the Used Range formatted cells constants formulas deleted cleared cells beyond the real Used Range formulas and constants as a percentage of the Used Range Colored orange if gt orange tolerance 10000 cells Significant waste can use additional memory and calculation time Sparse Cells not containing formulas or constants as a percentage of the used range Colored Orange if gt orange tolerance 10000 cells Profiling Commands e 78 Worksheet Profiles Table 3 Products Answers UniVerse So o amp 6 amp Page Breaks True if DisplayPageBreaks is enabled for this sheet can slow down macros signific
164. eececessesseaeceseesseseaeseeeeseseseaees 211 MEMLOOKUP FUNCTION eeceeeceseceeeeeeeeeacecaeecacecaaecaeceaeceseeeeeeseneseaeeaaecaeceaeeeaeeeaeeees 213 MEMMATCH Function cecccesccessceeeeeeeeeaceeaeecacecaaeeaeceaeeseeseneeeeeseaeesaecsaeceaeeeaeeeaeenes 216 COMPARE LISTS FUNCCION sersan a iaa 219 COMPARE LISTS Examples ccecceecceseeeseeeaeceaeceaeceseeeeeeeaeeeaeeeaaesaaecaeeeeeseeeneneeaes 221 AVLOOKUP2 AVLOOKUPS2 amp AVLOOKUPNTH Fun ctions cecceesceeseeeteceeeeeeeeees 224 AVLQOKUP2 EXaMpleS si icascdecvleseies tadaed enida cath aE ate dota Gatun elena 228 Case AVLOOKUP2 Case AVLOOKUPS2 amp Case AVLOOKUPNTH Functions 232 AMATCH2 AMATCHES2 amp AMATCHNTH functions cceeeeeceeeecseeceaeeeaeeeeeeseeees 236 Case AMATCH2 Case AMATCHES2 amp Case AMATCHNTH functions 00000000 240 Rgx AVLOOKUP2 Rgx AVLOOKUPS2 amp Rgx AVLOOKUPNTH Functions c 244 Rgx Case AVLOOKUP2 Rgx Case AVLOOKUPS2 amp Rgx Case AVLOOKUPNTH FUNCTIONS si c2c5 sSoceckisesh Sates eect cl eee iaelcac eo Daas sb vegbaa ea E E tea ee 247 Rgx AMATCH2 Rgx AMATCHES2 amp Rgx AMATCHNTH functions seess 250 Rgx Case AMATCH2 Rgx Case AMATCHES2 amp Rgx Case AMATCHNTH functions 253 EVAL2 function evaluate a String ccccccessececeessessaeceeeescseseseueeeescesseseaaeaeeeeeesseeaeas 256 SpeedTools Extras Mathematical Functions 257 VLINTERP2 FUN CUION nunen A ts behets aia dee a 258
165. eet on the FastXLBook1 sheet and starting the Drill down wizard again Or you can repeat the process for a different area by selecting an area result row on a FastXLSheet worksheet and starting the drill down wizard from there Note The Trial version of FastExcel Profiler will only profile a single worksheet a single Worksheet Area and a single block of formulas using the Drill down Wizard The individual Profile Workbook Profile Worksheet and Profile Formulas commands are not available when using the trial version of FastExcel Profiler FastExcel V3 User Guide Profiling Commands e 65 The Profiling Header All five profiling commands document the profiled workbook by showing a common set of header tables 21 01 2014 10 30 C Users Charles Williams Documen 3 506 752 8 256 668 3 924 736 16 511 472 28 168 2 048 000 1 969 Win 7 Service Pack 1 2591 x8 ents testbooks before xls All Automatic TRUE TRUE Automatic FALSE 8 FALSE FALSE FALSE 100 0 001 TRUE The Physical Environment Table Cells with red dots contain on sheet Notes hover your 3 506 752 8 256 668 3 924 736 16 511 472 up 28 168 2 048 000 cursor to make them pop 1 969 Win 7 Service Pack 1 2591x8 XL 2010 32 bit 145621 The Physical Environment Table shows information about the system Orange if Memory e RAM K Physical Memory Used and installed in K bytes Used gt 1MB and Memory You should have at least enough physical memory ins
166. el gt Abs gt Rel This button or F4 adjusts a single reference at or adjacent to the insertion point from relative to absolute etc The sequence is e Row and column Relative e Row and column Absolute e Relative column and Absolute Row e Absolute Column and Relative Row Structured References are also adjusted from relative to absolute using techniques borrowed from Jon Acampora http www excelcampus com Enter Formula Enter Formula This button attempts to enter the formula from the Formula Box into the destination range If the destination range covers more than one cell the formula will be entered into all the cells If the Array Formula checkbox is ticked the formula will be array entered FastExcel V3 User Guide Indenting Formula Viewer Editor and Debugger V2 e 139 Settings The settings button allows you to change your default settings View Edit Settings Initial Indent Style 4 I Scroll GoTo V Unhide hidden GoTos Edit Mode Array Formula Handling Auto Detect and Enter Enter as Array Formula Enter as Non Array Formula Evaluate and Description Box Settings MV Auto Evaluate V Time Evaluation Max Evaluated Rows Cols to show 200 V Show Formulas in Local language MV Show Short Function Description V Show Function Types Initial Indent Style Initial Indent Style 4 This is a number from 1 no indents or new lines to 7 maximum indentation and new lines that controls the Indent
167. el is in manual mode any MixMode sheets are not recalculated unless the Calculate MixMode sheets on open option Workbook Calculation Settings tab was selected when the workbook was saved Using Range Calculate in Mixed Mode Range calculate or Alt F9 always calculates the selected range even on a MixMode sheet FastExcel V3 User Guide FastExcel V3 Controlling Calculation e 51 Workbook Calculation settings Choosing the MixMode Sheets You can choose which sheets to process in Mixed mode using the Select Select MixMode Sheets Mixmode Sheets button on the Active Workbook Calculation settings tab FastExcel stores these settings for each worksheet in the workbook and restores the last saved settings when the workbook is opened FastExcel V2 MixMode Sheet Selection Select Worksheets for Mixed Mode calculation O CityCtryContvols Use this command to select the sheets you want to be handled as MixMode sheets These sheets will be calculated according to the options set for Mixed Mode calculations You can also use this tool In cases where there is a significant workbook calculation overhead you to explore the possible may be able to simulate the effect of combining the sheets causing the effect of combining sheets bottleneck by setting suspect worksheets to MixMode and monitoring the effect on workbook recalculation time NOTE When using FastExcel Version 3 these settings are saved when you save a workbook and restored
168. en a row of counts will be returned for each column in InputRange and ACOUNTIFS should be entered as a multi cell array formula This is an efficient method of counting multiple columns for a common set of criteria FastExcel V3 User Guide SpeedTools Filters Filtering Functions e 184 FILTER VISIBLE function FILTER VISIBLE returns an array containing all the visible rows in the input Range Rows that are hidden have zero height or are filtered out by AutoFilter are excluded The input data must be a range FILTER VISIBLE is Volatile is NOT multithreaded and is an array function FILTER VISIBLE Syntax FILTER VISIBLE theRange Pad The first parameter is required the second is optional theRange Required A range reference for the rows and columns to be filtered Pad Optional default N A The value to use for any excess cells in the array formula Excess cells are cells in a multi cell array formula that have no corresponding output from the function If FILTER VISIBLE is called from a multi cell array formula it will return the smaller of the number of rows in the multi cell array formula or the number of rows in the input range If FILTER VISIBLE is called from a single cell array formula it will return the number of rows in the input range FastExcel V3 User Guide SpeedTools Filters Filtering Functions e 185 Rgx COUNTIF function Counts the number of values within a range or array that match the Regular Expression Pattern
169. en you have Active Workbook Mode until changed and will be recalled when you selected Active Workbook next open Excel Mode The default workbook calculation mode is used in active workbook mode to calculate a workbook with no assigned workbook calculation mode or one assigned a mode of default The initial default mode is Manual Set Book Calculation Modes The workbook calculation mode for each workbook can be e Manual e Automatic e Semi automatic Automatic except Tables e Default The workbook will use the current default workbook calculation mode To change the workbook calculation mode for one or more workbooks select the workbooks and press one of the calculation mode buttons FastExcel V3 User Guide FastExcel V3 Controlling Calculation e 45 Excel Calculation Settings Initial Calculation Mode You can use these settings to control which calculation mode Excel will use when opened Initial Calculation Mode First Workbook C Manual C Automatic C Automatic except tables Recalculate before save By default the first By default Excel sets the initial calculation mode from the first workbook opened sets the workbook opened and does not automatically change it when another mode until it is changed by workbook with a different setting is opened the user FastExcel allows you to control the mode to be used when Excel first opens This initial mode can be Force Excel to open in P Manual mode to prevent e First W
170. equence available There are 2 different types of text collating sequences available in the FastExcel SoeedTools sorting functions The locale dependent collating sequence uses the user specified National Language locale sequence This handles national characters and character combinations based on the conventions established for each locale This is the method used by Excel SORT and all the LOOKUP functions The VSORTC VSORTC INDEX Case VSORTC Case VSORTC INDEX functions all use the locale dependent collating sequence and follow Excel s sorting rules for hyphens and apostrophes The collating sequence used by VSORTB and VSORTB INDEX is faster for sorting text than the locale dependent sequence but may not give results compatible with Excel s SORT and LOOKUP functions using the sorted option VSORTB and VSORTB INDEX ignore Excel s sorting rules for hyphens and apostrophes Excel s collating sequence by data type is Numbers lt Textual Numbers lt Text lt Logical lt Error Values lt Empty cells always last Empty cells are returned as zero by the SpeedTools sorting functions FastExcel V3 User Guide SpeedTools Filters Sorting Functions e 199 Sort and Index Sort A conventional sort returns the input data in sorted order An Index Sort returns the position or index in the input data of the nth item in the sort order e Sort B C A D gives A B C D e Index Sort B C A D gives 3 1 2 4 First A is position 3
171. er without doing any more processing When using Lookup memory and there are multiple exact match answers available Case AVLOOKUP2 will not necessarily return the answer from the same row as VLOOKUP Case AVLOOKUPS and Case AVLOOKUPNTH do not use Lookup Memory Position Optional Defaults to 0 Case AVLOOKUPNTH only Controls which result will be returned when there are multiple rows that match the Lookup_Values N where N is a positive integer The Nth match found will be returned 0 If sorted ascending the largest value that is less than or equal to Lookup_Value If not sorted then the first value found If sorted descending then the smallest value that is greater than or equal to lookup value 1 The first value found will always be returned 2 the Last Value found will always be returned 3 All matches found will be returned FastExcel V3 User Guide SpeedTools Lookups Lookup Functions e 234 Remarks Case AVLOOKUP2 returns the first row that it finds which meets these criteria e Sorted Ascending the largest value that is less than or equal to Lookup_Value e Sorted Descending the smallest value that is greater than or equal to Lookup_ Value e Not Sorted The first row containing a value equal to Lookup_Value except when using the built in memory function In this case Case AVLOOKUP2 will return the same row as in the previous calculation provided it still matches the Lookup_Value Case AVLOOKUPS2 with one or
172. ern matching case sensitive The default is FALSE Rgx SUBSTITUTE Examples A B 48 Replace the Matching string Rex SUBSTITUTE 49 b5 1 5 0 9 14 b 50 Rgx SUBSTITUTE A51 B 49 XXXX 51 Mastercard number 5499000001234567 Mastercard number XXXX 52 Is This a Mastercard number 5199000001234567 Is This a Mastercard number XXXX 53 Is This a Mastercard number 5699000001234567 Is This a Mastercard number 5699000001234567 FastExcel V3 User Guide SpeedTools Extras Text Functions e 310 Rgx MID function Searches a string or a rectangular array range for a substring that matches a regular expression patter or a rectangular array range of patterns Returns the Nth substring that matches the Regular Expression pattern Rgx MID is a multi threaded non volatile array function Rgx MID Syntax Rgx MID String RegExp Nth Case_Sensitive The first 2 parameters are required the last 2 parameters are optional String required Constant range or array containing the string s to be searched for the Regular Expression Patterns RegExp required Specifies the Regular Expression s to be used when matching String If String is an array or a multi cell range then RegExp must contain a matching set same number of rows and columns as String of regular expressions Nth optional default 1 The Nth matching substring is returned A value of zero returns a horizontal array row containing all the matching substrings In
173. ers A positive number n returns the reverse of the last n characters only A negative number n returns the reverse of the first n characters only Example REVERSE TEXT abcDEF FEDcba REVERSE TEXT abcDEF 3 FED REVERSE TEXT abcDEF 3 cba FastExcel V3 User Guide SpeedTools Extras Text Functions e 303 SPLIT TEXT Function Splits a text string into a horizontal array of string tokens using a string of delimiters Each individual character in the delimiters string is used as an alternative delimiter SPLIT TEXT is a multi threaded non volatile array function SPLIT TEXT Syntax SPLIT TEXT Text Delimiters Count Compress Text Required The text string to be split Delimiters The list of delimiters to search for in the text string Count Optional default 1 The number of string tokens to return 1 means return all tokens Compress Optional default TRUE If TRUE empty string tokens will be ignored FastExcel V3 User Guide SpeedTools Extras Text Functions e 304 GROUPS Function Extracts group s of adjacent characters from a text string The characters to include in the group are defined by GroupType GroupType can either be a Regular Expression pattern or a number for pre defined group types e O Numeric Digits 0 9 e 1 Alphabetic characters a zA Z e 2 All characters except numeric digits 0 9 e 3 Numeric Digits 0 9 and the decimal separator character e 4 All ch
174. es e Access FastExcel s advice on removing unnecessary calculations e Choose the best calculation options for your spreadsheet using FastExcel s extended calculation methods e Use FastExcel s built in Contextual Help e Onan ordinary Excel worksheet Contextual help shows you Speedup help where possible relating to the functions used in the active cell e Ona FastExcel output sheet FastExcel help shows you help for the nearest information block Use the FastExcel GoTo command to select all cells on the active sheet with the same Number Format or Style as the currently selected cell When the active sheet is a Number Format Map sheet or Style Map sheet created by the Clean Workbook or Where used Map commands the GoTo command will use the selected cell on the map to e Select the corresponding sheet e Select all the cells on that sheet with the corresponding Number Format or Style Optimizing Excel Calculation Bottlenecks e 25 How fast should my spreadsheet calculate Studies on the effects of slow response time see below show that there are two comfort zones of calculation times for users e For calculation times of less than about a tenth of a second users feel comfortable with Automatic Calculation e For calculation times of up to about 10 seconds in Manual Calculation mode users can maintain concentration and avoid errors So wherever possible you should try to use FastExcel to get your workbook calculat
175. es inini iai a a i atai 196 SpeedTools Filters Sorting Functions 199 VSORTC Dynamic text collating Sort of a vertical range Or array cccccccceeeseenees 201 Case VSORTC Case sensitive dynamic Sort of a vertical range or array 202 VSORTB Fast Dynamic Sort of a vertical range OF AFLAY ccccccccccesesssseeeeeeesessesees 203 VSORTC INDEX Collating Text Index Sort of a vertical range or array 000008 204 Case VSORTC INDEX Collating Text Index Sort of a vertical range or array 205 VSORTB INDEX Fast Index Sort of a vertical range OF AFray cccceesessceceeseeseneees 206 SpeedTools Lookups Lookup Functions 207 Outstanding Performance ccccessssccecesssecneaeceeeceseeseaeeeecscesseseeaeeeesesseseaaeeeeeeseesees 207 Advanced Function viceccecscetseeducesvecededscesceeatund le ver udeevonteceund audievecueeceucadueivdeagerveceuedes 207 FastExcel V3 User Guide FastExcel Version 3 e 12 Better Safer LOOKUP Defaults icccccccsscccecsssssssceceeeceseeseseeeeeesseeseasaeeeeeeesesseaeeeeees 208 SpeedTools LOOKUP Families ceceesssseceecesseseeececeeecesseeseeeeecesseseeaeaeeeeeseseseeaeeeeess 208 High performance exact Match Memory LOOKUPS ccccccesssssseceeecessessaeeeeeeseesees 209 Reconciling lists super fast using COMPARE LISTS cccccccsssssssecececessesssteeeeeeseeees 211 The 24 Advanced Function Lookups c sccccccssssssesse
176. es the memory separately for each cell e 0 Do not use Lookup memory FastExcel V3 User Guide SpeedTools Lookups Lookup Functions e 245 e Named Memory If you give a text string instead of a number it will be used as a named memory You can have many named memories in use at the same time usually one for each Lookup Table Each named memory works by row across all sheets within a workbook so is the best choice when you have o More than one memory lookup referring to different lookup tables within a single formula o More than one memory lookup referring to different lookup tables in different cells on the same row and these lookups are repeated on the same row in multiple sheets If this option is not zero then Rgx AVLOOKUPS2 will first check to see if the index stored in memory that gave the answer the last time the Rgx AVLOOKUPS2 was calculated still gives the correct answer If it does then Rgx AVLOOKUP3S2 will return that answer without doing any more processing When using Lookup memory and there are multiple exact match answers available Rgx AVLOOKUPS2 will not necessarily return the answer from the same row as MATCH Rgx AVLOOKUPS2 and Rgx AVLOOKUPNTH do not use lookup memory Position Optional Defaults to 0 Rgx AVLOOKUPNTH only Controls which result will be returned from multiple matches e N where N is a positive integer The Nth match found will be returned e 0 The first value found will always be returned e 1
177. esseaeas 47 Excel Calculation Settings Calculation BUttONS ccccccccccssessssceeeescessessseeeeesseesees 48 FastExcel V3 User Guide FastExcel Version 3 e 3 Workbook Calculation SettingS ccccccccccccssssssececscssssseaeeescessesseaeeeeeesseessetaeeeessesees 50 FastExcel Settings eisiseeccss cvesesnlchedecii sistas ciacdueivesieiea es severe eas ewe 55 Calculation Timing Commands 59 The seven Calculation DUttONS cece eeseceesseeeseceeeeeceeeeeesaeeesaeceeaeeeeaeeeesaeeneaeeeeaeeenaees 59 Getting Consistent Results from FastExcel V3 Timing ccccccsesseceeceseessnteeeeeeeeeeees 62 Power Saving and Dual Core Intel and AMD processors cccsccccccesesssseeeeees 62 Excel minimizes the number of calculations eecceeeseeeseeeeseeeeeeeeeeeeeeeaees 62 Why FastExcel Timing results may vary from run tO FUND ccccceceseesseeeeees 62 Profiling Commands 63 The Proriling GOmMMAaNnds 3 2 sce Bi aa ee caves ves ce cdeadse Benesch Mies i tea Seceivee tances ees 63 Using the Drill Down Profiling Wizard ccccccsssscececessessneceeeeeceseseaeeeeeeesseseaeaeess 65 The Profiling Header nc eds tecvveece cen et esl i ove en GA evden eh eee 66 The Physical Environment Table ccccccsssccccessssssssceeeeeeessesseeeeeeseessesseaeees 66 The Workbook Settings Table cccccccssssssccecessessssececeescsssseeeeeeseessesssteaeees 68 The Environment Counts Table 0 cee ceeeeesseeesaeeeen
178. etail mw ww amp Each distinct item in the Input Data is listed with a count of the number of ocurrences the extra 2 rows and column are padded with blanks FastExcel V3 User Guide SpeedTools Filters Filtering Functions e 196 LISTDISTINCTS SUM Array entered 6 rows 3 cols padded with blanks LISTDISTINCT S SUM A 2 B 7 E 2 E 7 1 direct Defense 1165 direct Mfg 1405 Retail Defense 100 Retail Mfg 1000 The distinct rows are listed with the sum of column E Spend LISTDISTINCTS AVG Array entered 6 rows 3 cols padded with blanks LISTDISTINCT S AVG A 2 B 7 E 2 E 7 1 direct Defense 582 5 direct Mfg 702 5 Retail Defense 100 Retail Mfg 1000 The distinct rows are listed with the average of their Column E Spend COUNTDISTINCT ByRows Single cell formula NOT array entered COUNTDISTINCTS A 2 B 7 4 There are 4 distinct rows in A2 B7 COUNTDUPES ByRows Single cell formula not array entered COUNTDUPE S A 2 B 7 2 There are only 2 duplicates in A2 B7 2 Rows appear twice COUNTDISTINCT ByRows False COUNTDISTINCT S A 2 C 7 FAL SE 6 There are 6 distinct items in A2 C7 FastExcel V3 User Guide SpeedTools Filters Filtering Functions e 197 LISTDISTINCT ByRows False LISTDISTINCT S A2 C7 FALSE Direct Defense SpaceCalls Mfg Retail SuperPhone The 6 distinct items in A2 C7 are listed COUNTDUPES ByRows False COUNTDUPE S A 2 C 7 FAL SE 12 There are 12 duplicated items in A
179. existing information FastExcel V3 User Guide SpeedTools Functions e 161 FastExcel_SpeedTools A Selected Cells Bookl Sheet1 C 5 D 8 are not empty gt ROW ARRAY 1 2 A1 B1 His Hers Overwrite with chosen function Yes No Nesting SpeedTools functions using the Excel Function Wizard If you want to embed SpeedTools functions inside other functions you need to use the Excel Function Wizard instead of the SpeedTools Function Library Toolbar or Ribbon Group In the formula bar select the point in the existing formula where you want to embed the function and click the Excel Formula wizard button FastExcel V3 User Guide SpeedTools Functions e 162 Excel Wizard Help All the FastExcel SpeedTools functions are available from the Excel Function Wizard This includes providing a short description of the function its arguments and further Help through the Help button on the Function Wizard Function Arguments eae LISTDISTINCTS SUM TheInputData SumColumn Ignore Case_Sense Sort Array function that returns a list of the distinct rows in theInputData with an additional column containing the sum of the values in SumColumn for each distinct row TheInputData One or 2 dimensional array or range of data to be evaluated for distinct rows Formula result aoon tis isin C FastExcel V3 User Guide SpeedTools Functions e 163 SpeedTools Functions by Product and Category
180. expansion with 3 fixed columnis FastExcel V3 User Guide Dynamic Range Wizard e 127 Indenting Formula Viewer Editor and Debugger V2 An improved way of viewing understanding editing and debugging more complex formulas View Edit Formulas Clicking this button on the FastExcel Manager Ribbon will launch the editor form FastExcel V3 Manager View Edit and Debug Formulas V2 IF OR DoubleMeasure Trains Measure Ships Formula Box t LOGWork V10 LOGWork B10 INT MIN F10 K10 LoadsLong MAX 0 LogWork2 B10 Q10 X10 AH10 AI110 AG10 K10 LOGWork B10 3 1E 24 2 1E 24 Selected Expression Function MIN Native NonVol Multi Soa Description Area Time 0 057 Milliseconds MIN Returns the minimum value in a list of arguments ignoring logical values and text Evaluation Box Resize Close Help The editor form is modeless and resizable Text lines that are too long to fit in the Formula Box will wrap 88 but dynamically adjust as the form is resized Because the form is modeless you can interact with the workbook in all the usual ways with the mouse and keyboard whilst keeping the form visible and switch the focus between the worksheet and the form by clicking with the mouse There is a splitter bar you can drag up and down to change the amount of space used by the Formula Box and the Description Area and Evaluation Box At the top the form shows the Origin Destinatio
181. f characters starting from the right so a value of 3 would return only at most the 3 rightmost characters from the extracted characters FastExcel V3 User Guide SpeedTools Extras Text Functions e 305 GroupType Optional default 0 Defines the type of characters to be considered as part of a group and returned If GroupType is a string it will be treated as a regular expression pattern that defines which characters that will be considered part of a group If GroupType is a number it will select one of the pre defined Regular Expression patterns Any characters not defined as part of a group will act as separator characters between groups The numbers for the pre defined patterns with their equivalent Regular Expression patterns are e O Default Groups of adjacent numeric characters 0 9 will be returned 0 9 e 1 Groups of adjacent alphabetic characters a z and A Z will be returned a zA Z e 2 Groups of adjacent non numeric characters will be returned 40 9 e 3 Groups of adjacent numeric characters 0 9 and the decimal separator will be returned 0 9 e 4 All adjacent characters except numeric characters 0 9 and the decimal separator will be returned 40 9 StartPos Optional default 1 The position of the first character within Text to be considered as potentially part of a group The position of the first character in Text is 1 EndPos Optional default 0 The position of the l
182. f the column Spend Using the label gives you much better protection when someone inserts a column between Users and Spend Exact match returns the first result that exactly matches VLOOKUP superphone c2 e7 3 false 100 AVLOOKUP2 superphone cl e7 spend No 100 Exact Match sorted not found This example looks for an exact match to spacetime in column C and cannot find one The default value returned if an exact match is not found is N A VLOOKUP spacetime c2 e7 3 false N A The Sorted parameter is No so AVLOOKUP does an exact match and returns the default error N A AVLOOKUP2 Spacetime C1 E7 spend No N A FastExcel V3 User Guide SpeedTools Lookups Lookup Functions e 228 AVLOOKUP2 can also do an exact match lookup on sorted data and it is much faster than an exact match on unsorted data particularly with large ranges AVLOOKUP2 Spacetime C1 E7 spend ASC True N A Getting rid of the N A If you want to return a value other than N A you can use IF tests with either COUNTIF or a double lookup IF COUNTIF C2 C7 spacetime 0 None VLOOKUP Spacetime c2 e7 3 True None Using AVLOOKUP2 is simpler and faster because it allows you to set the error return value directly and can take advantage of sorted data AVLOOKUP2 Spacetime cl e7 spend asc None None Lookup column not the first
183. f the problem areas on the worksheet that was profiled and use profile Selected Area to drill down into that area FastExcel V3 User Guide Profiling Commands e 82 Worksheet Areas Profile Table Use the tables to identify There will be three Worksheet Areas Profile Tables for each of the Bottleneck areas on the selected Worksheets worksheet All calculation times in these tables are single threaded calculation times e Cell counts of formulas array cells and conditional formats e Calculation times for the area column and the sheet e Total average and maximum formula lengths Each table is sorted in descending calculation time sequence The first table profiles each separate contiguous rectangular area of formulas on the worksheet The second table profiles the columns the number of column groups should be no more than the number specified in the options The column groups are sorted in descending calculation time sequence S 8 T 8 S 10 T 21 O 8 P 8 O 10 P 2 C 8 D 8 C 10 D 2 I1 8 J 8 1 10 J 21 SES8 F 8 SE 10 F 21 K 8 L 8 K 10 L 21 Q 8 SR 8 QS 10 RS2 G 8 H 8 G 10 H 2 SM 8 SN 8 M 10 N 2 j P a Fe The third table profiles the rows in the same way as the columns C 29 SANS 32 152 144 T2 0 12 31 169 28 80 98 7 3 12 704 83 58 108 C 45 AN 48 152 144 72 0 12 12 169 28 79 77 7 2 12 704 83 58 108 C 73 SANS76 152 144 72
184. fe If the memory row does NOT give an exact match to the value being looked up then SpeedTools Lookups will do an exact match linear search or exact match binary search Four different kinds of Lookup Memory SpeedTools Lookups can use 4 different kinds of multi threaded memory Re useable Global Memory for Rows or Columns A single index is stored in global memory for each row vertical lookups or column horizontal lookups Global memory is super efficient and easy to use because it gets re used when you have more than one lookup formula on the same row looking up different columns in a Table This global memory works across all worksheets in all open workbooks Book Sheet Row Memory default option If you are using different Lookup Tables on different worksheets but still want to have more than one lookup formula on a row looking up different columns from the same table you should use this option which stores the row memory separately for each workbook amp worksheet Book Sheet Cell Memory If you are using multiple Lookup Tables formulas on the same sheet and the same row but in different cells you can use this option which stores the memory separately for each cell Named Row Memory within Workbook If you are using a number of Lookup Tables it may be better to use a separate Named Row Memory for each table This allows you to use multiple memory lookup formulas that look up the tables in the same row or even in the same cell The
185. g Formula Viewer Editor and Debugger V2 e 137 Insert Name Insert Name This button brings up a dialog box allowing you to choose which of the open workbooks you want to insert a defined name from When you choose a workbook you get a list of all the Defined Names in that workbook You can select a name to be inserted into the formula box at the insertion point or by overwriting any selected text Choose Defined Name to Insert I Workbook before xls v Products _FiterDatabase nnn Respondents _FilterDatabase Answers Product Answers SectorName DontKnowfactor MobPhones MobSpend Network OurPhones OurSpend ProductCount ProductData ProductData Addusers ProductData colProductSerial ProductData Level2001 ProductData LevelNow ProductData Pct2001 ProductData PctNow i ProductData product i ProductData ProductSerial ProductData sectorcode ProductData SpendincCode i ProductNames Products Clear This button will remove all the text from the formula box Copy From Copy From Use the Copy From button to choose a cell and copy its formula into the Formula Box at the insertion point If you want to replace all or part of the existing formula in the Formula Box you can select the text you want to replace or clear the formula box before using Copy From FastExcel V3 User Guide Indenting Formula Viewer Editor and Debugger V2 e 138 Changing a reference from relative to absolute R
186. ge tolerance total sheet calc time and gt 1 orange Full Calc The time taken to calculate all the formulae on the sheet tolerance minimum sheet minus the time taken to fullcalc an empty sheet empty sheet overhead and gt orange overhead tolerance 500 Multi threaded calculation is used if enabled Colored orange if gt 1 orange tolerance average sheet full calc FastExcel V3 User Guide Profiling Commands e 76 time and gt orange tolerance 500 Sheet Volatile The Ratio of Sheet Recalc time to Sheet Full Calc time Measures how many of the formulae on the sheet are volatile average and gt orange Colored orange if gt orange tolerance 125 tolerance 500 Sheet MTC Factor A measure of the efficiency of multi threaded calculation at sheet level The ratio of Range calculation single threaded time to Full Calculation multi threaded time Other The three times shown in the Other row are the times taken to calculate an empty worksheet These times are used as standard calculation overheads and are subtracted from the sheet calculation times Sheet Volatile The ratio of Recalc time to Full Calc time excluding standard calculation overhead When you have a high workbook volatility you can use the sheet volatile to determine which sheets are causing the problem Microseconds per Formula calculated from the smaller of used range calc time and sheet calc time A high value may indicate bottleneck formulas Color
187. ge or array MEMMATCH looks for a value in the leftmost column of Lookup_Array and then returns the relative position of the item in the Lookup_Array that matches the specified value Lookup_Value For a horizontal range or array MEMMATCH looks for a value in the topmost row of Lookup_Array and then returns the relative position of the item in the Lookup_Array that matches the specified value Lookup_Value MEMMATCH is a multi threaded non volatile non array function MEMMATCH Syntax MEMMATCH Lookup_Value Lookup_Array Col index_num Sort_Type MemType_Name Vertical_Horizontal The first 3 parameters are required the last 3 parameters are optional Lookup_Value required The value to be found in the Lookup_Array Lookup_Value can be a constant or a range reference or an expression returning a single value Lookup_Array required A vertical or horizontal array of constants or a range reference or expression that returns a contiguous rectangular table of Lookup Values Sort_Type optional default 0 A number 1 0 or 1 indicating the sort sequence of Lookup_Array e 1 Sorted Descending e ONot Sorted e 1Sorted Ascending The default is 0 unsorted FastExcel V3 User Guide SpeedTools Lookups Lookup Functions e 216 MemType_Name Optional Defaults to 2 Memory type for lookups can be 0 1 2 or 3 or a string that is used as the name for a memory e 3 Global Memory for Rows or Columns A single index is stored in
188. gle threaded All the formulas in this example contain functions that are Built in to Excel B are Non volatile N and are Multi threaded M so the flag is B N M VBA Automation and XLM functions are always single threaded but it is not currently possible to determine within the analysis if they are volatile or not so they are flagged as The analysis does not currently detect Defined Names containing volatile functions or single threaded functions Distinct Formulas Formulas that are copied and contain relative or absolute addresses are treated as being the same they have the same R1C1 formula FastExcel V3 User Guide Profiling Commands e 86 Formula Count The total number of occurrences of this formula within the area analyzed Millisecs per Formula The average time to calculate single threaded a single occurrence of this formula Total Millisecs for this formula Time in Milliseconds to calculate all the occurrences of this formula in this Sheet Area using a single thread Time Formula Count Sorted largest first Total Millisecs for this Area Sheet Total Millisecs for a single threaded calculate of all the Formulas in this Sheet Area Formula of Total Total single threaded calculation time for this formulas as a percentage of the time for a single threaded calculation of all formulas Using the FastExcel Go To command with the Worksheet Formulas Profile Table If you select one of the distinct formulas in the Work
189. he first value found AVLOOKUP2 e orall the values found AVLOOKUPS2 e or the Nth value found AVLOOKUPNTH AVLOOKUP2 AVLOOKUPS2 and AVLOOKUPNTH are NOT case sensitive The AVLOOKUP functions are multi threaded non volatile array functions AVLOOKUP Family Syntax AVLOOKUP2 Lookup_Values Lookup_Table Answer_Columns Sorted Exact_Match Lookup_Columns MemType_Name The first 3 parameters are required the last 4 parameters are optional AVLOOKUPS2 Lookup_Values Lookup_Table Answer_Columns Sorted Exact_Match Lookup_Columns The first 3 parameters are required the last 3 parameters are optional AVLOOKUPNTH Lookup_Values Lookup_Table Answer_Columns Sorted Exact_Match Lookup_Columns Position The first 3 parameters are required the last 4 parameters are optional Lookup_Values required The value s to be found in the Lookup_Columns Can be a single value or multiple values arranged in columns lookup in multiple lookup columns and rows return multiple answer Rows A single value can be a constant or a cell reference Multiple lookup values can be specified either as an array of constants or as a range referring to multiple cells There should be the same number of columns of lookup values as there are columns in the Lookup_Columns When doing multi column lookups multiple columns of both lookup values and lookup columns the AVLOOKUP functions will look for a row where ALL the lookup values are matched in
190. he same number of rows so that it is more efficient to only find the number of rows once e You are using a special calculation to determine the number of rows Step3A Choose columns for finding the last row These two additional options are only available if you have selected either Last non empty row or Last contiguous non empty row and you have chosen to expand only by rows Use only the Anchor Column to find the last row This option finds the last row only in the Anchor Column of your dynamic range Use this option if all the columns in your dynamic range will always have the same last row or if you want the last row to always be determined by the Anchor column Use all the dynamic range columns to find the last row This option looks in all the columns of your dynamic range and uses the largest last row found Use this option if some of the cells in the last row of your dynamic range may be empty The calculation time for this option increases with the number of columns in your dynamic range FastExcel V3 User Guide Dynamic Range Wizard e 122 Confirm the Anchor Cell and fixed columns If you selected fixed rows and dynamic columns in Step 2 you are asked to confirm your selection in Step 3 FastExcel Dynamic Range Wizard Step 3 of 5 Step 3 You have chosen Fixed rows and dynamic columns You have selected 1 Fixed rows and your anchor is Sheet 1 B 16 Cancel lt lt Back Next gt gt Help
191. heet containing theColumn The count includes the leftmost column of the referenced range COUNTUSEDCOLS2 Remarks COUNTUSEDCOLS2 is a volatile function If the reference specified for theColumn contains more than one column the leftmost row will be used The used range may contain empty rows or columns Whenever the COUNTUSEDCOLS2 function is calculated the used range for the worksheet containing theColumn will be reset COUNTUSEDCOLS2 Example Assuming that cell C55 contains 10 and cell Z100 is empty but coloured yellow and no other cells have been formatted then COUNTUSEDCOLS2 C4 returns 24 column Z is the last column 26 in the used range less columns A and B Examples and comparison of the counting functions Sales 23 08 90 19 09 08 03 10 50 TRUE DIV 0 Assuming that the whole of column A and rows 11 to 65536 are empty using the counting functions on the ranges B1 B10 and A1 A10 gives these results COUNTA counts all non empty cells COUNTA B1 B10 gives 6 COUNTA A1 A10 gives 0 FastExcel V3 User Guide SpeedTools Extras Information Functions e 298 COUNT counts all numbers COUNT B1 B10 gives 3 COUNT A1 A10 gives 0 COUNTROWS2 counts the number of rows before the last empty cell COUNTROWS2 B1 gives 8 COUNTROWS2 A1 gives 1 always counts the referenced cell even if it is empty COUNTUSEDROWS2 counts the number of rows to the last row in the used range COUNTUSEDROWS2 B1 gives 9
192. her the items that do match or the items that don t match COMPARE LISTS is capable of comparing 2 lists each containing more than a million items in a small number of seconds COMPARE LISTS can return True False or for each item in the LookFor list showing whether or not it can be found the Lookin list e A count of the items in LookFor NOT FOUND in Lookin e Acount of the items in LookFor FOUND in Lookin A list of the items in LookFor NOT FOUND in Lookin A list of the items in LookFor FOUND in Lookin COMPARE LISTS is a multi threaded non volatile array function COMPARE LISTS can handle whole column references efficiently COMPARE LISTS Syntax COMPARE LISTS LookFor Lookin Output Case_Sensitive The first two parameters are required The function is designed to be entered either as a multi row single column array formula or as a single cell non array formula LookFor Required A single column vertical range or array of data containing the items to be searched for in the Lookin list Empty cells in the LookFor list are ignored LookIn Required A single column vertical range or array of data containing the list of items to be searched for each item in the LookFor list Empty cells in the Lookin list are ignored If either of LookFor or Lookin refers to a single empty cell COMPARE LISTS will return Value Output Optional Default 3 if entered as a single cell formula otherwise 1 This option c
193. here should be the same number of columns of Regular Expression values as there are columns in the Lookup_Columns When doing multi column lookups multiple columns of both lookup values and lookup columns the Rgx AMATCH functions will look for a row where ALL the lookup Regular Expression patterns are matched in the corresponding columns Columns are treated as AND When doing multi row lookups multiple rows of lookup values the Rgx AMATCH functions will look for a row separately for each row of lookup values Rows are treated as OR FastExcel V3 User Guide SpeedTools Lookups Lookup Functions e 250 A single Rgx AMATCH2 or Rgx AMATCHNTH statement will return the same number of rows and columns of result values as there are rows and columns in p Lookup_Table required The rectangular range of cells or array or expression yielding an array to be used for the lookup table The array range must resolve to a single contiguous rectangular array Not_Found optional defaults to False Rgx AMATCH2 and Rgx AMATCHNTH only Use this optional parameter to specify what to return if an exact match does not exist If the parameter is omitted the error value will be N A Lookup_Columns optional defaults to 1 Use this optional parameter when you want to control which column s in Lookup_Table to use for the lookup The default value is 1 the first column in Lookup_Table If the values are numeric they will be treated as column numbers if al
194. ia specify criteria before other types of criteria FastExcel V3 User Guide SpeedTools Filters Filtering Functions e 169 e Where there are 2 criteria applying to the same column for example data between 2 dates the criteria should be adjacent e For Unsorted data FILTER IFS will be most efficient when the first criterion results in a relatively small number of groups of row meeting the first criteria e The worst case for FILTER IFS is unsorted data where the first criterion eliminates every other row FastExcel V3 User Guide SpeedTools Filters Filtering Functions e 170 FILTER IFS function FILTER IFS returns the cells from the chosen column s in the input data range that match the extended conditions or criteria The syntax for the criteria is similar to SUMIFS and COUNTIFS but with considerably more options FILTER IFS can be used either to add multiple conditions to aggregating functions like LISTDISTINCTS SUM SUM MEDIAN RANK etc or as a multi cell array formula FILTER IFS is most efficient when used with sorted data FILTER IFS Syntax FILTER IFS nsortedCols mputRange ReturnCol CriteriaColumn1 Criteria1 CriteriaColumnz2 CriteriazZ OR nsortedCols CriteriaColumnx Criteriax Example SUM FILTER IFS 3 A 3 F 10303 Value FromCtry amp H6 ToCtry amp 16 ToCity amp J6 Date gt amp K6 Date lt amp L6 FILTER IFS Parameters nSortedCols required for all the FILT
195. ie Ge el eee aaas 145 Insert or Copy Before or After ccccccsessseccecesssssaeeeeecssessaeseeeessessesnaaeees 146 Mix Mode Settings imin erns nnrir a Nar as bali iraa Dasa sea vases 146 FastExcel V3 User Guide FastExcel Version 3 e 10 Mixed Mode On Or OFF u ecccccccsccccesseccscesecsceeueecsccecessesseeueececeseseuaueusecseeesess 146 Move Up Move DOWN ccccccccsssssssssesceccceeaenssssesceceecessausussescececeuaauaagsseseees 147 Sort Workbook Sheets sscssnceseasitoveacs deanei anii dav iei aae aioa aaa hee dase 147 Choose Sheet Filters sieccicast ail ddiela a e a irae as r Een all eee 148 ANd Or lnvert Filters ade ennenen aaa ETA a aT eR aae aea a aanta AREKEA 148 Available Sheet Filters c ccecccnds selene he cevcdeeeeateteeceel get aes 149 SpeedTools Overview 150 High Performance High Power FUNCTIONS cc sssccccecssesssseceeeessessesseaeceseessessaaeees 151 Extend your capabilities with over 90 High Power FuNCtions csesssccceeseessrees 152 High Performance AVLOOKUP2 family of fUNCTIONS eccesssseeeeeeseesereeeeeeeeeeees 154 Regular Expression FUNCTIONS cese e a aaia a pe TEn a E regt 154 High Performance FILTER IFS family of fUnCtiONnS sssssesenennssssesenessnseserennnsssseseeene 155 The Family of LISTDISTINCT FUNCtIONS c c ccccccsesssseceeececessesesaeeesesssesseaeeeeeeseeseesaes 157 New Family of AND and OR functions designed for Array FOrmuIa amp s
196. ients on large data sets What are Gini Coefficients Gini Coefficients are a frequently used method of measuring inequalities such as income distribution in a population A Gini Coefficient can be calculated as the relative mean difference the mean of the difference between every possible pair of data points divided by the mean of all the data points A Gini Coefficient ranges from O everyone has the same income to 1 one person has all the income Some Gini Income coefficients are e Sweden 0 23 e France 0 28 e UK 0 34 e USA 0 45 e Brazil 0 57 e Zimbabwe 0 57 Source http en wikipedia org wiki List_of_countries_by_income_equality The Gini formula is often written as G SUM i 1 to n SUM j 1 to n ABS Data points i Data points j n n Average Data points where Data points is the range of data and n is the number of points in Data points A Bias Correction factor of n n 1 is usually applied A more efficient formula has been developed by Angus Deaton Princeton 1997 G n 1 n 1 2 n n 1 Average Data points SUM i 1 to n Data points i Rank i Where Rank is 1 for the largest value and n for the smallest value This formula has the bias correction factor built in For more information on Gini Coefficients see http en wikipedia org wiki Gini_coefficient or http mathworld wolfram com GINICOEFficient html FastExcel V3 User Guide SpeedTools Extras Mathematical Functions e 261 GINICOEFF f
197. if the average number of conditional formats per conditionally formatted cells is gt 3 e Formula the number of formulas on this worksheet e CondFormat Enabled shows you if conditional format calculation is enabled for this worksheet FastExcel V3 User Guide Profiling Commands e 75 The Worksheet Profiles Table Calculation Times 0 0 0 0 0 0 i os og J ee 362 7 748 1087 66 0 33 4 2 In the actual FastExcel output these columns are adjacent to the cell counts columns rather than as shown above Calc Time Millisec the elapsed calculation times in milliseconds Use this table to identify Range Time in milliseconds for a Range Calculate of the real used range the sheets that use the in the worksheet not using multi threaded calculation minus the most calculation time any time taken to range calculate an empty worksheet empty sheet sheets with significant overhead This calculation ignores dependencies in Excel 97 and volatility or MTC 2000 inefficiency and the sheets Recalc The time taken to recalculate the sheet after the workbook has that have the most been calculated minus the time taken to recalculate an empty expensive formulas sheet empty sheet overhead Multi threaded calculation is used if enabled For most workbooks this will give a minimum worksheet calculation time because only the minimum set of formulas mostly volatile formulas and their dependents will be calculated Colored orange if gt oran
198. il spacecalls mfg none none This is an example of using AVLOOKUP2 as a multi cell array formula The formula is entered into D44 E46 as an array formula using Ctrl Shift Enter and returns six results because there are three rows to lookup 44 46 each row has 3 columns to lookup and two columns D E to return from nu The example looks up direct superphone and defense in the columns labelled Channel product and sector and returns the values from the corresponding row in columns Spend and Users 150 and 5 It then nu looks up direct superphone and mfg and returns the values 1200 and 80 and finally looks up retai spacecalls and mfg to return the error values none and none AVLOOKUP2 A44 C46 A1 E7 D43 E43 Not none A43 C43 This multi cell array formula is the equivalent of these six individual formulas AVLOOKUP2 A44 C44 A1 E7 D43 Not none A43 C43 AVLOOKUP2 A44 C44 A1 E7 E43 Not none A43 C43 AVLOOKUP2 A45 C45 A1 E7 D43 Not none A43 C43 AVLOOKUP2 A45 C45 A1 E7 E43 Not none A43 C43 FastExcel V3 User Guide SpeedTools Lookups Lookup Functions e 230 AVLOOKUP2 A46 C44 A1 E7 D43 Not none A43 C43 AVLOOKUP2 A46 C44 A1 E7 E43 Not none A43 C43 Note that the sequence of the column names in the Lookup is not the same as the sequence of the column names in the data Returning multip
199. ill prompt you for a new name for each selected sheet Rename Sheets Enter new name for Sheet InvestData Invest_Datal Delete Delete will request confirmation once before deleting all the selected sheets A Data may exist in the sheet s selected for deletion gt TO permanently delete the Data press OK FastExcel V3 User Guide Sheet Manager e 145 Insert or Copy Before or After Insert Copy C Before After Insert will add a worksheet before or after depending on the Before After option setting every selected sheet Copy will copy every selected sheet before or after itself Mix Mode Settings Use this button to control when the Mixed Mode sheets are calculated These settings are saved with the workbook The default settings are Do NOT calculate Mixed Mode sheets at a Manual F9 or Automatic recalculation Calculate Mixed Mode Sheets at each Full Calculation Ctrl Alt F9 and when selected at a Sheet Calculate Shift F9 and Alt Shift F9 Mixed Mode Worksheet Settings Mixed Mode Options Calculate MixMode Worksheets at each Automatic Calculation Manual calculation V Selected sheet s calculation OK Help Cancel e Full Calculation when this option is checked all formulas including those on MixMode sheets in the active workbook will be calculated when you press Ctrl Alt F9 or the FastExcel Full Calculate button The default is checked e Manual Ca
200. ilters Fumes wg License Activated Extra Funes Ful License Activated Activate New License Buy License Release All Licenses Buy License Buy License takes you to the FastExcel product store where you can purchase FastExcel licenses Release All Licenses Use Release All Licenses when you want to move FastExcel V3 to a different machine The command will remove all the licenses from this machine so that you can re activate them elsewhere Make sure you have taken a note of the Activation license keys FastExcel V3 User Guide Installing and Activating FastExcel V3 e 34 Activate New License Add New License Activate New License asks which product you want to add a license for Choose Additional FastExcel V3 Product to License eS m Choose SpeedTools Product to Activate Enter Activation Code for FastExce l Bundle Enter Activation Code for FastExcel Profiler Enter Activation Code for FastExcel Manager Enter Activation Code for SpeedTools Calc C EnterActivation Code for SpeedTools Lookup Functions Enter Activation Code for SpeedTools Fitter Functions C Enter Activation Code for SpeedTools Extra Functions OK Cancel Choose the product for which you want to add a license and you will be prompted for the License Activation key R License Registration Wizard FastExcel V3 Licensing Wizard Welcome FastExcel V3 Bundle License No license key was found on your system Clic
201. im Var1 As Variant Dim var2 As Variant Dim oRng As Range Var1 Application Run reverse Text ABCD Set oRng Range A1 A10 Var2 Application Run REVERSE ARRAY oRng You can also use Application Evaluate FastExcel V3 User Guide Using FastExcel V3 with VBA e 317 Measuring Macro execution time bo The FastExcel Select run and time a Macro button allows you to choose a macro to run and time from the available macros in e Activeworkbook and Personal xls e All open workbooks e A specified open workbook Select run and time macro Macros in Active Workbook and Personal xls Select the macro to run FastExcel 2 xla ZeroCalcSeq FastExcel 2 xla ZeroCalcSeq Run Cancel To execute and time the selected macro you can either e Doubleclick the name of the macro e Press Run Note This command requires Trust Access to Visual Basic Projects Timing User Defined Functions You can use the SpeedTools calculate range button to time the execution of User defined functions To get accurate results you should set the number of trials to at least 3 preferably 5 FastExcel V3 User Guide Using FastExcel V3 with VBA e 318 Using FastExcel V3 calculation methods from VBA If you are using any of FastExcel s additional calculation modes and options and your VBA program is requesting Excel calculations you should use FastExcel s enhanced calculation methods If you use Excel s standard calcul
202. ion Ctrl Alt F9 Manual If True any MixMode worksheets will be recalculated at each Manual calculation F9 Selected Sheets If true then any MixMode sheets that are selected will be calculated when Sheet Calculate or Shift F9 is pressed Restore After Open If True then FastExcel will automatically reset the calculation mode after the workbook has been opened to the mode that was active when the workbook was Saved or in Active Workbook Mode to the mode stored in the workbook MixMode on Open If Excel is in Automatic mode then all the MixMode sheets in the workbook being opened will be recalculated If Excel is in Manual mode any MixMode sheets will not be calculated when the workbook is opened unless this option is True Update Remote Refs If TRUE automatically update any remote references DDE Links to other programs whenever Excel recalculates Precision as Displayed If TRUE uses the displayed value of all cells rather than their real value as input to subsequent formulas Be careful because this also permanently changes the values of numeric constants 1904 Date System if True changes the starting date from which all dates are calculated from January 1 1900 to January 2 1904 Save External Link Values If TRUE Excel saves values for links to external workbooks Book Calc Engine The version number of the calculation engine that last calculated the workbook if not Excel 2000 ora later version then N A Colored or
203. ion speed into one of these comfort zones The Effects of Slow Response Time Research studies show that a user s productivity and ability to focus on the task deteriorate as response time lengthens e Response time greater than 10 seconds Users generally refuse to When response time is longer than 10 seconds users tend to switch to wait longer than 10 other tasks seconds e Response time greater than 1 second but less than 10 seconds User errors and When response time is less than 10 seconds but longer than 1 second annoyance level start to the user has difficulty in retaining a train of thought but will probably increase particularly for not have switched to doing a different task whilst they are waiting repetitive tasks e Sub Second Response Improving calculation For response times greater than a tenth of a second but still less than speed to less than a second about 1 second users can successfully keep a train of thought going increases productivity although they will notice the response time delay IBM studies from the 1970s and 1980s showed significant productivity gains for users when response times were less than a second You will probably need to switch to Manual Calculation mode when entering data e Instant response You can use Automatic For response times of less than about a tenth of a second users feel Calculation Mode even that the system is responding instantaneously when entering data FastExce
204. ired A rectangular range array or expression that returns a rectangular array to be searched for matches to the Regular Expression Pattern All rows and columns within the rectangular array are evaluated for a match RegExp required Specifies the Regular Expression to be used when matching values from SearchThis Sum_This required A rectangular range array or expression that returns a rectangular array that is the same size as Search_This Each of the values in positions in Sum_This that correspond to values matched in Search_This will be SUMmed Case_Sensitive optional TRUE to make the pattern matching case sensitive The default is FALSE Rgx SUMIF Example 1 234 567 8901 43 1 W 2 9 0 8 0 9 W 2 9 0 9 2 W 0 9 4 se x 7 d 1 234 567 8901 x1234 16 1 234 567 8901 ext1234 10 Rgx SUMIF A 36 A 42 C 36 B 36 B 42 1 234 567 8901 86 1 234 567 8901 31 264 1 234 567 8901 78 12345678901 The Numbers data is in A36 A42 and the Reular Expression Pattern is in C35 The Values to be summed are in B36 B42 There are 6 numbers that match the pattern and the corresponding values are summed to give 264 The Numbers data is all textual numbers FastExcel V3 User Guide SpeedTools Filters Filtering Functions e 187 The LISTDISTINCTS family of functions The 6 functions in the LISTDISTINCTS family provide efficient and flexible methods to work with distinct items or distinct rows in ranges of d
205. irm the Anchor Cell and fixed rows If you selected fixed columns and dynamic rows in Step 2 you are asked to confirm your selection in Step 4 FastExcel Dynamic Range Wizard Step 4 of 5 Step4 You have chosen Fixed columns and dynamic rows You have selected 3 Fixed columns and your anchor is Sheet 1 B 16 D 16 Cancel lt lt Back Next gt gt Help If you are happy with your selection press Next to go to Step 5 Dynamic Range Wizard Step 5 The last step in the Dynamic Range Wizard is to give a name to your dynamic range The name will be checked for validity names must start with a letter and can contain only letters numbers full stops and underscores Blanks are not allowed FastExcel V3 User Guide Dynamic Range Wizard e 126 FastExcel Dynamic Range Wizard Step 5 of 5 The last step is to choose a name to use for your Dynamic Range Names must start with a letter and can contain letters numbers full stop and underscore but may not contain blanks Step 5 Enter a name for your dynamic range dynSales Cancel lt lt Back Finish Help If the name you enter already exists you will be asked if you want to change the definition of the name Press Finish to create the Dynamic Range name you will get a confirmation message similar to this FastExcel e You have successfully created the Dynamic Range name dynSales J Anchor Sheet1 B 16 D 16 Dynamic row
206. is recalculated manual and Mixed Mode Manual is on Recalc Sheet Shift F9 By default MixMode Recalculate Sheet recalculates all formulas on each selected sheet that sheets are calculated if have been changed or are volatile or are dependent on a cell on the Mixed mode selected selected sheet that has been changed or recalculated sheets is on FastExcel V3 User Guide FastExcel V3 Controlling Calculation e 48 Fullcalc Sheet Alt Shift F9 By default MixMode Full Calculate Sheet calculates all formulas on each selected sheet sheets are calculated if Mixed mode selected sheets is on Calc Range Alt F9 Calculates even on Range Calculate calculates the selected range MixMode sheets Dirty Range Flags the selected cells as uncalculated This option is only available in Excel 2002 or later In automatic mode this will trigger a recalculation MixMode Recalc Ctrl Shift F9 Recalculates both MixMode Recalc is similar to Recalc F9 except that the recalculation MixMode and ordinary also includes all Mixed Mode sheets sheets FastExcel V3 User Guide FastExcel V3 Controlling Calculation e 49 Workbook Calculation Settings Workbook Calculation Settings Mixed Mode Options for calculating MixMode Worksheets Make some sheets FastExcel allows you to mix calculation modes for different worksheets calculate automatically within a workbook The default settings are designed to allow you to and others only when you use either
207. is returned Case_Sensitive optional TRUE to make the pattern matching case sensitive The default is FALSE Rgx FIND Examples A B 34 Start position of match Rex Find 35 b5 1 5 0 9 14 b 36 Rgx FIND B 35 A37 37 Mastercard number 5499000001234567 19 38 Is This a Mastercard number 5199000001234567 29 39 Is This a Mastercard number 5699000001234567 0 FastExcel V3 User Guide SpeedTools Extras Text Functions e 308 Rgx LEN function Searches a string or a rectangular array range for a substring that matches a regular expression patter or a rectangular array range of patterns Returns the length or array of lengths of the Nth substring matching the Regular Expression pattern Rgx LEN is a multi threaded non volatile array function Rgx LEN Syntax Rgx FIND String RegExp Nth Case_Sensitive The first 2 parameters are required the last 2 parameters are optional String required Constant range or array containing the string s to be searched for the Regular Expression Patterns RegExp required Specifies the Regular Expression s to be used when matching String If String is an array or a multi cell range then RegExp must contain a matching set same number of rows and columns as String of regular expressions Nth optional default 1 The length of the Nth match of the substring is returned Case_Sensitive optional TRUE to make the pattern matching case sensitive The default is FALSE Rgx LEN
208. is workbook will be a full calculation rather than a recalculation and the time taken to rebuild the dependency trees will not be needed at workbook open time or when the workbook is edited Switch on Force Full Calculation if adding a row at the top of a worksheet is very slow and Full Calculate time is close to Recalculate time Calculate MixMode sheets on open Only works if FastExce l was Calculate all worksheets including MixMode when the workbook is active when the workbook opened in manual mode In Automatic mode MixMode sheets are was saved always recalculated on open so you cannot select this option when calculation mode is automatic Update Remote References If TRUE automatically update any remote references DDE Links to other programs whenever Excel recalculates FastExcel V3 User Guide FastExcel V3 Controlling Calculation e 53 Save External Link Values If TRUE Excel will save values for the links to external workbooks recommend keeping this option as TRUE Precision as Displayed Checking this box will force Excel to calculate to the number of decimal places that appear as a result of your formatting and will permanently change any numbers stored in cells You need to be sure you have thought through the full implications of this before using it Precision as Displayed slows down calculation 1904 Date System If TRUE changes the starting date from which all dates are calculated from January 1 1900 to January
209. k Next gt to enter a license key FastExcel V3 User Guide Installing and Activating FastExcel V3 e 35 To permanently uninstall FastExcel V3 The Uninstall will Use the Windows Control Panel Add remove Programs to run the permanently remove FastExcel V3uninstall package and remove FastExcel V3 from your FastExcel V3 from your system system To Re Install FastExcel e If you need to re install FastExcel V3for any reason just double click your downloaded FastExcel V3 installation package Using FastExcel Functions and run time support If you create a workbook that uses one or more of the SpeedTools functions or one of the new FastExcel calculation modes such as Active Workbook mode or MixedMode sheets your workbook will not function correctly unless the required components of FastExcel V3 are installed for the copy of Excel you are using SpeedTools Calc supports the additional calculation modes and the run time functions for the Dynamic Range Wizard If you are using some of the SpeedTools functions you will require one or more of SpeedTools Filters SpeedTools Lookups or SpeedTools Extras The FastExcel V3 Bundle includes all FastExcel V3 components and the SpeedTools bundle includes Calc Filters Lookups and Extras FastExcel V3 User Guide Installing and Activating FastExcel V3 e 36 Migrating from FastExcel V2 Both FastExcel V2 and FastExcel V3 can be installed on the same system whilst testing and migrating wor
210. kbook so this is the safest available method Clean Excess Used Range Clean Excess used Range is This method removes excess formatting beyond the last cell containing data or the recommended method a formula The method used does not cause alterations to formula which reference cells that are cleaned so this is a safe method to use The method will handle a large number of special difficult to clean problem used ranges Cleaning complex used ranges with hidden rows and columns can be slow Unfortunately this method does not work effectively with Excel 2007 and later versions and is disabled for these versions Delete Excess Used range This method deletes all rows and columns beyond the last cell containing data or a formula Be careful if you use Delete This action will adjust all formulas that refer to these cells and if the entire Excess range referenced has been deleted the formula is replaced with N A ForExample e Formulas before delete excess used range SUM Z1 21000 SUM A500 A600 e Rows 500 to 1000 are deleted by Delete Excess Used range FastExcel V3 User Guide Clean Workbook e 94 e Formulas after Delete Excess Used range SUM Z1 2499 N A Do Not Clean Allows you to use the other Clean Workbook options without cleaning the used range Max Number of Cells per Clean Step Because deleting rows and columns can be a very memory and resource intensive operation FastExcel does it in small steps This o
211. kbooks but it would be better to uninstall FastExcel V2 once this period is over Workbooks that use any FastExcel V2 functions such as COUNTROWS or AVLOOKUP in formulas need to have the formulas changed to use COUNTROWS2 and AVLOOKUP2 etc Workbooks using FastExcel V2 extended calculation modes should run happily with FastExcel V3 FastExcel V3 User Guide Migrating from FastExcel V2 e 37 The FastExcel V3 Ribbon and Toolbars Overview of Commands K H caicRange fReCalc Books PaTime Macro PE DrillDown g Formulas f Lookups 2 sort a arrays Nm a PB where used YYmMem Used R contextual Q About g Reca Sheet By ruil Calculation Go To Al workbook agicrossRefs b Logical A Text f Info Pro lt 7 G5 E cleaner kl Pivotmem QP Speedup Help License Cy Name View Edit Sheet E FuliCalc sheet b MixMode Recalc 4m Go Back Rl Worksheet ve Fiter Math Fn Help Mgr pro Formulas Manager Reset NM FXLV3 Help FastExcel Calculation Control FastExcel Profiler SpeedTools Function Library FastExcel Manager Memory FastExcel Help In Excel 2007 and later FastExcel V3 shows and additional tab on the main Ribbon Calculation Options The FastExcel V3 Ribbon shows all the FastExcel V3 commands even if not all the FastExcel V3 products are installed or licensed In Excel 2003 FastExcel V3 shows 3 Toolbars one each for Profiler Manager and SpeedTools AOR RoHh we Aww QE rosa R E T Extended Excel and FastExcel Calculation Options
212. ks for a row with superphone in the product column and defense in the sector column and returns the value from the Users column If a row that meets these conditions is not found AVLOOKUP2 returns None Looking up multiple columns is simple and efficient with AVLOOKUP2 AVLOOKUP2 superphone defense A1 E7 Users Asc None product sect or 5 The two values to look up and the two columns to look up are specified as arrays using curly brackets You should NOT enter this formula as an array formula Often it is better to reference ranges that contain the values rather than use arrays This example assumes that J34 K34 contains superphone and defense and J33 K33 contains Product and Sector AVLOOKUP2 J34 K34 A1 E7 Users Asc None J33 K33 5 Multicolumn lookup with columns that are not adjacent When the columns that you want to lookup are not next to one another you can use the COL ARRAY function to create an array that makes the data adjacent So if you want to look up the spend for a Sector and Channel the function would look like this AVLOOKUP2 COL ARRAY C45 A45 A1 E7 Spend Asc None Sector Channel Using Ranges 6 cell array formula in D44 E46 A B C D E 43 Channel Product Sector Spend Users 44 direct superphone defense 150 5 45 direct superphone mfg 1200 60 46 reta
213. l Single Cell Case AMATCH2 Y Case AMATCHES2 Case AMATCHNTH Case AVLOOKUP2 Case AVLOOKUPNTH Case AVLOOKUPS2 Case VSORTC Case VSORTC INDEX lt lt lt lt lt lt lt lt z z z lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt COL ARRAY Y Y COMPARE Scalar Single Cell COMPARE LISTS Y CONCAT RANGE COUNTCOLS2 lt lt COUNTCONTIGCOLS2 COUNTCONTIGROWS2 COUNTDISTINCTS COUNTDUPES COUNTROWS2 COUNTUSEDCOLS2 Z Z lt lt Z Z Z lt lt lt lt lt lt lt lt COUNTUSEDROWS2 N Y GROUPS Scalar Single Cell EVAL2 Scalar Single Cell FILTER IFS Y lt FILTER MATCH FILTER SORTED FILTER VISIBLE GETMEM GINICOEFF HASFORMULA2 IFERRORX FastExcel V3 User Guide lt z lt lt z lt lt lt z lt z z z lt lt z z z lt lt lt lt lt x lt lt lt lt lt z z z lt lt lt lt lt lt lt lt lt lt lt lt Z Z Z Z lt Z Z Z lt Z Z Z Z Z Z Z Z Z Z Z Z Z Z Z Z Z Z Z Z Z lt Z Z Z Z Z Z Z Z Z Z Z Z Z Z lt z lt lt z lt lt lt lt lt lt lt lt lt SpeedTools Functions e 166
214. l V3 celV3 Using MICROTIMER in code The Microtimer function returns a double containing time in seconds This example measures the time taken to recalculate workbooks including Mixed Mode worksheets Dim dTimel as double dTime1l MICROTIMER FxlDisabledSheetsCal LC dTimel MICROTIMER d Timel Msgbox Calculate Time amp cstr dTimel FastExcel V3 User Guide Using FastExcel V3 with VBA e 322
215. l V3 User Guide Optimizing Excel Calculation Bottlenecks e 26 What s new in FastExcel Version 3 for FastExcel V2 Users Useful information for users upgrading from FastExcel Version 2 FastExcel V3 Products FastExcel has been split into 6 separately available products so that you only need to purchase the products you need e FastExcel V3 Profiler e FastExcel V3 Manager e FastExcel V3 SpeedTools Calc FastExcel run time engine e FastExcel V3 SpeedTools Lookups e FastExcel V3 SpeedTools Filters e FastExcel V3 SpeedTools Extras There also 2 product bundles available e FastExcel V3 Bundle which includes all 6 products e FastExcel V3 SpeedTools Bundle which includes all the 4 SpeedTools products You also get a free copy of SpeedTools Calc when you buy any other FastExcel V3 product 64 bit and Ribbon Support All FastExcel V3 products support both 32 bit and 64 bit Excel All FastExcel V3 products support both the Ribbon and Toolbars user interfaces FastExcel V3 User Guide What s new in FastExcel Version 3 for FastExcel V2 Users e 27 What s new in FastExcel V3 Profiler for FastExcel V2 Users Supports both Excel 32 and 64 bit versions Supports Excel 2003 through Excel 2013 Both Ribbon and Toolbar user interfaces Drill down Profiling wizard for easy and fast profiling Profiles Multi Threaded Calculation efficiency New Profile Formulas and Functions command can profile down to unique formulas on a worksheet Faster p
216. l be shown If Confirm Changes is checked then you will be asked to confirm the replace operation Replace All Button Finds every Refers To that contains the Find Text within the Find amp Replace Scope and replaces them with the Replace Text FastExcel V3 User Guide Name Manager Professional e 112 Name Map Button al The Name Map button analyzes all the formulas on the worksheets in the workbook and in other names to produce a Name Map worksheet showing counts of the usage of the Names by worksheet and by other Name Names created by INDIRECT formulas are also found 0 0 0 0 0 0 0 7 0 0 0 6 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 a 0 0 0 0 0 0 0 12 0 0 0 0 0 0 0 0 0 0 0 0 0 13 0 0 0 0 0 3 0 0 0 a 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 12 12 0 Name Manager Help Button e The Name Manager Help button provides on line help about Name Manager FastExcel V3 User Guide Name Manager Professional e 113 Name Manager Options Listbox Confirm changes O Show Excel System names Show Refersto O R1C1 notation Confirm Changes IV Confirm changes Check the Confirm Changes box to get prompts to confirm any changes you make with the action buttons Show Excel System Names Check this box to show Excel s system names like Print_Area Print_Titles FilterDatabase In general it is recommended not to modify these names or
217. l process the array If using ByRows the functions should be entered as a multi cell array formula with the same number of columns as thelnputData and sufficient rows for each distinct row in thelnputData If not using ByRows the function should be entered as either a single row or single column multi cell array formula LISTDISTINCTS COUNT LISTDISTINCTS SUM and LISTDISTINCTS AVG These functions work the same way as LISTDISTINCTS except that they produce an extra column containing the Counts Sums and Averages respectively So make sure to include the extra column when you are entering them as multi cell array formulas LISTDISTINCTS SUM and LISTDISTINCTS AVG ignore cells in the SumColumn containing True False numbers which are text and text FastExcel V3 User Guide SpeedTools Filters Filtering Functions e 190 LISTDISTINCTS COUNT Function LISTDISTINCTS COUNT outputs a multi column array of the cells or rows from the input data where the first column columns are the distinct items rows and the last column is the count of that item If ByRows is true then the output rows are the distinct rows but if ByRows is false then the output is 2 columns the first column is a list of all the distinct items in the input data and the second column is a count for each distinct item LISTDISTINCTS Syntax LISTDISTINCTS COUNT theInputData Ignore ByRows Case_Sense Sort PadType See the LISTDISTINCTS function for an explanation of the parameters
218. late is often significantly faster than the first Windows is a multitasking 6 ui system so Excel does not Excel also saves some of this information including the most recent get the whole system to calculation path with the workbook itself Excel s background S P S Windows is a multitasking paged virtual memory operating system so calculation process can other system tasks are always running at the same time as Excel Try easily be interrupted f and make sure there are no other user tasks active whilst you are using FastExcel Excel s background calculation process can be interrupted if you press any key or click the mouse whilst FastExcel is active This may give you inaccurate timings FastExcel V3 User Guide Calculation Timing Commands e 62 Profiling Commands The Profiling Commands pi DrillDown AS Formulas a Workbook 324 CrossRefs El worksheet FastExcel Profiler The five profiling commands are Drill down Wizard This guides you to drill down to find the calculation bottlenecks from workbook to worksheets to worksheet areas to individual formulas and functions Profile Workbook which analyzes the calculation times and memory usage of your workbook Profile Worksheet Areas This analyzes formula calculation times for the columns rows and blocks of formulas in one or more of your worksheets Profile Worksheet Formulas and Functions This analyzes the calculation times for unique formulas on
219. lculated at every recalculation Unqualified cell references The input string is evaluated as though it was on the worksheet in which the function has been entered This means that unqualified cell references like F7 will be evaluated as referring to F7 on this sheet regardless of which sheet is active To refer to cells on other sheets use qualified references like Sheet3 F7 Array Formulas The input string is always evaluated as though it had been array entered An array of multiple results is returned where appropriate Date Literals EVAL always interprets date literals as US style dates MMDDYY Maximum 255 characters EVAL2 will evaluate a maximum of 255 characters FastExcel V3 User Guide SpeedTools Lookups Lookup Functions e 256 SpeedTools Extras Mathematical Functions e LINTERP2D Fast 2 dimensional linear interpolation e VLINTERP2 Fast linear interpolation in a vertical table e GINICOEFF Fast calculation of the Gini inequality coefficient FastExcel V3 User Guide SpeedTools Extras Mathematical Functions e 257 VLINTERP2 function VLINTERP2 provides efficient linear interpolation in a table of values The VLINTERP2 function is similar to VLOOKUP except that it calculates linear interpolations between the values in a lookup table if an exact match cannot be found A single Lookup_Value and Col_Return_Nums will return a single interpolated value Multiple lookup values will return a column of values Mu
220. lculation when this option is checked pressing F9 or FastExcel s Recalculate button will recalculate formulas that are flagged as uncalculated including those on MixMode sheets in the active workbook The default is not checked e Selected Sheet s Calculation when this option is checked pressing Shift F9 or FastExcel s Calculate Sheets button will recalculate formulas that are flagged as uncalculated on all selected sheets MixMode or enabled The default is checked e Automatic Calculation this option is permanently disabled Excel s automatic calculations do not recalculate MixMode sheets Mixed Mode On or OFF A subset of the sheets in a workbook can be assigned Mixed Mode calculation Mixed Mode sheets can have a different calculation mode to that of the workbook for example F9 could calculate all the sheets except the Mixed Mode sheets and Mixed Mode sheets would only be calculated at a Full Calculation or Sheet Calculation of a Mixed Mode sheet Use the Mix Mode buttons to control which sheets are to be treated as Mix Mode sheets Mixed Mode settings are saved with the workbook FastExcel V3 User Guide Sheet Manager e 146 Move Up Move Down These buttons will move all the selected sheets either one position up or one position down Sort Workbook Sheets This button show the Workbook Sheets Sorting Options Workbook Sheets Sorting Options Choose Sort Sheets Options Filtered C Selected C Position Name Ascending
221. lculation sequence and counting functions to help you understand Excel calculation quirks FastExcel V3 User Guide SpeedTools Overview e 153 High Performance AVLOOKUP2 family of functions The AVLOOKUP2 and AMATCH2 functions have been re written as multi threaded C XLL functions to significantly improve performance The AVLOOKUP2 family can use 4 different kinds of Lookup Memory so that you can choose the optimum solution for your scenario Lookup Memory is now stored with the workbook so that it is immediately active when you reopen a workbook Options are now available for all combinations of Finding the Nth of multiple matches Case sensitive Lookup Regular Expression Lookup Simple Replacement of VLOOKUP HLOOKUP and MATCH The new MEMLOOKUP and MEMMATCH provide a very simple way of speeding up exact match lookups by replacing VLOOKUP HLOOKUP and MATCH MEMLOOKUP and MEMMATCH share the same Memory components as the AVLOOKUP2 family but do not have the many added features of the Advanced VLOOKUP family Comparing two lists The COMPARE LISTS function provides an easy and very efficient way of comparing 2 lists to find both the Matching data and missing data Regular Expression Functions In addition to the Regular Expression Lookup functions FastExcel SpeedTools has Regular Expression functions for summing counting and manipulating text e Rgx COUNTIF count the number of cells that match a regular expression patter
222. le Rgx Case AMATCH2 Rgx AVLOOKUPS2 Rgx AMATCHNTH All combinations of these flavors make 24 different advanced lookup functions in addition to MEMLOOKUP MEMMATCH and COMPARE LLISTS FastExcel V3 User Guide SpeedTools Lookups Lookup Functions e 212 MEMLOOKUP Function The MEMLOOKUP function uses Memory Lookup for faster exact match lookup on both sorted and unsorted data Use MEMLOOKUP to replace VLOOKUP HLOOKUP and LOOKUP MEMLOOKUP always does an exact match On sorted data MEMLOOKUP does an exact match binary search If no match is found MEMLOOKUP returns N A even with sorted data For a vertical range or array MEMLOOKUP looks for a value in the leftmost column of Lookup_Array and then returns a value in the row where the value was found from a column you specify For a horizontal range or array MEMLOOKUP looks for a value in the topmost row of Lookup_Array and then returns a value in the column where the value was found from a row you specify MEMLOOKUP is a multi threaded non volatile non array function MEMLOOKUP Syntax MEMLOOKUP Lookup_Value Lookup_Array Col_index_num Sort_Type MemType_Name Vertical_Horizontal The first 3 parameters are required the last 4 parameters are optional Lookup_Value required Specifies the value to be found in the Lookup_ Array Can be a constant or a range reference or an expression returning a single value Lookup_Array required A vertical or horizontal array of constants or
223. le rows and columns using arrays and a 4 cell array formula You can use arrays of constants or ranges in AVLOOKUP2 In this example the formula is Ctrl shift entered into A53 B54 The first array of lookup values has two rows each containing two lookup values comma separates columns semicolon separates rows The second array spend users specifies the names of the two columns to return values from The third array Product sector specifies the names of the two columns to look up AVLOOKUP2 Superphone defense superphone mfg A1 E7 spend users r Asc None product sector The results of the array formula are shown below Using SUM and wildcards with AVLOOKUPS2 This example uses AVLOOKUPS2 to return all the rows that match a simple lookup for Channel and Sector and a wildcard lookup for Product The results are summed separately for Spend and for Users If no matching rows are found then 0 will be returned D49 SUM AVLOOKUPS2 A49 C49 A 1 E 7 D 43 Not 0 A 43 C 43 Fill across to E49 and down to D50 E50 This is NOT an array formula and does not need to be entered using Ctrl shift Enter A B D 43 Channel Product Sector Spend Users 49 direct p Mfg 1405 82 50 retail p Mfg 1000 200 The answer value of 1405 in D49 is the sum of the Spend column for all the rows that have Channel Direct and Sector Mfg and Product contains a P The result of 1405 in D49 comes fro
224. lls down to the last visible non empty cell The count includes the top row of the referenced cell If theColumns refers to more than one adjacent column then the count gives the largest row count found for the columns COUNTROWS 2Remarks COUNTROWS 2is a volatile function If the reference specified for theColumns contains more than one row the top row will be used If the reference specified for theColumns contains more than one column the last visible non empty row in each column will be found and the largest row count will be returned COUNTROWS2uses the same criteria as Ctrl Up Arrow to detect empty cells The last row found is equivalent to selecting the last row in the worksheet and pressing Ctrl Up Arrow except that it will stop at the cell specified by theColumns COUNTROWS2 will return 1 if the cell specified by theColumns is empty and there are no other visible non empty cells below theColumns A cell that contains nothing but is formatted is treated as an empty cell A cell that contains will look empty but will be treated as a non empty cell Invisible cells can be created using Automatic or Advanced Filter hiding rows or columns or setting row heights or column widths to zero If the last row s in the range are not visible then COUNTROWS2 will not count them If intermediate row s in the range are not visible COUNTROWS2 will count them Countrows2should be used Because hiding rows columns or setting width heights
225. ltiple Col_Return_Nums will return a row of values VLINTERP2 is a multi threaded non volatile array function VLINTERP2 Syntax VLINTERP2 Lookup_Values Table_Values Col_Return_Nums Lookup_ColNum Extrapolate Lookup_Values The value s to lookup in the Lookup_ColNum column of Table_Values Multiple values will produce a column of results corresponding to the Lookup_Values If an exact match is found then VLINTERP2 will use that row If no exact match is found VLINTERP2 will interpolate between the row that contains the largest value that is smaller than lookup_row_value and the row that contains the smallest value that is larger than lookup_row_value Table_Values A rectangular set of values to be used for the interpolation The first column must contain the values to be looked up The other columns contain the values to be interpolated between Col Return_Nums The column number to return the interpolated values from where the first column in Table_Values is 1 Multiple column numbers will produce a row of results corresponding to the requested columns Lookup_ColINum Optional Default 1 The column number to find the Lookup_Values from where the first column in Table_Values is 1 Extrapolate Optional True default to allow extrapolation beyond Table_Values FastExcel V3 User Guide SpeedTools Extras Mathematical Functions e 258 Calculation Method If lookup_value1 and lookup_value2 are the two values fou
226. lts of these functions you can choose to return 0 or N A for unused cells Counts Sums and Averages for the list of Unique Items LISTDISTINCT COUNT LISTDISTINCT SUM LISTDISTINCT AVG COUNTDISTINCTS and COUNTDUPES give you an easy way of dynamically counting the number of occurrences of each distinct item row or of summing or averaging a range of values for each distinct row New Family of AND and OR functions designed for Array Formulas Excel s standard OR and AND functions do not generally work well in array formulas because they only return a single True or False rather than evaluating each row or column in the array in turn to return an array of True False The SpeedTools functions OR ROWS OR COLS OR CELLS AND ROWS AND COLS and AND CELLS are designed to simplify the use of logical functions in array and FILTER formulas and can be nested to build complex logical array expressions 5 New functions to simplify and extend array handling Append arrays and ranges by row or column Pad resize and reverse arrays Generate numeric row and column vector arrays 10 New Text handling Functions Use Regular Expressions to find and manipulate text strings Split Reverse Pad and extract groups of characters from text strings Concatenate ranges using delimiters 6 Dynamic sorting functions If you want to dynamically sort the results of a calculation or the output of an array function such as LISTDISTINCTS you can use the 6 dy
227. lumn number s of the columns to be used as sort keys Up to 15 sort keys can be specified Positive column numbers will be sorted ascending and negative column numbers will be sorted descending You can have both positive and negative numbers in the same function call 1 denotes the first column in the input data If all Sort Column parameters are omitted all columns in the input data will be used as ascending sort keys VSORTC INDEX Examples e VSORTC INDEX B b a A returns a column with 4 rows containing 3 4 1 2 first is the 3 in the input data a then the 4 A then the 1 B then the 2 b e VSORTC INDEX A1 C100000 1 2 will return 100000 rows by 1 column of index numbers sorted ascending on column A and descending on column B pooo NF amp WwW h N amp WwW NN we e FastExcel V3 User Guide SpeedTools Filters Sorting Functions e 204 Case VSORTC INDEX Collating Text Index Sort of a vertical range or array This function index sorts a vertical array or a range containing one or more columns The sort IS case sensitive and is done using a locale based collating sequence which respects national language characters and Excel s sorting rules The output sequence will be the same as a case sensitive EXCEL SORT Case VSORTC INDEX is a non volatile multi threaded multi cell array function Case VSORTC INDEX Syntax Case VSORTC INDEX theInputData SortColumn1 SortColumnz SortColumn15
228. ly slow workbook calculation e Large Ranges Using larger ranges than necessary can be expensive for calculation time e Duplicated calculations it is very easy to build a spreadsheet where many of the calculations are being repeated many times e Workbook Links Links to other workbooks are slow and fragile FastExcel V3 User Guide Optimizing Excel Calculation Bottlenecks e 23 Use FastExcel V3 to Eliminate Calculation Bottlenecks Once you have identified and prioritized the calculation bottlenecks you can set about eliminating and reducing them Slow Lookups and Matches e Use SpeedTools s advanced memory lookup technology to speed up recalculation of exact match lookups e Sort the data and use SpeedTools super fast sorted exact match lookup e SpeedTools MEMMATCH MEMLOOKUP AVLOOKUP2 and AMATCH2 all use memory lookup and sorted exact match lookup e Use SpeedTools AVLOOKUP2 and AMATCH2 built in exact match error handling e Handle multiple condition lookups efficiently with SpeedTools AVLOOKUP2 and AMATCH2 rather than using slow array formulas or concatenation Slow Array Formulas and SUMPRODUCT formulas e Use SpeedTools FILTER IFS powerful and efficient multiple condition handling to replace slow SUMPRODUCT and array formulas e Sort your data and use SpeedTools FILTER IFS ability to exploit sorted data efficiently e Minimize the effective size of the ranges you are using with FastExcel Managers Dynamic Range Wizard p
229. m the rows returned to SUM as follows Row 3 Direct Mfg SpaceCalls 205 Row 7 Direct Mfg SuperPhone 1200 The other results are obtained in a similar way FastExcel V3 User Guide SpeedTools Lookups Lookup Functions e 231 Case AVLOOKUP2 Case AVLOOKUPS2 amp Case AVLOOKUPNTH Functions Search for values in one or more columns of a table and return values from the rows where a match is found Advanced Lookup functions returning e either the first value found Case AVLOOKUP2 e orallthe values found Case AVLOOKUPS2 e or the Nth value found Case AVLOOKUPNTH Case AVLOOKUP2 Case AVLOOKUPS2 and Case AVLOOKUPNTH are case sensitive versions of AVLOOKUP2 AVLOOKUPS2 and AVLOOKUPNTH respectively The Case AVLOOKUP family of functions are multi threaded non volatile array functions Case AVLOOKUP Family Syntax Case AVLOOKUP2 Lookup_Values Lookup_Table Answer_Columns Sorted Exact_Match Lookup_Columns MemType_Name The first 3 parameters are required the last 4 parameters are optional Case AVLOOKUPS2 Lookup_Values Lookup_Table Answer_Columns Sorted Exact_Match Lookup_Columns The first 3 parameters are required the last 3 parameters are optional Case AVLOOKUPNTH Lookup_Values Lookup_Table Answer_Columns Sorted Exact_Match Lookup_Columns Position The first 3 parameters are required the last 4 parameters are optional Lookup_Values required The value s to be found in the Lookup_Columns Can be a
230. mbers using powerful pattern matching function Wide variety of Criteria Operators In addition to the usual criteria operators lt lt gt gt lt gt you can use Like Regular Expression True False And Data Type filters HERR TXT N BOOL EMPTY ZLS TYPE BLANK FastExcel V3 User Guide SpeedTools Overview e 155 Prefixing any of the criteria operators with makes the criteria an exclusion criterion rather than an inclusion criterion Use Column Labels or Column Numbers for Criteria Using Column labels from the first row of the data makes the FILTER functions easier to read and you don t have to remember to change the column numbers in all your formulas when you add columns Create virtual calculated criteria columns Unlike SUMIF and COUNTIF you can use expressions containing Excel functions and formulas to create virtual calculated columns for your criteria columns FastExcel V3 User Guide SpeedTools Overview e 156 The Family of LISTDISTINCT Functions This new family gives you an easy powerful and efficient way of dynamically working with data containing duplicates Work with multiple columns The ByRows option allows you to look for distinct rows with multiple columns Case sensitive Option You can choose whether to ignore upper lower case or not Multi Cell array formulas options The LISTDISTINCT family can return arrays of the distinct items To simplify dynamically using the resu
231. me to completed any pending time software install including a Be careful not to delete temp files if you have done a software install that reboot if required before requires you to reboot your PC but have not yet done so deleting the Temp Files In this case you should reboot before deleting the temp files Note a very large number of temp files may cause FastExcel to hang with the status bar showing Checking Temp Files If this happens close Excel reboot your PC and then delete all files in your temp folder You can locate your temp folder using Start gt Run entering temp in the run box and pressing enter Close VBE Windows Each open Visual Basic Environment VBE window consumes resources and the number that are open can build up very rapidly This option closes all VBE windows except for windows like Project Explorer Remove Invalid Names This option deletes all names containing errors Delete Empty Worksheets This option deletes any worksheets that do not contain any cell content formatting data formulas or shapes Remove zero height or width shapes In some conditions a large number of shapes with either zero height or width can be created on a sheet It can be very difficult to see select or delete these shapes so this option deletes them for you Remove Zero sized Shapes In some conditions a large number of shapes with both zero height and width can be created on a sheet It can be very difficult to see
232. mns required Specifies the column or columns in Lookup_Table that the Case AVLOOKUP functions will return values from for the row or rows that are found in the lookup operation Answer_Columns can be a constant an array of constants an expression or a reference e If Answer_Columns evaluates to a number it will be treated as relative column number s within Lookup_ Table e If Answer_Columns evaluates to text then the text will be treated as column labels to be found in the first row of Lookup_ Table If the column labels are not found the Case AVLOOKUP functions return REF Sorted Optional default False Specifies whether the data in Lookup_Table is sorted on the first Lookup Column ascending descending or not sorted Valid values for Sorted are e True Asc Yes True 1 Ascending e Des 1 Descending e False No 0 any other text Not Sorted If the Lookup_ Table is sorted on the first Lookup_Column the lookup process will be significantly faster Exact_Match optional defaults to True Use this optional parameter when you want the Case AVLOOKUP functions to find a row in Table_range that exactly matches the Lookup_Value s even with sorted data and also to specify what to return if an exact match does not exist An exact match will always be done with unsorted data A value of False means that an approximate match will be found with sorted data Use True to find an exact march with sor
233. mns across to the right from the referenced cell to the cell before the first visible empty cell found The count includes the first column of the referenced cell If theRows refers to more than one adjacent row then the count gives the largest column count found for the rows COUNTCONTIGCOLS2 Remarks COUNTCONTIGCOLS2 is a volatile function If the reference specified for theRows contains more than one column the left most column will be used If the reference specified for theRows contains more than one row the last non empty column before the first empty cell in each row will be found and the largest column count will be returned COUNTCONTIGCOLS2 uses the same criteria as Ctrl Right Arrow to detect empty cells except when the reference cell or the cell to the right of the reference cell is empty COUNTCONTIGCOLS2 will return 1 if the cell specified by theRows is empty and the next cell to the right is also empty If the cell specified by theRows is empty but the cells to the right of it are not empty then COUNTCONTIGCOLS2 will look to the right from the cell adjacent to the cell specified by theRows A cell that contains nothing but is formatted is treated as an empty cell A cell that contains will look empty but will be treated as a non empty cell Invisible cells can be created using Automatic or Advanced Filter hiding rows or columns or setting row heights or column widths to zero If intermediate empty column s in the ra
234. n Rgx SUMIF sum cells whose corresponding cells match a regular expression pattern e Rgx lsLike returns True if the cell matches a regular expression pattern e Rgx FIND finds the position within a string that matches a regular expression pattern e Rgx LEN returns the length of the substring within a string that that matches a regular expression pattern e Rgx SUBSTITUTE replaces substring s that match a regular expression pattern with new text These functions are all multi threaded and have been built using the Boost Regular Expressions Library They support ECMASCRIPT PERL regular expression syntax FastExcel V3 User Guide SpeedTools Overview e 154 High Performance FILTER IFS family of functions The FILTER IFS FILTER MATCH FILTER SORTED ASUMIFS and ACOUNTIFS functions provide you with a high performance high function solution to multiple criteria problems that previously required slow SUMPRODUCT or Array formulas Outstanding performance improvements with sorted data The FILTER IFS family of functions has been implemented using ultra efficient binary search algorithms that give stunning performance on sorted data Efficient performance with clustered or sparse results from unsorted data Special care has been taken to minimize search time for unsorted data by exploiting clustered data and subsets of results For many cases this gives substantial performance improvements on unsorted data For worst case
235. n Lookup_ Table If the values are numeric they will be treated as column numbers if alphabetic they will be treated as column labels to be found in the first row of Lookup_Table If there is more than one column given then there must be a matching set of values given in the columns of Lookup_Values Multiple columns can be given either as an array of constants or as a range reference MemType_Name Optional Defaults to 2 AVLOOKUP2 only Memory type for lookups can be 0 1 2 or 3 or a string that is used as the name for a memory FastExcel V3 User Guide SpeedTools Lookups Lookup Functions e 225 3 Global Memory for Rows or Columns A single index is stored in global memory for each row vertical lookups or column horizontal lookups This global memory is super efficient and easy to use when you have more than one lookup formula on the same row looking up different columns in a Table This global memory works across all worksheets in all open workbooks 2 Book Sheet Row Memory If you are using different Lookup Tables on different worksheets but still want to have more than one lookup formula on a row looking up different columns in the same table you can use this option which stores the row memory separately for each Workbook worksheet 1 Book Sheet Cell Memory If you are using multiple Lookup Tables formulas in different cells on the same sheet and the same row you should use this option which stores the memory separately for each
236. n in the input data If all Sort Column parameters are omitted all columns in the input data will be used as ascending sort keys Case VSORTC Examples e Case VSORTC A C will sort column A to C ascending using the minimum of the number of rows in the used range and the number of rows in the multi cell array formula that contains Case VSORTC If the formula containing Case VSORTC is only entered into a single cell then Case VSORTC will return the number of rows in the used range e Case VSORTC B b a A returns a column with 4 rows containing a A b B lower case before upper case e Case VSORTC A1 C100000 1 2 will return 100000 rows by 3 columns sorted ascending on column A and descending on column B ae K L M N pooo Topo no p gt w row pb Sopo nop FastExcel V3 User Guide SpeedTools Filters Sorting Functions e 202 VSORTB Fast Dynamic Sort of a vertical range or array This function sorts a vertical array or a range containing one or more columns The sort is case sensitive and is done using a binary collating sequence which is dependent on the positions of the characters in the code page The output sequence may NOT be the same as EXCEL SORT for text items VSORTB is a non volatile multi threaded multi cell array function VSORTB Syntax VSORTB theInputData SortColumn1 SortColumnz SortColumn15 The first parameter is required all other parameters are optional The output from VSORTB will be a vertical
237. n is selected Toggle Constant Origin View gt Edit Mode gt Constant Origin View Toggle Active Origin View gt Edit Mode gt Active Origin View In View mode launch Name Manager in Edit mode Insert Name Toggle Reference between Relative Absolute modes F5 or Left Arrow Key Move selection left Ctrl F5 Alt F5 F6 Alt F6 Expand selection to the left Contract selection from the left Select the sub expression containing the cursor Clear the selection F7or Right Arrow Key Move selection right Ctrl F7 Alt F7 F8 Alt F8 F9 Alt F9 Expand selection to the right Contract Selection from the right Expand selection Contract Selection Replaces selection with its evaluation Time an evaluation of the selection FastExcel V3 User Guide Indenting Formula Viewer Editor and Debugger V2 e 135 Additional Edit Mode Buttons When you select Edit Mode additional buttons appear at the bottom and the top of the form Add Reference Function Wizard Insert Name Clear Copy From Rel gt Abs gt Rel Close Enter Formula Help Destination Formula Address Destination memtest xls data_secl L 3531 The destination formula address shows the range where the Enter Formula button will place the formula You can change this destination using the Destination button Note that the destination can be a single cell or a range of cells Double clicking the destination address will select the range identified by its address Unformat Refo
238. n of the formula FastExcel V3 User Guide Indenting Formula Viewer Editor and Debugger V2 e 128 The Formula Viewer Indenter Debugger allows you to e View an indented version of the formula and the result of evaluating selected formula text e Dynamically change the indenting and line separation style e Select sub expressions by clicking with mouse e See the result of evaluating the selected sub expression e Use F9 to debug the formula in multiple steps with undo redo e See if a function is Native XLL or Automation VBA Volatile or Non Volatile and single or multi threaded e Time the evaluation of the selected sub expression e Choose between Edit mode Constant Origin Mode or Active origin Drill Down Mode e GoTo a reference by double clicking in the formula textbox e Print the form showing the indented formula e Edit the formula and reinsert it into the destination cells e Change the destination of the formula e Call the function wizard either for an existing function in the formula or to insert an additional function e Insert range references and Names e Copy a formula from another cell or into another cell or range of cells FastExcel V3 User Guide Indenting Formula Viewer Editor and Debugger V2 e 129 Formula Box The formula box shows you the indented view of the formula Left Click in the Formula Box When you click on the formula the formula box selects the sub expression you clicked on and shows a blue backgr
239. n the workbook will then look for external Lookup Memory files FastExcel V3 User Guide FastExcel V3 Controlling Calculation e 56 FastExcel V3 Licensing Settings FastExcel Licenses Show License Status Add New License Show License Status shows you the status of your licenses for all FastExcel V3 products FastExcel V3 Products License Activation Status License Status FastExcel Bundle Full License Activated Profiler Full License Activated Manager Full License Activated SpeedTools Bundle Full License Activated Calc Ful License Activated LOOMRP FURS slime Activated Filters Fumes Fw License Activated Extra Funes Ew License Activated Activate New License Buy License Release All Licenses Add New License asks which product you want to add a license for Choose Additional FastExcel V3 Product to License m Choose SpeedTools Product to Activate Enter Activation Code for FastExcel Bundle Enter Activation Code for FastExcel Profiler Enter Activation Code for FastExcel Manager C Enter Activation Code for SpeedTools Calc EnterActivation Code for SpeedTools Lookup Functions Enter Activation Code for SpeedTools Filter Functions Enter Activation Code for SpeedTools Extra Functions FastExcel V3 User Guide FastExcel V3 Controlling Calculation e 57 And then prompts for the License Activation key O A Registration Wizard WEE W a
240. n using the trial version of FastExcel Profiler The Profile Worksheet Areas command shows you a form to allow you to choose between options Choose Profile Worksheet Areas Options Choose Profile Worksheet Areas Options a m Worksheet Area s Profiling Options m Contiguous Areas Show Counts for Formulas Formula Lengths Profile All Areas Profile Selected Area V Conditional Formats Columns RE V Profile Worksheet Columns in Blocks I gt Prole Worksheet Row Bode Number of Column Blocks Granularity 20 Number of Row Blocks Granularity 20 Set Warning Tolerance Cell Warning Orange Tolerance 0 2 OK Cancel Help You can choose to profile one or more of e The contiguous areas on the worksheet s either all or the selected areas e The Worksheet Columns within the areas choose the number of groups of columns you want larger number gives finer granularity but takes longer e The Worksheet Rows within the areas choose the number of groups of rows you want larger number gives finer granularity but takes longer You can also choose to show counts of formulas and formula lengths but this uses more time The warning tolerance Orange tolerance controls the sensitivity of flagging the results as warnings A larger number means more warnings Profile Selected Area After reviewing the output from a Profile Worksheet Areas you can select one or more o
241. named row memory is shared by name across all worksheets within a workbook Lookup Memory is stored with the workbook All four kinds of Lookup Memory can be stored with the workbook so that it is automatically restored when you next open the workbook FastExcel V3 User Guide SpeedTools Lookups Lookup Functions e 209 Managing the Global Lookup Memory pools The current Lookup Memory is stored each time the workbook is saved When a workbook is opened its stored Lookup Memory is added to the global Lookup Memory pool The Lookup Memory Pool persists until the Excel session is closed or Lookup Memory is cleared The SpeedTools Settings tab in FastExcel SpeedTools Calculation Options and Settings enables you to control Lookup Memory Lookup Memory Settings IV Save Lookup Memory with Workbook Always Store Externally Clear Memory Count Lookup Memory Retrieve Memory You can choose whether to save the Lookup Memory and whether to always store it externally to the workbook For Excel 2003 and earlier the Lookup Memory is always stored externally External memory files are stored in the same directory as the workbook and have file extensions of mrl mcl and mcs Clear Memory empties the current Lookup Memory Count Lookup Memory gives you a count of each of the three different kinds of Lookup Memory Retrieve Memory repopulates the Lookup Memory from the workbook or the external files Choice of simple or advanced Lookup Functions MEMM
242. namic sorting functions with case sensitive and index sort options 4 of these functions provide the same sort sequence as the Excel SORT command and can be used to prepare the input for all the LOOKUP functions FastExcel V3 User Guide SpeedTools Overview e 157 New Math and Statistics functions Use GINICOEFF for efficient calculation of Gini Coefficients a widely used measure of inequality Use the power of Regular Expressions in COUNTIF and SUMIF Extended vertical and 2 dimensional linear interpolation FastExcel V3 User Guide SpeedTools Overview e 158 New Calculation Methods amp Properties In addition to Excel s standard calculation methods FastExcel SpeedTools Calc gives you e 2 Methods to calculate only the selected range of cells e Recalculate or Full Calculate the selected Worksheet s e Calculate only the active workbook e Force Calculation of Mixed Mode worksheets In Excel 2007 and later FastExcel SpeedTools gives you e Choice of Range Calculate or RangeCalculate Row Major Order e Control of Multi Threaded Calculation e Tradeoff opening and editing speed with calculation speed using ForceFullCalculation Extended Calculation Modes Because Excel s standard calculation modes work on all the open workbooks it is difficult to work effectively with a mixture of large slow workbooks worksheets and small fast workbooks worksheets FastExcel SpeedTools Calc gives you the control you need to work effectively in this situ
243. nce is made for a row of column labels in either or both the InputRange and Criteria Columns Criteria1 required Specifies the criteria expression to be applied to CriteraColumn1 The Criteria expression must resolve to a text string starting with a criteria operator and ending with a Criteria value If no criteria operator is found at the start then will be assumed A Criteria expression may be any Excel expression containing strings range references defined names and operators Criteria Operators Valid Criteria operators are The relational operators e is equal to e gt is greater than e gt is greater than or equal to e lt is less than e lt is less than or equal to e is not equal to e If no operator is given it is treated as except that the data type is never converted see Data Types section below The Boolean operators FastExcel V3 User Guide SpeedTools Filters Filtering Functions e 172 e True the cell value is true e False the cell value is false The Pattern operators e Like the criteria value pattern using the wild card characters and e Matches against a regular expression pattern Because Excel propagates error values through formulas and expressions the above criteria operators have no effect when preceding an error value The Data Type Operators e TYPE the data type of the cell is the same as the first data cell in the criteria column e ERR the cell contains an error value e TXT
244. nction returns a single number the total number of duplicated items rows COUNTDUPES does not need to be entered as an array formula The number of duplicated items rows is counted as the total count of items rows for each non ignored distinct item row 1 COUNTDUPES Syntax COUNTDUPES theInputData Ignore ByRows Case_Sense See the LISTDISTINCTS function for an explanation of the parameters FastExcel V3 User Guide SpeedTools Filters Filtering Functions e 195 LISTDISTINCTS Examples Sample Data A B Cc D E 1 Channel Sector Product Users Spend 2 Direct Defense SpaceCalls f 1015 3 Direct Mfg SpaceCalls 2 205 4 Retail Defense SuperPhone 10 100 5 Retail Mfg SuperPhone 200 1000 6 direct Defense SuperPhone 5 150 7 direct Mfg SuperPhone 80 1200 LISTDISTINCTS Array entered 6 rows 2 columns ByRows LISTDISTINCT S A 2 B 7 direct Defense direct Mfg Retail Defense Retail Mfg N A N A N A N A Each distinct row in the input is shown The extra 2 rows are padded with N A LISTDISTINCTS COUNT Array entered 6 rows 3 cols ByRows padded with blanks LISTDISTINCTS COUNT A 2 B 7 1 direct Defense 2 direct Mfg 2 Retail Defense 1 Retail Mfg 1 Each distinct row in the input is shown with a count of the number of occurrences The extra 2 rows are padded with blanks LISTDISTINCTS COUNT Array entered 6 rows 3 cols ByRows False padded with blanks LISTDISTINCTS COUNT A 2 B 7 FALSE 1 Direct Defense Mfg R
245. nctions are multi threaded non volatile array functions AMATCH Family Syntax AMATCH2 Lookup_Values Lookup_Table Sorted Exact_Match Lookup_Columns MemType_Name The first 2 parameters are required the last 4 parameters are optional AMATCHES2 Lookup_Values Lookup_Table Sorted Exact_Match Lookup_Columns The first 2 parameters are required the last 3 parameters are optional AMATCHNTH Lookup_Values Lookup_Table Sorted Exact_Match Lookup_Columns Position The first 2 parameters are required the last 4 parameters are optional AMATCH2 AMATCHES2 and AMATCHNTH return row number s within the range specified by Lookup_Table Lookup_Values required Specifies the value s to be found in the Lookup_Columns Can be a single value or multiple values arranged in columns multiple lookup columns and rows multiple Lookup Rows A single value can be a constant or a range reference Multiple lookup values can be specified either as an array of constants or as a range referring to multiple cells There should be the same number of columns of lookup values as there are columns in the Lookup_Columns When doing multi column lookups multiple columns of both lookup values and lookup columns the AMATCH functions will look for a row where ALL the lookup values are matched in the corresponding columns Columns are treated as AND When doing multi row lookups multiple rows of lookup values the AMATCH functions will look for
246. nd by the lookup in column 1 and interp_value1 and Interp_Value2 are the corresponding values from column Col_Return_Nums then VLINTERP2 interp_value1 interp_value2 interp_value1 Lookup_row_value lookup_value1 lookup_value2 lookup_value1 Remarks Table_Values must be a rectangular set of values range array or expression sorted by ascending on the Lookup column It should not contain empty values in the Lookup column Table_Values should not contain column labels When using more than one Lookup_Value or Col_Return_Num VLINTERP2 should be entered as an array formula using Control Shift Enter VLINTERP2 returns NA if e Extrapolate is FALSE and e Lookup_row_value is greater than the largest value in the first column of Table_Values e Lookup_row_value is less than the smallest value in the first column of Table_Values e VLINTERP2 returns VALUE if any of the used input values are not numeric or if Lookup_ColNum is greater than the number of columns in Table_Values FastExcel V3 User Guide SpeedTools Extras Mathematical Functions e 259 LINTERP2D function LINTERP2D provides efficient 2 dimensional linear interpolation in a table of values The LINTERP2D function is similar to VLOOKUP except that it calculates 2 dimensional row and column linear interpolations between the values in a lookup table if an exact match cannot be found A single Lookup_1stCol and Lookup_1stRow will return a single interpolate
247. ndition Criteria operators can be Relational Operators gt lt gt lt lt gt True False means Like pattern matching VBA Like means regular expression matching Data Type Criteria filters HERR TXT N BOOL EMPTY ZLS TYPE BLANK All Criteria can be inverted using the Not prefix Alist of alternative inclusion or exclusion conditions can be given as an array of Constants or Range Reference e The Criteria column being compared to the Condition criteria can be Acolumn range within or outside the DataRange A Calculated column range an expression that evaluates to a column An array of Constants e Arowis included when ALL of a set of conditions are met e Sets of Conditions can be separated into OR blocks e Columns within the DataRange can be identified either by a label in the first row or by a column number or directly using a range reference Optimizing the performance of the FILTER IFS family of functions FILTER IFS is faster with sorted data than unsorted FILTER IFS will exploit grouping or structuring of unsorted data The sequence in which the Criteria Conditions are given can have a significant influence on performance e Where some criteria apply to the sorted column s and some are unsorted specify the sorted ones first e For both Sorted and Unsorted data the first criteria should be the one that eliminates the largest number of rows e For both sorted and unsorted criter
248. nge are not visible COUNTCONTIGCOLS2 will NOT treat them as empty COUNTCONTIGCOLS2 is Because hiding rows columns or setting width heights to zero does not not recommended for trigger a recalculation COUNTCONTIGCOLS2 may show an incorrect ranges with hidden value even in automatic mode until the workbook is recalculated columns or columns with Changing the Automatic or Advanced filter does trigger a recalculation zero heights COUNTCONTIGCOLS2 is not recommended for ranges containing hidden columns or columns with zero heights FastExcel V3 User Guide SpeedTools Extras Information Functions e 296 COUNTCONTIGCOLS2 Example Assuming that cells C4 G4 contain 10 and cell A4 B4 and H4 are empty then COUNTCONTIGCOLS2 C4 returns 5 4 consecutive non empty COLUMNS from D4 to G4 plus column C itself COUNTCONTIGCOLS2 A4 returns 1 the cell to the right of A4 is empty COUNTCONTIGCOLS2 B4 returns 6 5 consecutive non empty COLUMNS from C4 to G4 plus column B itself even though B4 is empty FastExcel V3 User Guide SpeedTools Extras Information Functions e 297 COUNTUSEDCOLS2Z Function The COUNTUSEDCOLS2 function counts the number of columns across right to the end of the used range for this sheet COUNTUSEDCOLS2 Syntax COUNTUSEDCOLS2 theColumn TheColumn A range reference to a cell in a column COUNTUSEDCOLS2 counts the number of columns including blanks and empty cells across right to the end of the used range for the s
249. ns more than one column the last non empty row before the first empty cell in each column will be found and the largest rowcount will be returned COUNTCONTIGROWS2 uses the same criteria as Ctrl Down Arrow to detect empty cells except when the reference cell or the cell below the reference cell is empty COUNTCONTIGROWS2 will return 1 if the cell specified by theColumns is empty and the next cell down is also empty If the cell specified by theColumns is empty but the cells below it are not empty then COUNTCONTIGROWS2 will look downwards from the cell below the cell specified by theColumns A cell that contains nothing but is formatted is treated as an empty cell A cell that contains will look empty but will be treated as a non empty cell Invisible cells can be created using Automatic or Advanced Filter hiding rows or columns or setting row heights or column widths to zero If intermediate empty row s in the range are not visible COUNTCONTIGROWS2 will NOT treat them as empty COUNTCONTIGROWS2 is Because hiding rows columns or setting width heights to zero does not not recommended for trigger a recalculation COUNTCONTIGROWS2 may show an incorrect ranges with hidden rows or value even in automatic mode until the workbook is recalculated rows with zero heights Changing the Automatic or Advanced filter does trigger a recalculation COUNTCONTIGROWS2 is not recommended for ranges containing hidden rows or rows with zero heights F
250. nsitively or not It can be True or False and the default value is False so that by default lower case text matches upper case text FastExcel V3 User Guide SpeedTools Lookups Lookup Functions e 220 COMPARE LISTS Examples These examples use the following Lookin and LookFor lists plug fred 9 24 09 1996 23 09 1996 FALSE 0 N A Note although some of these cells appear empty A15 A16 C13 C16 are not empty e A8is empty e A115 contains a single character e A16 contains a single space character e C13 contains a single space character e C14 is empty e C16 contains a single character OUTPUT 1 Default TRUE FALSE 5 6 2 Z 2 plug 8 fred 9 fred 9 10 FRED 24 09 1996 11 24 09 1996 23 09 1996 12 TRUE FALSE 13 FALSE 14 N A 15 N A 16 17 The results in cell D13 and D14 are blank because the empty cells in C13 and C17 have been ignored Cells C13 and C16 show TRUE because the Lookin list contains cells with a single space character and a single character Using OUTPUT 1 you can filter the LookFor list for matches mismatches or empty cells OUTPUT z2 or space FastExcel V3 User Guide SpeedTools Lookups Lookup Functions e 221 2 plug fred 9 24 09 1996 23 09 1996 FALSE N A Using OUTPUT 2 you get for each mismatch this is easier to see than visually scanning for FALSE OUTPUT 3 and 4 single cell non array formula Count Missmatches no
251. ntData colRe SFS2 SFS534 B N M_ spondentSerial 0 10 533 0 05 26 09 178 66 15 IF ISNA MATCH ProductData ProductSerial RespondentDa ta colRespondentSerial 0 Mismatch INDEX Respondents MATCH ProductData ProductSerial RespondentData colRe 1 2 1 534 B N M_ spondentSerial 0 13 533 0 05 26 04 178 66 15 IF ISNA MATCH ProductData ProductSerial RespondentDa ta colRespondentSerial 0 Mismatch INDEX Respondents MATCH ProductData ProductSerial RespondentData colRe G 2 G 534 B N M_ spondentSerial 0 12 533 0 05 25 82 178 66 14 VLOOKUP INDEX RespondentData colSegmentCode MATC H ProductData ProductSerial RespondentData colResponde D 2 D 534 B N M_ ntSerial 0 1 SegmentNames 2 FALSE 533 0 05 24 61 178 66 14 B 2 SB 534 B N M VLOOKUP ProductData sectorcode Universe 2 FALSE 533 0 00 0 75 178 66 0 Formula Address Gives the addresses of the first few locations where this formula is used If the formula is used in many different locations not all locations will be shown Flags One or more of the following formula flags e A This is an Array formula e B This formula contains a Built in native Excel function e X This formula contains a registered XLL function e O This formula contains a VBA Automation or XLM function e N This formula is not Volatile e V This formula is Volatile e Cannot tell if this formula is Volatile or not e M This formula is Multi threaded e S This formula is probably Sin
252. ntrol the maximum number of threads to be used by Multi Threaded calculation FastExcel V3 User Guide FastExcel V3 Controlling Calculation e 47 Excel Calculation Settings Calculation Buttons Calc Full Rebuild Calc Full Recalc Recalc Sheet Calc Range Dirty Range MixMode Recalc Fullcalc Sheet The calculation timer for The Excel Calculation Settings Tab also contains buttons to request these buttons is controlled various types of calculation FastExcel will show the time taken by the by your FastExcel settings calculation if the calculation timer for buttons is switched on Using FastExcel defaults Excel will calculate all enabled worksheets in all open workbooks and will calculate all MixMode sheets with a Full calculate and selected MixMode sheets with a Sheet calculate Calc Full Rebuild Shift Ctrl Alt F9 By default MixMode Calculate Full Rebuild rebuilds the dependency trees and then fully sheets are calculated if calculates all formulas in all open workbooks This option is only Mixed Mode Full available from Excel 2002 onwards Calculate is on Calc Full Ctrl Alt F9 By default MixMode Calculate Full fully calculates all formulas in all open workbooks sheets are calculated if Mixed Mode Full Calculate is on Recalc F9 By default MixMode Recalculate recalculates all formulas that have been changed or are sheets are calculated if volatile or are dependent on a cell that has been changed or calculation mode
253. ommended for ranges cell and re sizes to include all the rows from the anchor row to the row before that are filtered contain the empty cell This results in a range of all the contiguous adjacent non hidden rows or contain rows empty cells in the column with zero height Use this method if you want your dynamic range to be delimited by a blank empty cell This is useful when you have multiple tables stacked vertically on the same worksheet See COUNTCONTIGROWS2 for more details Last row in the used range This method looks down from the anchor row to the last row in Excel s used range This will include all cells on the worksheet with any formatting even if they are empty and will include all the columns not just the columns you have selected for the dynamic range See COUNTUSEDROWS2 for more details Count of non empty cells in the anchor column This method uses Excel s COUNTA function to count non empty cells from the anchor cell down to the last row If your data includes any empty cells this method will not include all the cells including data Use this method only if you require compatibility with users who do not have FastExcel installed Select the cell that will contain the number of rows Choosing this option will show a reference box for you to select the cell that contains a formula giving the number of rows in the dynamic range Use this option when e You have a large number of dynamic ranges that all have t
254. ompatibility with users who do not have FastExcel installed Select the cell that will contain the number of columns Choosing this option will show a reference box for you to select the cell that contains a formula giving the number of columns in the dynamic range Use this option when e You have a large number of dynamic ranges that all have the same number of columns so that it is more efficient to only find the number of columns once e You are using a special calculation to determine the number of columns Step3A Choose rows for finding the last column These two additional options are only available if you have selected either Last non empty column or Last contiguous non empty column and you have chosen to expand only by columns Use only the Anchor Row to find the last column This option finds the last column only in the Anchor Row of your dynamic range Use this option if all the rows in your dynamic range will always have the same last column or if you want the last column to always be determined by the Anchor row Use all the dynamic range rows to find the last column This option looks in all the rows of your dynamic range and uses the largest last column found Use this option if some of the cells in the last column of your dynamic range may be empty The calculation time for this option increases with the number of rows in your dynamic range FastExcel V3 User Guide Dynamic Range Wizard e 125 Conf
255. on vd Calc Range amp Full Calculation ReCalc Sheet amp MixMode Recalc Calculation Qutions GR ReCalc Books Pig Time Macro FastExcel Calculation Control The SpeedTools additional calculation modes and settings are controlled from the FastExcel Calculation Control group on the FastExcel V3 tab The Excel 2003 SpeedTools Toolbar In Excel 2003 and later the SpeedTools functions are available from the SpeedTools toolbar as well as being integrated into the Excel Function Wizard and function categories The SpeedTools additional calculation modes and settings are controlled from the Calculation Options button on the left of the SpeedTools toolbar FXLSpeedTools AJALE GAl A f FastExcel V3 User Guide Getting Started with FastExcel SpeedTools e 160 SpeedTools Functions Function Requirements Workbooks using the FastExcel SpeedTools functions require that the relevant SpeedTools products are installed and licensed on the PC that is running the workbooks If SpeedTools is installed but not licensed the functions will be available in the Function Wizard and Help but will return No license found for this Function to the calling cells Excel Function Wizard SpeedTools Function Library Click a function group button on the Formulas Tab Excel 2007 and later or the SpeedTools Toolbar for example Filtering to show a list of the available functions in that function group together with a short description
256. on versions of AVLOOKUP2 AVLOOKUPS2 and AVLOOKUPNTH The Rgx AVLOOKUP family of functions are multi threaded non volatile array functions Rgx AVLOOKUP Family Syntax Rgx AVLOOKUP2 RegExp Lookup_Table Answer_Columns Not_Found Lookup_Columns MemType_Name The first 3 parameters are required the last 3 parameters are optional Rgx AVLOOKUPS2 RegExp Lookup_Table Answer_Columns Not_Found Lookup_Columns The first 3 parameters are required the last 2 parameters are optional Rgx AVLOOKUPNTH RegExp Lookup_Table Answer_Columns Not_Found Lookup_Columns Position The first 3 parameters are required the last 3 parameters are optional RegExp required Specifies the Regular Expression Pattern s to be matched against the value in the Lookup_Column s Can be a single Regular Expression or multiple Regular Expressions arranged in columns multiple lookup columns and rows multiple Lookup Rows A single Regular Expression can be a constant or a cell reference Multiple lookup Regular Expressions can be specified either as an array of constants or as a range referring to multiple cells There should be the same number of columns of Regular Expression values as there are columns in the Lookup_Columns When doing multi column lookups multiple columns of both lookup values and lookup columns the Rgx AVLOOKUP functions will look for a row where ALL the lookup Regular Expression patterns are matched in the corresponding columns
257. ontrols the type of output returned from COMPARE LISTS Output 1 An array of True False for each item in the LookFor list showing whether or not it can be found in the Lookin list When using Output 1 enter the COMPARE LIST function as a multi cell array formula alongside the LookFor list so that you get a corresponding True or False for each item in LookFor FastExcel V3 User Guide SpeedTools Lookups Lookup Functions e 219 Output 2 An array of or for each item in the LookFor list showing whether or not it can be found the Lookin list indicates that the item was not found When using Output 2 enter the COMPARE LIST function as a multi cell array formula alongside the LookFor list so un that you get a or for each item in LookFor Output 3 A Count and list of the items in LookFor that are NOT found in Lookin The first output cell contains the count To get only the count of non matching items enter COMPARE LISTS as a single cell formula Output 4 A Count and list of the items in LookFor that ARE found in Lookln The first output cell contains the count To get only the count of matching items enter COMPARE LISTS as a single cell formula Output 5 A list of the items in LookFor that are NOT found in Lookln No count Output 6 A list of the items in LookFor that ARE found in Lookln No count Case_Sensitive Optional Default False This option controls whether text will be compared case se
258. ookup Regular Expression patterns are matched in the corresponding columns Columns are treated as AND When doing multi row lookups multiple rows of lookup values the Rgx Case AMATCH functions will look for a row separately for each row of lookup values Rows are treated as OR FastExcel V3 User Guide SpeedTools Lookups Lookup Functions e 253 A single Rgx Case AMATCH2 or Rgx Case AMATCHNTH statement will return the same number of rows and columns of result values as there are rows and columns in p Lookup_Table required The rectangular range of cells or array or expression yielding an array to be used for the lookup table The array range must resolve to a single contiguous rectangular array Not_Found optional defaults to False Use this optional parameter to specify what to return if an exact match does not exist If the parameter is omitted the error value will be N A Lookup_Columns optional defaults to 1 Use this optional parameter when you want to control which column s in Lookup_Table to use for the lookup The default value is 1 the first column in Lookup_Table If the values are numeric they will be treated as column numbers if alphabetic they will be treated as column labels to be found in the first row of Lookup_Table If there is more than one column given then there must be a matching set of values given in the columns of RegExp Multiple columns can be given either as an array of constants or as a range refe
259. ookups Lookup amp Reference Lookups Lookup amp Reference Lookups Lookup amp Reference Lookups Lookup amp Reference Lookups Lookup amp Reference Lookups Lookup amp Reference Lookups Lookup amp Reference Lookups Lookup amp Reference Lookups Lookup amp Reference Lookups Case AVLOOKUP2 Lookup amp Reference Lookups Lookup amp Reference Lookups Lookup amp Reference Lookups Lookup amp Reference Lookups Lookup amp Reference Lookups Lookup amp Reference Lookups Lookup amp Reference Lookups Lookup amp Reference Lookups Lookup amp Reference Lookups Lookup amp Reference Lookups Lookup amp Reference Lookups Lookup amp Reference Lookups Lookup amp Reference Lookups Lookup amp Reference Lookups Lookup amp Reference Lookups Lookup amp Reference Lookups Lookup amp Reference Lookups Lookup amp Reference Lookups Rgx Case AVLOOKUPS2 Lookups Lookup amp Reference FastExcel V3 User Guide SpeedTools Functions e 165 SpeedTools Functions Properties Name Multi Thread Volatile Input Array Input Range Output Array ACOUNTIFS Y N Y N ALL AMATCH2 AMATCHES2 AMATCHNTH AND CELLs AND COLS AND ROWS ANY ASUMIFS AVLOOKUP2 AVLOOKUPNTH lt lt lt lt lt lt lt lt lt lt lt AVLOOKUPS2 Y CalcSeqCountRef Single Cell CalcSeqCountSet Single Cell CalcSeqCountVo
260. or both Native and FastExcel SpeedTools functions The approximate time taken to evaluate the sub expression in milliseconds is shown Evaluation Box The evaluation box shows the results of evaluating the sub expression For sub expressions returning arrays of results by default only the first 200 rows or columns are shown Clicking in the Evaluation Box activates it s scroll bar if there are more results than can be shown FastExcel V3 User Guide Indenting Formula Viewer Editor and Debugger V2 e 130 Resizing the Form You can drag the corner of the form to resize it horizontally or vertically The information in the formula box description area and evaluation box will automatically reflow as the boxes resize Origin Destination In Edit Mode this shows you the destination address where the formula will be entered In the View Modes this shows you the origin cell that the formula came from Double clicking the Origin Destination selects the address shown FastExcel V3 User Guide Indenting Formula Viewer Editor and Debugger V2 e 131 View and Edit Modes View Edit Mode Active Origin Constant Origin Edit Mode Active Origin Mode When this option is selected the indented formula in the formula box and the formula origin are dynamically updated whenever a new cell is selected either using the mouse or keyboard to change the active cell or as a result of double clicking a reference in the Formula Box This method is useful to
261. or the Windows high resolution timer API The function returns a double containing seconds The resolution of the timer is dependent on the clock speed of your PC but is about 1 microsecond on a 1200MHZ AMD The function itself takes about 5 microseconds to execute when called from VBA on the same machine The function is not volatile and is primarily designed to be called from VBA Subs Functions rather than from a worksheet MICROTIMER Syntax MICROTIMER Q MICROTIMER Remarks To call the function from VBA you must first make a reference from the VBE to FastExcelV3 e Open the VBE Alt F11 e Open a module within your VBA project e Tools gt References and check FastExcelV3 It is also possible to evaluate the function from VBA as a worksheet function using Evaluate but this incurs significant extra overhead MILLITIMER function The MILLITIMER function is a wrapper function for the Windows medium resolution timer API The function returns a long containing milliseconds The resolution of the timer is about 5 milliseconds The function itself takes about 1 millisecond to execute when called from VBA on the same machine The function is not volatile and is primarily designed to be called from VBA Subs Functions rather than from a worksheet MILLITIMER Syntax MILLITIMERQ MILLITIMER Remarks To call the function from VBA you must first make a reference from the VBE to FastExcelV3 e Open the VBE e Open a module within your V
262. orkbook Excel default your workbook being accidentally recalculated e Manual when you open it e Manual with recalculate before save e Automatic e Automatic except tables Limitation When you use FastExcel initial calculation mode the empty workbook Book1 that Excel creates when it is started will prompt you to save it when you close Excel Excel Calculation Settings Iteration These settings control how Excel handles circular references Iteration Iteration Maximum iterations 100 Maximum change 0 001 Iteration When checked Excel will attempt to resolve formulas that are linked by circular references by repeatedly calculating them Maximum iterations and Maximum change Excel will stop the repeated calculation of the circular references as soon as either the maximum number of iterations has been reached or the maximum change in the values of all of the formulas is less that the specified maximum change FastExcel V3 User Guide FastExcel V3 Controlling Calculation e 46 Multi threaded calculation Settings Multi Threaded Calculation MTC V Enable MTC Use all processors on this computer 2 Manually assign number of threads Enable MTC When Checked Excel 2007 and later will split the calculation process over multiple threads This will improve calculation speed on many problems particularly with large workbooks and multiple recalculations Use all Processors Manually Assign threads You can co
263. other column wise Missing cells in the output array can be filled with Pad characters for example 0 or COL ARRAY is a multi threaded non volatile array function COL ARRAY Syntax COL ARRAY Pad Arg1 Arg2 Arg28 Pad Optional default N A un A cell or character or digit to be used to fill unused cells in the output array for example 0 or When the Arrays or ranges to be appended do not have equally sized dimensions the gaps will be filled with the Pad character Use zero if you want to append differently sized numeric arrays and pass the output to an aggregating function such as SUM or a single cell array formula Arg1 to Arg28 Ranges or arrays to be appended Each Range Array is placed in the output array starting in row 1 of the next available output column The ranges to be appended can be on different sheets COL ARRAY Examples A2 C2 contains 1 2 3 B4 D4 contains 4 5 6 COL ARRAY A2 C2 B4 D4 array entered into C20 H20 returns i 2 3 4 5 6 A2 C2 cannot be a PAD character so is treated as Arg1 COL ARRAY 0 A2 C2 100 200 300 B4 D4 array entered into C7 J10 returns 1 2 3 100 5 6 N A 0 0 0 200 0 0 0 N A 0 0 0 300 0 0 0 N A N A N A N A N A N A N A N A N A The row dimension of the output array is the maximum number of rows in any of the arguments The column dimension of the output array is the sum of the number of columns in each argument So the output array is 3 rows deep by 7
264. ound In the example shown above clicked on the opening and the selection expanded to the corresponding closing Double Click in the Formula Box Double Clicking on a reference or a function that resolves to a reference OFFSET INDIRECT INDEX CHOOSE etc changes the active cell to that reference Right Click in the Formula Box Right clicking a selection forces Evaluation of the selected sub expression This is useful if you have turned off Auto Evaluate in Settings F9 in the Formula Box When a sub expression is selected and you press F9 the selected area is replaced by the results of evaluating the sub expression If a Defined Name is selected it is replaced by its Refers to formula so that you can drill down through nested names If the result array is too large gt 200 rows or columns then F9 has no effect The Undo and Redo buttons allow you to step backwards and forwards through successive F9 actions Splitter Bar Drag the splitter bar up or down to expand or contract the amount of space given to the description area and the evaluation box Description Area The description area contains information about the sub expression selected in the formula box Additional information is shown for the first function in the sub expression Function Type shows e Native Excel function or XLL function or VBA Automation function e Volatile or Non Volatile e Single or Multi Threaded Function Description shows a short description f
265. ow This box is checked automatically once you enter anything in the edit box Of course the other filters will also apply FastExcel V3 User Guide Name Manager Professional e 104 Search Editbox Enter any combination of characters you want the shown names to match to including the usual wildcards The search string is matched against both the names and their refers to properties When your workbook contains less than 100 names the listing will be updated as you type Because filtering the names can take a lot of time when there are more than 100 names the listing will be updated when you leave the Match filter edit box by pressing the Tab key or enter or by clicking on another control such as the Refresh button Unused names checkbox Check this box to have the Name Manager only show names that are not used in any formula or any other name in the workbook or as string constants in VBA Name Manager does NOT check some areas that can contain names e VBA code that uses string concatenation to create names e Names constructed using INDIRECT e Make sure before you delete unused names that the names are not used in a way that this filter cannot detect it is advisable to make a backup save before deleting Due to the heavy searching needed this option may take quite some time on large workbooks The other criteria will also apply This checkbox is cleared whenever one changes other filter criteria or when one changes the refers
266. ows multi tasking can easily disrupt a single timing FastExcel V3 User Guide What s new in FastExcel Version 3 for FastExcel V2 Users e 30 Installing FastExcel V3 Information to help you install FastExcel V3 successfully What you need to install FastExcel V3 e The Downloaded FastExcel V3 Install file e Excel 2003 or later e Administrator Rights e Adobe Acrobat Reader 4 0 or later to view or print the manuals Install package contents e The FastExcel V3 programs e FastExcel V3 user guide and help files e Optimizing Calculations manual and help files e Automatic Install Uninstall FastExcel V3 User Guide Installing FastExcel V3 e 31 Installing and Activating FastExcel V3 Prerequisites FastExcel V3 requires e Excel 2003 Excel 2007 Excel 2010 32 or 64 bit Excel 2013 32 or 64 bit e Windows XP Windows Vista Windows 7 or Windows 8 e Installation requires administrative privileges Installation You can download the latest build of FastExcel V3 from the Decision Models website You will need to unzip the file containing the installer Installation requires administrative privileges Running the installer will create a folder to contain all the FastExcel V3files The default directory is called FastExcel V3 and is located in your Program Files directory You can choose a different install folder during the installation process The folder will contain the XLA XLAM and XLL files needed to run SpeedTools Help files
267. ows and columns and returns 12 11 10 9 8 7 5 3 2 1 FastExcel V3 User Guide SpeedTools Extras Array Handling Functions e 280 By comparison TRANSPOSE S27 U30 returns 4 7 10 5 8 11 3 6 9 12 FastExcel V3 User Guide SpeedTools Extras Array Handling Functions e 281 PAD ARRAY Function PAD ARRAY allows you to resize expand or contract an array and to control the PAD value to be used for the expanded cells The expanded cells are the cells in the output array that are not present in the input array PAD ARRAY is a multi threaded non volatile array function PAD ARRAY Syntax PAD ARRAY Pad InputArray NumRows NumCols Pad Optional default zero The value to use for the expanded cells The default value is zero InputArray required An array expression formula or range that returns an array of values NumRows Optional default 1 The number of rows in the output array can be larger or smaller than the input array If NumRows is 1 default and PAD ARRAY is entered into a multi cell array formula then the Input Array will be resized to the number of rows in the multi cell array formula padding with the Pad value if required If NumRows is 1 default and PAD ARRAY is part of a single cell formula then the InputArray rows will be not be resized If NumRows is a positive integer it will control the number of rows in the output array If the output array has less rows than the multi cell array formula then exce
268. performance functions Speedup Formulas using IFERRORX PREVIOUS SETMEM and GETMEM Use these special purpose functions to eliminate duplicated expressions in your formulas Make your VBA User Defined Functions run faster If you have many formulas using VBA User Defined Functions just installing FastExcel SpeedTools will speed up calculation in Manual calculation mode FastExcel V3 User Guide SpeedTools Overview e 151 Extend your capabilities with over 90 High Power Functions e Use MEMMATCH MEMLOOKUP and a family of 24 advanced function Lookup functions for Faster exact match Lookups with 3 Memory options Multi threaded C XLL for faster calculation in Excel 2007 and 2010 Fast Exact match option with sorted data Multiple Lookup answers e Find the Nth first last all Lookup answers Case sensitive Lookup option Wild card and Regular Expression Lookups Multiple Lookup Values Multiple Lookup Columns Multiple Answer Columns Use column labels rather than column numbers Built in error handling e Use the LISTDISTINCTS family of functions to Work with distinct rows or distinct cells within a multi column range Find the total number of distincts and duplicates List the distincts Count the number of occurrences for each distinct Sum or average corresponding values for each distinct row Find distincts using multiple criteria using LISTDISTINCTS FILTER IFS List output can be sorted Case Sensitive or no
269. phabetic they will be treated as column labels to be found in the first row of Lookup_Table If there is more than one column given then there must be a matching set of values given in the columns of RegExp Multiple columns can be given either as an array of constants or as a range reference MemType_Name Optional Defaults to 2 Rgx AMATCHZ2 only Memory type for lookups can be O 1 2 or 3 or a string that is used as the name for a memory e 3 Global Memory for Rows or Columns A single index is stored in global memory for each row vertical lookups or column horizontal lookups This global memory is super efficient and easy to use when you have more than one lookup formula on the same row looking up different columns in a Table This global memory works across all worksheets in all open workbooks e 2 Book Sheet Row Memory If you are using different Lookup Tables on different worksheets but still want to have more than one lookup formula on a row looking up different columns in the same table you can use this option which stores the row memory separately for each Workbook worksheet e 1 Book Sheet Cell Memory If you are using multiple Lookup Tables formulas in different cells on the same sheet and the same row you should use this option which stores the memory separately for each cell e 0 Do not use Lookup memory e Named Memory If you give a text string instead of a number it will be used as a named memory You can have many named memo
270. ption allows you to control the how many million cells will be cleaned in each step The default is 32 million cells The maximum allowable is 64 million cells and the minimum allowable is 1 million cells If Excel experiences memory or resource problems during a used range clean you should retry using a smaller number Buffer Rows and Columns Buffer Rows and Columns beyond last cell with data Rows 0 Columns 0 You can set the number of buffer rows and columns to reserve some rows and or columns beyond the last cell containing data or a formula Use this when you want to e Keep some additional formatted rows or columns e Prevent references in formulas from being shrunk too much FastExcel V3 User Guide Clean Workbook e 95 Clean Workbook Options V Delete temporary files Close VBE windows Remove invalid names Delete empty worksheets Remove zero height or width shapes Remove zero size shapes Delete Temporary Files Temporary files may accumulate in your Windows Temp directory Win95 98 ME or your Documents and Settings lt user gt local settings temp directory Win2K WinXP Win 7 Win 8 Excel creates Temporary files for the workbook and in particular for controls being used by open workbooks If Excel crashes for any reason these files may not be deleted Software installation programs may also create temporary files Make sure you have Too many temporary files can cause problems so delete them from ti
271. r False False alphabetic text empty O and 0 as text are treated as False True non zero numbers and numeric text are treated as True Excel s OR function treats numeric text as False If no True False or expressions resolving to True False are found the result is False Excel s OR function returns Value Examples of SpeedTools Logical Functions Row Functions Data OR ROWS AND ROWS TRUE FALSE FALSE TRUE FALSE FALSE TRUE FALSE TRUE FALSE FALSE FALSE TRUE TRUE FALSE TRUE TRUE TRUE TRUE TRUE FALSE FALSE FALSE FALSE FALSE fred joe bill FALSE FALSE 1 FALSE FALSE TRUE FALSE FALSE 1 FALSE TRUE FALSE FastExcel V3 User Guide SpeedTools Extras Logical Functions e 265 FALSE TRUE TRUE fred fred FALSE fred fred FALSE TRUE FALSE TRUE joe TRUE joe joe FALSE joe TRUE 0 0 001 TRUE bill bill TRUE bill bill FALSE FALSE FALSE TRUE TRUE TRUE TRUE TRUE FALSE FALSE FALSE TRUE TRUE FALSE FALSE FALSE TRUE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE The OR ROWS formula is array entered Control Shift Enter in the column as OR ROWS A2 A21 B2 B21 C2 C21 The AND ROWS formula is array entered Control Shift Enter in the column as AND ROWS A2 A21 B2 B21 C2 C21 The functions have evaluated each row of the data to produce a corresponding True False Column Functions TRUE Data FALSE TRUE FALSE TRUE FALSE FALSE 0 AND COLS A55 C58
272. r Rome from Alphabetically lt GB or gt SE ASUMIFS 0 CountryCityData Value FromCity oth or 0 ToCity oth 1935461 Sum the value where either starts with Oth OR starts with double ASUMIFS 0 CountryCityData Value FromCity oth ASUMIFS 0 CountryCityData Value ToCity oth 2142648 FastExcel V3 User Guide SpeedTools Filters Filtering Functions e 179 This example shows how to use FILTER IFS to filter out data by data type and how to use ACOUNTIFS to count the occurrences of each data type A B Cc D E F G H J K 1 Filtering and Counting by Data Type 2 3 4 5 6 ZLS Zero Length_String means NOT 7 Type Same type as first cell 8 PAD ARRAY FILTER IFS 0 DataTable Seq MixData D 9 9 O NOUA UNa ACOUNTIFS 0 DataTable Seq MixData D 9 OH ONDA fF WH h 1 2 3 4 5 6 7 8 9 0 2 OCOOON ODO f WN FastExcel V3 User Guide SpeedTools Filters Filtering Functions e 180 FILTER SORTED function Filter Sorted filters out subsets of sorted data using multiple extended conditions FILTER SORTED is a simpler way of using FILTER IFS when the first criteria is sorted FILTER SORTED Syntax FILTER SORTED InputRange ReturnCol CriteriaColumn1 Criteria1 CriteriaColumn2 Criteria2 OR nsortedCols CriteriaColumnx Criteriax See FILTER IFS for definitions of the parameters for FILTER SORTED FastExcel V3
273. red in memory that gave the answer the last time the MEMMATCH was calculated still gives the correct answer If it does then MEMMATCH will return that answer without doing any more processing When using Lookup memory and there are multiple exact match answers available MEMMATCH will not necessarily return the answer from the same row as MATCH Vertical_Horizontal Optional Defaults to 1 This parameter controls whether the lookup is done vertically or horizontally 0 Guess if the number of rows gt the number of columns vertical otherwise horizontal 1 Always Vertical Default 2 Always Horizontal FastExcel V3 User Guide SpeedTools Lookups Lookup Functions e 217 MEMMATCH Performance If your data is unsorted and there is no Lookup Memory already available for the position of the MEMMATCH formula then MEMMATCH will do a linear search and store the row or column index found in the Lookup Memory for subsequent MEMMATCH calls In this case the second execution of the MEMMATCH formula will be much faster than the first If your data is sorted then MEMMATCH will do an exact match Binary Search which is very fast and the second execution of the MEMMATCH formula will also be very fast FastExcel V3 User Guide SpeedTools Lookups Lookup Functions e 218 COMPARE LISTS Function This function does a compare of a LookFor list with a Lookin list The function is designed to efficiently help you reconcile two lists of items and find eit
274. rence MemType_Name Optional Defaults to 2 Rgx Case AMATCH2 only Memory type for lookups can be O 1 2 or 3 or a string that is used as the name for a memory e 3 Global Memory for Rows or Columns A single index is stored in global memory for each row vertical lookups or column horizontal lookups This global memory is super efficient and easy to use when you have more than one lookup formula on the same row looking up different columns in a Table This global memory works across all worksheets in all open workbooks e 2 Book Sheet Row Memory If you are using different Lookup Tables on different worksheets but still want to have more than one lookup formula on a row looking up different columns in the same table you can use this option which stores the row memory separately for each Workbook worksheet e 1 Book Sheet Cell Memory If you are using multiple Lookup Tables formulas in different cells on the same sheet and the same row you should use this option which stores the memory separately for each cell e 0 Donot use Lookup memory e Named Memory If you give a text string instead of a number it will be used as a named memory You can have many named memories in use at the same time usually one for each Lookup Table Each named memory works by row across all sheets within a workbook so is the best choice when you have o More than one memory lookup referring to different lookup tables within a single formula o More than one memo
275. rently sized numeric arrays and pass the output to an aggregating function such as SUM or a single cell array formula Arg1 to Arg28 Ranges or arrays to be appended Each Range Array is placed in the output array starting in column 1 of the next available output row The ranges to be appended can be on different sheets ROW ARRAY Examples A2 C2 contains 1 2 3 B4 D4 contains 4 5 6 ROW ARRAY A2 C2 B4 D4 array entered into 020 Q21 returns A2 C2 cannot be a PAD character so is treated as Arg1 ROW ARRAY 0 A2 C2 100 200 300 B4 D4 array entered into C23 F28 returns 1 2 3 N A 100 0 0 N A 200 0 0 N A 300 0 0 N A 4 5 6 N A N A N A N A N A The column dimension of the output array is the maximum number of columns in any of the arguments The row dimension of the output array is the sum of the number of rows in each argument So the output array is 5 rows deep by 3 columns which Excel has expanded with N A to the number of rows 6 and columns 4 the array formula was entered into FastExcel V3 User Guide SpeedTools Extras Array Handling Functions e 278 The values from each argument are placed in turn into the output array appending row wise to the bottom For the arguments that have less than 3 columns the missing rows are filled with the pad character zero in this case Because the formula was array entered into 6 rows by 4 columns Excel has added N A in the 6 row and 4 column Entering SUM ROW
276. repeats of the formula expression with GETMEM This can save time when the additional cost of using SETMEM and GETMENM is less than the cost of the repeated calculation of the calculation intensive formula expression You can use GETMEM as many times as you like within a formula to retrieve the previously stored results SETMEM and GETMEM are both thread safe non volatile array functions SETMEM Syntax SETMEM TheValue SetID TheValue The value range array or expression result to be stored SetID Optional Default A The ID string for the stored values Default is A GETMEM Syntax GETMEM SetID SetID Optional Default A The ID string for the previously stored temporary valus Default is A FastExcel V3 User Guide SpeedTools Extras Reference Functions e 274 SpeedTools Extras Array Handling Functions These array handling functions allow you to solve some problems with the use of multiple ranges and or array formulas e COL ARRAY Appends Ranges Arrays column wise e ROW ARRAY Appends Ranges Arrays row wise e REVERSE ARRAY Reverse the rows columns or both in an array e PAD ARRAY Resize and or pad an array e VECTOR Outputs a sequence of numbers as a column or row vector FastExcel V3 User Guide SpeedTools Extras Array Handling Functions e 275 COL ARRAY Function Creates a single array from multiple arrays or ranges by appending up to 28 Range Array arguments alongside one an
277. ries in use at the same time usually one for each Lookup Table Each named memory works by row across all sheets within a workbook so is the best choice when you have o More than one memory lookup referring to different lookup tables within a single formula o More than one memory lookup referring to different lookup tables in different cells on the same row and these lookups are repeated on the same row in multiple sheets FastExcel V3 User Guide SpeedTools Lookups Lookup Functions e 251 If this option is not zero then Rgx AMATCH2 will first check to see if the index stored in memory that gave the answer the last time the Rgx AMATCH2 was calculated still gives the correct answer If it does then Rgx AMATCH2 will return that answer without doing any more processing When using Lookup memory and there are multiple exact match answers available Rgx AMATCH2 will not necessarily return the answer from the same row as MATCH Rgx AMATCHES2 and Rgx AMATCHNTH do not use lookup memory Position Optional Defaults to 0 Rgx AMATCHNTH only Controls which result will be returned from multiple matches e N where N is a positive integer The Nth match found will be returned e 0 The first value found will always be returned e 1 The first value found will always be returned e 2 the Last Value found will always be returned e 3 All matches found will be returned Remarks Rgx AMATCHES2 with one or more rows of Lookup_ Values and Rgx A
278. rmat Unformat Reformat tt Clicking Unformat will remove all indentation and line breaks from the formula text Clicking Reformat will re indent the formula text according to the current settings You can use this after you have manually edited the text FastExcel V3 User Guide Indenting Formula Viewer Editor and Debugger V2 e 136 Adding or changing Functions References and Defined Names Add Reference Insert Reference Enter or select the reference K 16 Insert Reference will bring up an input box to allow you to select a range reference using the mouse or type the reference directly The reference will be placed in the formula text either at the insertion point or by overwriting any selected text Function Wizard Function Wizard You can use the function wizard to e Modify an existing function e OR Add a new function at the insertion point If one or more characters are selected in the Formula Box the Formula Editor will try to find the nearest function and launch the formula wizard for that function You can also use the Function Select buttons to select the function you want to modify before launching the formula wizard If there are no characters selected in the formula box the Formula Editor will insert a function using the formula wizard at the current insertion point This can simplify creating formulas with functions embedded inside other functions FastExcel V3 User Guide Indentin
279. rofiling Increased control over what gets profiled and the profiling tests performed More information and statistics XLB and QUAT sizes Com Addins and XL addins Force Full Calculation Workbook Calculation Engine Windows and Excel Versions details Multi Threaded Calculation Status Conditional Formats Statistics Worksheet Calculation Mode What s new in FastExcel V3 Manager Indented formula editor viewer debugger Sheet Manager Name Manager Pro supports both Tables and Defined Names Choice of INDEX or OFFSET for the Dynamic Range Wizard Remove all styles option for Clean Workbook Where used Mapping of Styles Number Formats and Defined Names Simplified GoTo selection of styles and number formats from the where used Maps FastExcel V3 User Guide What s new in FastExcel Version 3 for FastExcel V2 Users e 28 What s new in FastExcel V3 SpeedTools for FastExcel V2 Users Run time for FastExcel FastExcel V3 SpeedTools Calc contains in one convenient family of products all the FastExcel components required to enable both the additional FastExcel calculation modes and the FastExcel SpeedTools high performance functions The FastExcel Profiling functions and workbook management tools are available in other FastExcel products Second Generation XLL Based Functions All FastExcel V2 UDFs such as AVLOOKUP and AMATCH have been replaced by a second generation of XLL based functions This provides e Improved Function wizard suppo
280. row vertical lookups or column horizontal lookups This global memory is super efficient and easy to use when you have more than one lookup formula on the same row looking up different columns in a Table This global memory works across all worksheets in all open workbooks 2 Book Sheet Row Memory If you are using different Lookup Tables on different worksheets but still want to have more than one lookup formula on a row looking up different columns in the same table you can use this option which stores the row memory separately for each Workbook worksheet 1 Book Sheet Cell Memory If you are using multiple Lookup Tables formulas in different cells on the same sheet and the same row you should use this option which stores the memory separately for each cell 0 Do not use Lookup memory Named Memory If you give a text string instead of a number it will be used as a named memory You can have many named memories in use at the same time usually one for each Lookup Table Each named memory works by row across all sheets within a workbook so is the best choice when you have o More than one memory lookup referring to different lookup tables within a single formula o More than one memory lookup referring to different lookup tables in different cells on the same row and these lookups are repeated on the same row in multiple sheets If this option is not zero then Case AMATCH2 will first check to see if the index stored in memory that g
281. rt e You can easily move workbooks containing the functions between different PCs even when FastExcel V3 is installed in different locations e Most FastExcel V3 functions are multi threaded e Improved lookup Memory technology is retained in saved workbooks Many new and powerful functions SpeedTools includes over 80 new Excel Functions e A family of FILTER IFS functions for efficient replacement of multiple conditions array and SUMPRODUCT formulas e More powerful LOOKUP and MATCH functions e A family of efficient DISTINCT UNIQUE and SORT functions e Very fast COMPARE LISTS functions e Array handling and stacking functions e Regular Expression functions e Case sensitive functions e Text handling functions e Information functions Faster Functions Most SpeedTools functions are now multi threaded and fully compiled in C giving faster performance especially in Automatic Calculation mode FastExcel V3 User Guide What s new in FastExcel Version 3 for FastExcel V2 Users e 29 Full column references Most SpeedTools functions efficiently handle full column references Improved accuracy of calculation Timing Commands The FastExcel Range calculation timing commands have been extended to allow you to specify the number of timing trials you want to perform Accuracy is improved by automatically discarding high and low timings This is particularly important for timing calculate of very small numbers of formulas where Wind
282. ry lookup referring to different lookup tables in different cells on the same row and these lookups are repeated on the same row in multiple sheets FastExcel V3 User Guide SpeedTools Lookups Lookup Functions e 254 If this option is not zero then Rgx Case AMATCH2 will first check to see if the index stored in memory that gave the answer the last time the Rgx Case AMATCH2 was calculated still gives the correct answer If it does then Rgx Case AMATCH2 will return that answer without doing any more processing When using Lookup memory and there are multiple exact match answers available Rgx Case AMATCH2 will not necessarily return the answer from the same row as MATCH Rgx Case AMATCHES2 and Rgx Case AMATCHNTH do not use lookup memory Position Optional Defaults to 0 Rgx Case AMATCHNTH only Controls which result will be returned from multiple matches e N where N is a positive integer The Nth match found will be returned e 0 If sorted ascending the largest value that is less than or equal to RegExp If not sorted then the first value found If sorted descending then the smallest value that is greater than or equal to lookup value e 1 The first value found will always be returned e 2 the Last Value found will always be returned e 3 All matches found will be returned Remarks Rgx CaseAMATCHES2 with one or more rows of Lookup_Values and Rgx Case AMATCH2 or Rgx Case AMATCHNTH with multiple rows of Lookup Values can return a varia
283. s Extras Text Functions e 300 CONCAT RANGE concatenate range data Concatenate cell values to a string using optional string delimiters You can add strings to the start and end format numbers and skip or replace blank empty cells CONCAT RANGE is a multithreaded non volatile non array function CONCAT RANGE Syntax CONCAT RANGE ConcatThis Divider NumberFormat BlankSkipReplace LineStart LineEnd ConcatThis A range or array of values to be concatenated Divider optional default The character s to use as a divider between the concatenated items NumberFormat optional The number format to apply to numeric values BlankSkipReplace optional default False e If True then empty and zero length values will be ignored e f False then empty and zero length values will be included e Ifa Text string it will be used to replace empty and zero length values LineStart optional default Text string to insert before the first value LineEnd optional default Text string to insert after the last value FastExcel V3 User Guide SpeedTools Extras Text Functions e 301 PAD TEXT function Expands or contracts a text string or range array of text strings with one or more repeated Pad characters Pad characters can be added to the start or end PadEnd True of the text string PAD TEXT is a multi threaded non volatile array function Based on an idea by Kevin Zorvek Jones PAD TEXT S
284. s are the distinct items rows and the last column is the count of that item If ByRows is true then the output rows are the distinct rows but if ByRows is false then the output is 2 columns the first column is a list of all the distinct items in the input data and the second column is a average of the SumColumn for each distinct item LISTDISTINCTS AVG Syntax LISTDISTINCTS AVG theItems SumColumn Ignore ByRows Case_Sense Sort PadType Parameters apart from SumColumn are explained in the LISTDISTINCTS function SumColumn Can be a range or array of constants or an expression returning an array and must be arranged as a vertical column The number of rows should be the same as the number of rows in thelnputData The values for each corresponding distinct row in thelnputData will be averaged LISTDISTINCTS SUM and LISTDISTINCTS AVG ignore cells in the SumColumn containing True False numbers which are text and text FastExcel V3 User Guide SpeedTools Filters Filtering Functions e 193 COUNTDISTINCTS Function The COUNTDISTINCTS function returns a single number the total number of distinct items rows COUNTDISTINCTS does not need to be entered as an array formula COUNTDISTINCTS Syntax COUNTDISTINCTS theInputData Ignore ByRows Case_Sense See the LISTDISTINCTS function for an explanation of the parameters FastExcel V3 User Guide SpeedTools Filters Filtering Functions e 194 COUNTDUPES Function The COUNTDUPES fu
285. s up Excel memory check Memory Used The Memory Used command shows you a message box with the amount of frequently as you build and memory currently being used by all open Workbooks and Addins modify your workbook FastExcel e l Memory Used 38559 7 K This workbook used 133 Megabytes of memory before being cleaned a reduction of 132 Megabytes For details of the limits that apply to the amount of memory that Excel will use see the Optimizing Calculations manual Pivot Cache Memory Used Shows you the Memory Used by all the Pivot Tables in the active workbook FastExcel2 Pivot CacheMemory Used 32K EA FastExcel V3 User Guide Memory Usage e 91 Clean Workbook Clean Workbook helps you minimise the size and memory footprint of your workbooks Clean Workbook Options Form EF The Clean Workbook button shows you the Clean workbook options form C Reset Clean excess Delete excess Donotdean Max Number of Cells per Clean Step Millions 32 m Buffer Rows and Columns beyond last cell with data Rows 0 Columns 0 M Delete temporary files J Close VBE windows Remove invalid names I Delete empty worksheets J Remove zero height or width shapes J Remove zero size shapes J Remove unused styles Clean pivot tables J Remove ALL styles Remove unused number formats v Clear undo memory Backup Workbook before Clean Because you cannot UNDO
286. s will be made global by removing the sheet name prefix If you have the confirmation checkbox checked you will be prompted whether or not to delete the local name s If confirmation is switched off the local name s will NOT be deleted Note only the name itself will be changed not the formulas in your worksheets Tables cannot be local to a worksheet and are ignored by this command Evaluate Button Click this Button to get a scrollable textbox with the value s the first selected name table evaluates to FastExcel V3 User Guide Name Manager Professional e 107 Analyze Name Button When one name is highlighted in the main window you can press the Analyze button to show the Analyze dialog Note that in this dialog you will only analyze the name Changes will not be updated to the name Name Manager Analyse Name Analysing wiped O A3 UniVerse E 14 0FFSET A3 UniVerse E 14 SectorCount 1 0 Part EvalPar Reset Analysing dropdown Choose which name to analyze by using this dropdown By default the first name selected in the Name Manager s main form is selected when the Analyze screen is called up Part button The Name manager will try to evaluate the highlighted part and place the result into the formula Highlighting the 3 2 part of this formula 5 2 3 2 3 1 5 6 will result in 5 2 5 3 1 5 6 EvalPar button By pressing this button the part between parentheses will be evaluated s
287. se either of the Excel INDEX or OFFSET functions e INDEX is not a volatile function but consumes more memory and slows down opening the workbook e OFFSET is a volatile function and so will be recalculated at every calculation which slows down the recalculation but uses less memory than INDEX Step2B Select the Anchor Cell When expanding by rows you identify the anchor cell and fixed columns by clicking on the anchor cell and selecting any additional columns by dragging the mouse across the cells in the same row as the anchor cell When expanding by columns you identify the anchor cell and fixed rows by clicking on the anchor cell and selecting any additional rows by dragging the mouse down the cells in the same column as the anchor cell When expanding by both rows and columns you must only select a single cell for the anchor cell If you click on the grey button showing on the right of the input box the form will disappear and you will see FastExcel Dynamic Range Wizar 2 x Sheet1 B 16 D 16 eS FastExcel V3 User Guide Dynamic Range Wizard e 120 In this example have chosen to build a dynamic range that e Starts in row 16 e Expands dynamically downwards by rows e Includes three columns B C and D When you have selected the Anchor Range press Next to go to Step 3 or press Back to return to Step 1 Dynamic Range Wizard Step 3 In Step 3 you choose the expansion method to use for the rows of your d
288. select or delete these shapes so this option deletes them for you FastExcel V3 User Guide Clean Workbook e 96 Clean Workbook Options 2 Remove unused styles J Clean pivot tables 7 Remove ALL styles T Map styles Remove unused number formats J Map number formats V Clear undo memor IV Clear dipboard memory Clean Pivot Tables If you change the data for a pivot table and refresh it old items which are no longer in the data may still be held in the Pivot Cache Clean Pivot Tables removes these leftover items from each of the pivot tables in the workbook Calculated Items and Fields are preserved Remove Unused Styles Selecting this option will delete any styles which are not currently in use excluding the built in styles For very large numbers of styles this option can take a long time Remove ALL styles This option will remove ALL the non built in styles from the workbook Make sure you have backed up the workbook first Map Styles 0 0 0 28 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 89 0 371 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 481 642 0 0 0 0 6 0 169628 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 7275 1934 3463 226595 39 55 207 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 112 0 5775 25969 0 0 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 169 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 al 0 The Map Styles option produces a report sheet showing the count of each style used by each worksheet You can use this map to identify where and how often
289. sheet Formulas Profile Table and click the FastExcel GoTo button the first instance of this formula will be selected on its worksheet If none of the distinct formulas are selected then the first distinct formula will be used Subsequently clicking the FastExcel GoBackTo button will take you back to the worksheet formulas profile table FastExcel V3 User Guide Profiling Commands e 87 Function Profile Table This table shows an analysis of the functions used with optional some indicative calculation timing IF B N M IF 23452 0 04 950 07 INDEX B N M INDEX 3198 0 10 330 11 MATCH B N M MATCH 5863 0 05 267 58 ISNA B N M ISNA 2665 0 05 123 64 VLOOKUP B N M VLOOKUP 2132 0 04 1 22 MIN B N M MIN 1599 0 03 41 96 SUM B N M SUM 1599 0 02 31 01 CHOOSE B N M CHOOSE 533 0 03 16 09 Local Function Name The name of the function in the current User Interface Language Function Flags Flags that describe the attributes of the function e B This function is a native Built in Excel function e X This function is registered as an XLL function e O Other This function is a VBA or Automation function e V This function is Volatile e Cannot tell if this function is volatile or not e N This function is Not volatile e S This function is probably single threaded e M This function is multi threaded e A This function is an Asynchronous function Function Count The total number of occurrences of this function Average Millisecs per function The Averag
290. sheet cell counts calculation times and Memory Used e Workbook summary Potential bottlenecks are highlighted in orange The sensitivity of the orange highlighting can be controlled by setting FastExcel s Orange Tolerance default 0 2 v 24 01 2014 10 30 CAUsers Charles WilliamsDocumentsitestbooksibefore xis 3 924 738 16 511 472 Win 7 Service Pack 1 2591 x8 XL 2010 32 bit 145621 The Worksheet Profiles Table The Worksheet Profiles Table shows the cell counts calculation times and Memory Used for each worksheet The table is only produced if the Profile All the Worksheets option is checked in the Profile Workbook Options The worksheets are sorted in descending sheet calculation time FastExcel V3 User Guide Profiling Commands e 74 The Worksheet Profiles Table Cell Counts Columns Cell counts show you the key size statistics for each worksheet 0 0 0 0 0 0 0 0 0 188 138 6 305 1 152 26 143 The Cell Counts columns show counts of the number of cells for e Used The Used Range The rectangular table of cells that Excel considers used Excel considers cells with formatting data or formulas used The Used Range is not automatically reset when cells are deleted or cleared You can clean up the Used Range with Clean Workbook Constants the number of constants on this worksheet e CondFmt the total number of conditional formats on this worksheet Colored orange
291. sorted ascending on column A and descending on column B TE K L M N pooo Topo oop oro wo D gt ow Pp ow nop FastExcel V3 User Guide SpeedTools Filters Sorting Functions e 203 VSORTC INDEX Collating Text Index Sort of a vertical range or array This function index sorts a vertical array or a range containing one or more columns The sort is NOT case sensitive and is done using a locale based collating sequence which respects national language characters and Excel s sorting rules The output sequence will be the same as a non case sensitive EXCEL SORT VSORTC INDEX is a non volatile multi threaded multi cell array function VSORTC INDEX Syntax VSORTC INDEX theInputData SortColumn1 SortColumnz SortColumn15 The first parameter is required all other parameters are optional The output from VSORTC INDEX will be a vertical sorted array of index numbers The index numbers give the relative position in the input data of the nth item in the sorted output rather than the sorted output itself The number of rows sorted and output will be the smaller of the number of rows in the input data and the number of rows in the used range The number of columns will always be 1 TheInputData required The data to be sorted given as a vertical array of constants or a calculated range or a range The range or array can contain as many columns as required SortColumn 1 SortColumn15 optional Gives the index co
292. ss rows will be padded with Pad value NumColumns Optional default 1 The number of columns in the output array can be larger or smaller than the input array If NumColumns is 1 default and PAD ARRAY is entered into a multi cell array formula then the Input Array will be resized to the number of columns in the multi cell array formula padding with the Pad value if required If NumColumns is 1 default and PAD ARRAY is part of a single cell formula then the InputArray columns will be not be resized If NumColumns is a positive integer it will control the number of columns in the output array If the output array has less columns than the multi cell array formula then excess columns will be padded with Pad value FastExcel V3 User Guide SpeedTools Extras Array Handling Functions e 282 PAD ARRAY Examples Suppose we have some data in A1 B11 A B 1 Visits Manager 2 91 Zahid 3 63 Moji 4 75 Khurram 5 82 Mudassir 6 63 Hafiz ze 27 Mirza 8 100 Mo 9 33 Ali 10 44 Faisal 11 J 17 Mike If we want to show the top n visits and the name of the corresponding manager where n is a dynamic number located in D2 D N 6 Then entering this formula PAD ARRAY VSORTC A2 B11 1 D2 into cells F2 G11 as a multi cell array formula using Control Shift Enter gives this F Top N 100 Mo 91 Zahid 82 Mudassir 75 Khurram 63 Moji 63 Hafiz The number in D2 tells PAD ARRAY how many rows to get from the sorted array outpu
293. ssececeeeeesseseaeeeeeeseeseeeaeeeeeens 119 Dynamic Range Wizard Step 2 0 cccecccssssscceeecessesssaeeeeeeesesseaeeeeeessessnsnaaeess 120 Step 2A Choose Dynamic Expansion Method ccccccccsssseececeeessssseaeeeeees 120 Step2B Select the Anchor Celles eaei ai Eni aaia 120 Dynamic Range Wizard Step 3 ccccccccsesssscececessssseaeeeeecesessaeaeeeessessesnaaeess 121 Dynamic Range Wizard Step 4 0 0 cecccsessseccecsssssseaeeeeecesessaeseeeeseessesnsaeess 123 Dynamic Range Wizard Step 5 0 cececccsssssccccecsssssneaeeeeecesessaeeeeeeseessessaaees 126 FastExcel V3 User Guide FastExcel Version 3 e 8 Indenting Formula Viewer Editor and Debugger V2 128 FOrMmUla BOX irate sere site cbsg ces cues vedenes checeliaghc a theatag aha a A aea 130 Left Click in the Formula BOX sssssssssssssssssssssssssssssssesssesssesssesseessressressresseess 130 Double Click in the Formula BOX cceeecceeeseeeseeceesaeeeeaceceeeecaeeeaeeneaaeeeeeees 130 Right Click in the Formula BOX cccessssccccessssseeseceeecessessaeeeeeeseesssteaeeeesens 130 FO inthe Formula BOXsssiestiee cee anierl cite cinann aiiiadatneess 130 Splitter Baltics ci eeen a a es a eaaa eea aaraa iana eaa aeaa aa stead atu ban sneha REE 130 De SCriPtion Areas aa ii ierse eer ai irea beedavecheatekeb aeiou 130 Evaluatio BOX noci nerenin eren deian iera casia Te Rea a aaa aae ieas i aaa a ars 130 Resizing the FOM asiarra can ince aie ee ee edd 131 Origin Destination
294. sssssssssssssessssesssessstesstesseessesstesseesse 96 Delete Empty Worksheets ccccccccccscssssssceeeeecessesssaesecesssesssaeaeeeeseessessaaeeeess 96 FastExcel V3 User Guide FastExcel Version 3 e 5 Remove zero height or Width shapes ccccsessessceeeecessesseaececeesseesneaeeeesens 96 Remove Zero siZed SHAPES inniinn iiaiai eaii eiia ea 96 Clean Workbook Options 2 s ceosisinicanidnoreani deni ori i o 97 Clean Pivot Table Sienna aa a ea a aei aieia 97 REMOVE Unused SI A E E O 97 Remove ALL styles aeea a a a a a a EAEE 97 Map Style Sareri ea eie a ita ea eaae a aa a aaaea eaa e tered SE ESS 97 Remove Unused Number Formats ccesccecsseceseeceesceceeeeeceaeeeeaeeneaaeeeeeeeeea 98 Map Number Format ascoren icerken teier iai aeaa ae anaa kaut Eiei a Kaia en 98 Clean Workbook Options 3 enrenar tarea E AE E ERA 99 Clear Undo MEMO itas teati itatea i bay Rov aa aa iai i ai 99 Clear Clipboard MEMO snenia rni eriin riie aE a EE iah 99 Name Manager Professional 100 Name Manager Credits ccccccccccccscsssssssececsesssesssaeceecsssesseaeeeeecssessesaaeeeesseesessaaeeeeess 100 Working with Name Manager sssssssssssesssessrensnssssrsernennssserernsssssrnerennnssssrennesnssene 100 Name Manager is Modeless cccccccesssssssseeecesseseaeaeceeecessceaeeeeeeessessaeaeens 101 Name Manager is Resizable nsnnseeesennssesesennesessssrenressseserersnssssesereesnssse 101 Name Manager Splitter Bars
295. st Worksheet c0csssseeeeeeees 22 Step 4 Third Drill down Drill down to individual formulas within the WOPSE FOFMULA A Eicito saipa E e aaa rai AEE PaE ENEEIER 22 Step 5 Repeat steps 3 to 4 for the next worst worksheet ssscceeeeees 22 Optimizing Excel Calculation Bottlenecks 23 Use FastExcel V3 to Eliminate Calculation Bottlenecks reesen 24 Addressing Calculation Bottlene cks ccccccccccsssssssesececessessaeseeeceseseceaeeeescessessaaeeeess 25 How fast should my spreadsheet Calculate cccsssscccecessessseceeeescessessseeeesenseesees 26 The Effects of Slow RESPONSE TIME ccesssccccecsssntsseeeeecesseseseaeeessessessaaeess 26 What s new in FastExcel Version 3 for FastExcel V2 Users 27 FastExcel V3 User Guide FastExcel Version 3 e 2 FaStEXCel V3 o BT el noA A EE EA E EE AEE O EE EE EE AE E 27 64 bit and Ribbon SUPPOFT reetis iiaia a ari aiie 27 What s new in FastExcel V3 Profiler for FastExcel V2 Users ernn 28 What s new in FastExcel V3 Manage lr ccccccccsssssssscececessessaeseceesceseceaeeeeecesseseaeaeess 28 What s new in FastExcel V3 SpeedTools for FastExcel V2 Users cscsscccceeeeessrees 29 Second Generation XLL Based FUNCTtIONS cecscceeseceeeeeeeeeeesaeeeeaeeseaeeenaes 29 Many new and powerful fUNCTIONS c cccccccesessssececeeecessesseaeseeeessesssaeaeeeesens 29 Installing FastExcel V3 31 What you need to install FastExcel V3
296. t Options to ignore cells containing Errors Blanks or zeros e Use ASUMIFS and ACOUNTIFS for fast and powerful multiple criteria summing and counting e Use FILTER IFS FILTER SORT and FILTER MATCH to add fast and powerful multiple criteria capability to many Excel functions such as MAX MEDIAN etc e 10 new Text Functions Use Regular Expressions to find Rgx FIND Rgx LEN substitute Rgx SUBSTITUTE or extract Rgx MID within text strings FastExcel V3 User Guide SpeedTools Overview e 152 Concatenate Ranges CONCAT RANGE Split SPLIT TEXT Pad PAD TEXT and Reverse REVERSE TEXT text strings Extract groups of characters GROUPS from within text strings COMPARE to compare values in the same sequence as Excel s SORT e Extended array handling functions Append COL ARRAY and ROW ARRAY reverse REVERSE ARRAY pad and resize arrays PAD ARRAY Create column or row vectors with VECTOR 6 New OR and AND functions designed to eliminate false double counting and simplify using AND and OR in array formulas and FILTER e Dynamic sorting with 6 VSORT functions e Specialist high performance functions VLINTERP2 LINTERP2D and GINICOEFF e EVAL to evaluate string expressions as formulas or array formulas e ISLIKE and Rgx ISLIKE allow extended wild card and Regular Expression pattern matching in ordinary and array formulas e 6 counting functions specially designed to extend the power of dynamic range names e Ca
297. t Array Formula Count Matches not Array Formula Using OUTPUT 3 as a single cell non array formula gives you a count of the mismatches This is useful as a simple check that everything in the LookFor list can be found in the Lookin list Using OUTPUT 4 as a single cell non array formula gives you a count of the matches OUTPUT 3 multi cell array formula 2 plug fred 9 fred 9 10 FRED 24 09 1996 11 24 09 1996 23 09 1996 12 TRUE FALSE 13 FALSE 14 N A 15 N A 16 17 This option gives you a count 3 in this case followed by a list of the mismatches Cell F9 shows 35331 which is Excel s un formatted representation of 23 09 1996 OUTPUT 4 multi cell array formula FastExcel V3 User Guide SpeedTools Lookups Lookup Functions e 222 2 plug fred 9 24 09 1996 23 09 1996 FALSE N A This option gives you a count 7 followed by a list of the matches Cell G12 shows N A because C15 matches A14 Note that there are 7 matches listed although you can only see 5 Cell G11 corresponds to the single space at C13 and is not actually empty Cell G13 corresponds to the character at C16 and is not actually empty FastExcel V3 User Guide SpeedTools Lookups Lookup Functions e 223 AVLOOKUP2 AVLOOKUPS2 amp AVLOOKUPNTH Functions Search for values in one or more columns of a table and return values from the rows where a match is found Advanced Lookup functions returning e either t
298. t calculation NOTE In Excel97 and Excel2000 Excel s worksheet calculation sequence is the alphabetically sorted worksheet name sequence rather than the sequence of sequence the worksheets in the workbook In Excel 2002 and later versions the worksheet calculation sequence is generally not important to calculation time Circular Worksheet Cross reference Paths table If FastExcel can t find a worksheet calculation sequence with zero forward cross references it s probably because the workbook contains circular cross reference paths 3 72 2076 UniVerse Respondents UniVerse aj 72 1444 UniVerse Respondents Sectors UniVerse The Path Length column shows the number of worksheets involved in the circular path In complex workbooks there may be thousands of unique circular paths FastExcel is designed show you the shorter paths first and will not attempt to find paths containing more than 6 sheets FastExcel V3 User Guide Profiling Commands e 90 Memory Usage FastExcel V3 can help you quickly find out how much memory Excel is using Memory Used and Pivot Cache Memory Used Buttons K IK These commands show you the total amount of memory being used by all open workbooks and add ins and the amount of Memory Used for Pivot Caches by the active workbook Memory Used To increase your Excel has it s own memory manager which is used to allocate and deallocate understanding of what the Memory Used for workbooks etc use
299. t from VSORTC The remaining rows are filled with the Pad character If you just wanted to SUM the top N visits you could use this formula not array entered SUM PAD ARRAY VSORTC A2 A11 1 D2 Here the first PAD ARRAY parameter defaults to 0 so SUM adds up an array of the top 6 visits followed by 4 zeros FastExcel V3 User Guide SpeedTools Extras Array Handling Functions e 283 VECTOR Function VECTOR returns a column or row of increasing or decreasing positive or negative integers VECTOR is a multi threaded non volatile array function VECTOR Syntax VECTOR StartValue EndValue Step Row Pad StartValue Optional default 1 The first number Can be positive or negative If omitted the value 1 will be used EndValue Required The last number can be positive or negative Step Optional default 1 The increment between numbers Can be positive or negative If omitted the value 1 or 1 will be used If the sign of step is not a valid increment for StartValue and EndValue its sign will be reversed Row Optional default TRUE If ROW is TRUE then a row of numbers will be generated If FALSE a Column of numbers will be generated Pad Optional default If VECTOR is array entered into more cells than the number of integers requested Excel would normally put N A into the excess cells The Pad parameter provides the value to use instead of N A VECTOR Examples VECTOR 6 returns a row containing
300. t to sorted approximate match which is likely to give incorrect answers in most cases SpeedTools Lookup Families The 28 Lookup functions are organized into families to simplify choosing the particular function best suited to your needs e MEMLOOKUP Fast exact match Lookup using memory e MEMMATCH Fast exact match MATCH using memory e COMPARE LISTS Compares 2 lists to find matching and missing items e AVLOOKUP2 Fast powerful advanced function lookup e AVLOOKUPS2 Advanced function lookup returning ALL matches e AVLOOKUPNTH Advanced function lookup returning the Nth match e AMATCH2 Fast powerful advanced function MATCH e AMATCHES2 Advanced function MATCH returning ALL matches e AMATCHNTH Advanced function MATCH returning the Nth match e Case AVLOOKUP2 Case sensitive version of AVLOOKUP2 e Case AVLOOKUPNTH Case sensitive version of AVLOOKUPNTH e Case AVLOOKUPS2 Case sensitive version of AVLOOKUPS2 e Case AMATCH2 Case sensitive version of AMATCH2 e Case AMATCHES2 Case sensitive version of AMATCHES2 e Case AMATCHNTH Case sensitive version of AMATCHNTH e Rgx AVLOOKUP2 Regular Expression version of AVLOOKUP2 e Rgx AVLOOKUPNTH Regular Expression version of AVLOOKUPNTH e Rgx AVLOOKUPS2 Regular Expression version of AVLOOKUPS2 e Rgx AMATCH2 Regular Expression version of AMATCH2 e Rgx AMATCHES2 Regular Expression version of AMATCHES2 e Rgx AMATCHNTH Regular Expression version of AMATCHNTH e 6
301. talled Used 64 gt RAM MB for Windows Excel and all the open workbooks See Bottlenecks Orange if Used Available gt e Swap File K Swap File used and Swap file available in K bytes If your system is using a large amount of your 3 75 Orange Tolerance oe cag f existing swap file either close as many programs as possible FastExcel V3 User Guide Profiling Commands e 66 Orange if Used Available gt 3 75 Orange Tolerance FastExcel V3 User Guide or increase the size of your swap file Excel Memory K Excel Memory Used and available Total Memory Used by all open Excel workbooks for data formulas etc excludes Memory Used by the Excel program itself and the maximum Excel workbook memory available for formulas etc K Bytes Excel97 and 2000 have a limit of about 80MB of memory for formulas and pivot caches Excel2002 has a limit of about 160MB and Excel 2003 has a limit of about 1024MB The limit for Excel 2007 and later 32 bit Excel versions is about 2048MB and for 64 bit Excel versions 192GB under Win 7 and 512GB under Win 8 Note that there are additional limits Charts etc that may cause Excel to run out of memory before all available workbook memory is used FileSize K The size on disk of the workbook in Kilobytes Windows The version of Windows in use when this profile was created MHZ x Cores For Windows NT 2000 and XP the processor speed in MHZ and the number of processor cores in the system X
302. tarting with the most inner set In this example the results would be 5 2 3 2 3 1 5 6 5 2 3 2 3 1 11 5 2 3 2 2 11 5 2 3 2 22 5 2 5 22 4 54545454545455 Reset button Restores the refersto property FastExcel V3 User Guide Name Manager Professional e 108 Close button Closes the Analyze dialog FastExcel V3 User Guide Name Manager Professional e 109 Highlight Button Use this button to highlight the ranges referred to by all names as they are currently shown in the Name Manager s main screen names not shown due to filtering will not be highlighted After clicking this button you will first be prompted whether you wish to remove any existing highlights The Name Manager will show a message stating all names it had trouble highlighting Especially names referring to a 3D range and names that have a formula may be impossible to highlight Clear Button Clears all highlights produced with the Highlight button Is Used Button Press this button to let Name Manager search for uses of the first selected name A screen will be shown indicated all objects and cells where the name is in use Click on one of the items to have the object selected Tables are ignored by Is Used Where is name test123456 used eee x C DatalFlexFind flexfind Demo xls Warnings Worksheet Sheet1 has hidden cells Sheet1 Drawing object Picture 7 on Sheet1 test123456 Drawing object Text Box 6 on Sheet1
303. ted data and return N A if not found An exact match on sorted data is much more efficient than an exact match on unsorted data If a value of anything other than False is specified it will indicate that an exact match is to be done even with sorted data and the value given specifies the value to be returned if no exact match can be found If True is specified or the parameter is omitted the error value will be N A Lookup_Columns optional defaults to 1 Use this optional parameter when you want to control which column s in Lookup_Table to use for the lookup The default value is 1 the first column in Lookup_Table If the values are numeric they will be treated as column numbers if alphabetic they will be treated as column labels to be found in the first row of Lookup_Table If there is more than one column given then there must be a matching set of values given in the columns of Lookup_Values FastExcel V3 User Guide SpeedTools Lookups Lookup Functions e 233 Multiple columns can be given either as an array of constants or as a range reference MemType_Name Optional Defaults to 2 CASEAAVLOOKUP2 only Memory type for lookups can be O 1 2 or 3 or a string that is used as the name for a memory 3 Global Memory for Rows or Columns A single index is stored in global memory for each row vertical lookups or column horizontal lookups This global memory is super efficient and easy to use when you have more than one lookup form
304. ted space from your workbook Step 2 First Drill down Profile the active Workbook Find the problem worksheets volatility and multi threading inefficiencies e The calculation times for each worksheet e Workbook and worksheet Volatility and multi threaded efficiency e Used Range wastage by worksheet Note when using the Trial version of FastExcel V3 Drill Down will only profile a single worksheet PF DrilDown The first time you click the Drill down wizard button it profiles the active workbook to find and prioritize Step 3 Second Drill down Profile the worst worksheet Find the problem formula PF driloown With the FastXLBook result sheet active click the Drill down blocks on the worst Wizard to profile the worst worksheet to find and prioritize the calculation time worksheet for blocks of formulas The Drill down wizard will automatically pick the worst worksheet unless you select a different worksheet result row Step 4 Third Drill down Drill down to individual formulas within the worst formula area Find the worst formulas within the worst area on the worst sheet p DriliDown With the FastXLSheet result sheet active click the Drill down wizard to drill down into the formulas in the worst formula area block Step 5 Repeat steps 3 to 4 for the next worst worksheet Q DrilDown With the FastXLBook result sheet active select the next worst worksheet result row and click the Drill down Wizard to repeat the process Not
305. than one worksheet is selected then only the selected range on the active worksheet is calculated If one or more of the selected cells is part of a multi cell array formula then all the cells in the array formula will be included in the calculation If Calculation is set to Automatic both the time taken to calculate the range in Manual mode and the workbook recalculation time are shown The currently selected sheet s using Sheet Recalculate Shift F9 If more than one worksheet is selected all the selected worksheets are recalculated If Calculation is set to Automatic both the time taken to recalculate the sheet s in Manual mode and the subsequent workbook recalculation time are shown If MixMode sheets are selected by default they will be calculated worksheets are recalculated If Calculation is set to Automatic both the The currently selected sheet s using Sheet Full Calculate Alt Shift F9 If more than one worksheet is selected all the selected Calculation Timing Commands e 59 Recalculation is the default Excel calculation process Only changed cells and formulas dependent on changed cells are calculated Full calculation calculates all formulas in all open workbooks Recalc MixMode Sheets recalculates all sheets including MixMode sheets FastExcel V3 User Guide Calculation Timing Commands e 60 time taken to recalculate the sheet s in Manual mode and the subsequent workbook recalculation time are shown If Mix
306. that retrieves data from a remote server based on the parameters in thelnput you could program it to only get the data from the remote server when the Refresh switch was true otherwise it could return the value from the last calculation IF A1 gt PREVIOUS A1 PREVIOUS Gives the largest value that cell A1 has ever contained PREVIOUS FALSE A1 Gives a cumulative sum of all the numbers that have changed in A1 Note that if the same number is entered twice in succession in cell A1 this formula will NOT accumulate the same number twice FastExcel V3 User Guide SpeedTools Extras Reference Functions e 272 F COUNTA C1 gt 0 PREVIOUS FALSE 1 0 Counts the number of times the contents of cell C1 has been changed reset to zero if C1 is cleared or the contents deleted Note that if the same value is entered twice in succession in cell A1 this formula will NOT increment the change count FastExcel V3 User Guide SpeedTools Extras Reference Functions e 273 SETMEM and GETMEM Functions Optimize your formulas by storing and retrieving the results of very calculation intensive expressions used more than once in a formula Description The SETMEM and GETMEM functions are thread safe functions that you can use to avoid repeated calculation of expressions that occur more than once in the same formula Use SETMEM to store in memory the results of calculating a calculation intensive formula expression so that you can replace the later
307. the cell contains a string text value e N the cell contains a number integer or with decimal point date time currency e BOOL the cell contains a Boolean True or False e EMPTY the cell is empty e ZLS the cell contains a zero length string e BLANK the cell contains a string of 1 or more blanks spaces Any of these criteria operators can be prefixed by not to convert the operator from an inclusion operator to an exclusion operator Data Type Comparison Excel has 5 fundamental data types Number integers real numbers dates times currency String text Boolean true or false Error NA etc and Empty unused cells When a column of mixed data types are sorted Excel uses the following comparison relationships Numbers lt Strings lt Booleans lt Errors Empty cells are always sorted last both in an ascending and a descending sort The SpeedTools FILTER functions use the same comparison relationship between data types Data Type Conversion When a criteria value is preceded by any of the criteria operators its data type is not known Criteria values without any preceding criteria operator have a specific data type For example in lt 1234 the 1234 could be a number or could be a string When this criteria value is being compared to a criteria column that could contain multiple data types the FILTER IFS functions use the following rules FastExcel V3 User Guide SpeedTools Filters Filtering Functions e 173
308. the corresponding columns Columns are treated as AND When doing multi row lookups multiple rows of lookup values the AVLOOKUP functions will look for a row separately for each row of lookup values Rows are treated as OR A single AVLOOKUP2 or AVLOOKUPNTH statement will return the same number of rows and columns of result values as there are rows in Lookup_Values and columns in Answer_Columns Lookup_Values can contain the wildcard characters and for exact matches on unsorted text data To find actual question marks or asterisks add a tilde preceding the character Lookup_Table required The rectangular range of cells or array or expression yielding an array to be used for the lookup table The array range must resolve to a single contiguous rectangular array FastExcel V3 User Guide SpeedTools Lookups Lookup Functions e 224 Answer_Columns required Specifies the column or columns in Lookup_ Table that the AVLOOKUP functions will return values from for the row or rows that are found in the lookup operation Answer_Columns can be a constant an array of constants an expression or a reference e f Answer_Columns evaluates to a number it will be treated as relative column number s within Lookup_ Table e If Answer_Columns evaluates to text then the text will be treated as column labels to be found in the first row of Lookup_Table If the column labels are not found the AVLOOKUP functions return REF Sorted optional
309. the formula by the F9 key Show Formulas in Local Language Formulas will be shown either in US English or the Local Language This can particularly affect recognition of Excel native functions which have different names in different languages Show Short Function Description A short description in English of a selected function will be shown Show Function Types Information about the function will be shown e Source Native or XLL or VBA Automation e Volatile or Non Volatile or Not Known e Single Threaded or Multi Threaded Note This option can cause a delay of a few seconds the first time the form is shown FastExcel V3 User Guide Indenting Formula Viewer Editor and Debugger V2 e 141 Edit Mode Array Formula Handling Edit Mode Array Formula Handling Auto Detect and Enter Enter as Array Formula Enter as Non Array Formula These settings control whether or not the formula is entered back into the destination cell as an array formula The default is that if the formula was originally an array formula then it will be entered as an array formula The other options allow you to convert an array formula to a non array formula and vice versa FastExcel V3 User Guide Indenting Formula Viewer Editor and Debugger V2 e 142 Sheet Manager Sheet manager provides a convenient way of managing workbooks containing a large number of worksheets and chart sheets by allowing you to change properties and sort multiple sheets
310. the names NOT the formulas in the cells Existing names are changed to reflect the listing new names are added You can use the List and Pickup buttons to transfer names between workbooks by copying the Names worksheet into a new workbook and then using the Pickup button You can also do multiple edits on the Refersto formulas on the Names sheet and then reload the changed definitions back into the workbook using the Pickup button FastExcel V3 User Guide Name Manager Professional e 106 Name Manager Action Buttons 2 Localise Button xl Makes the selected names local to a worksheet This Button is enabled when either a global name is selected or multiple names are selected Three cases are possible here e A name refers to one sheet The name is localised to that sheet automatically e Aname refers to more than just one sheet You are prompted to choose one sheet to localise that name to e Aname refers to no sheet The name will be localised to the active worksheet Please note that only the name itself will be changed not the formulas in your worksheets If you have the confirmation checkbox checked you will be prompted whether or not to delete the global name s If confirmation is switched off the global name s will NOT be deleted Tables cannot be local to a worksheet and are ignored by this command Globalise Button e The Button is enabled when either a local name is selected or one is in multi mode Local name
311. then IFERRORX handles each value in the array individually If TheExpression evaluates to an empty cell IFERRORX treats it as a zero This behaviour is not the same as the IFERROR function in Excel 2007 and later which treats an empty cell as an empty string The IFERRORX function is thread safe Examples FERRORX VLOOKUP A1 B1 C65000 2 FALSE Not Found instead of 1F ISERROR VLOOKUP A1 B1 C65000 2 FALSE Not Found VLOOKUP A1 B1 C65000 2 FALSE IFERRORX 200 5 Division Error returns 40 FastExcel V3 User Guide SpeedTools Extras Logical Functions e 269 IFERRORX 200 0 Division Error returns Division error IFERRORX MATCH 99 1 2 3 4 5 6 7 8 99 100 0 0 returns 9 the 9 position IFERRORX MATCH 99 1 2 3 4 5 6 7 8 9 0 0 returns 0 99 is not found so the N A is replaced by Value_if_error IFERRORX MATCH 99 1 2 3 4 5 6 7 8 9 0 0 TRUE returns N A Exclude_NA is TRUE so the N A is not considered an error FastExcel V3 User Guide SpeedTools Extras Logical Functions e 270 SpeedTools Extras Reference Functions e PREVIOUS Returns the value of the cell at the previous calculation e SETMEM Store the result of an expression to be retrieved later in the same formula e GETMEM Retrieve a result that was stored by SETMEM FastExcel V3 User Guide SpeedTools Extras Reference Functions e 271 PREVIOUS Function PREVIOUS returns the value of the cell at the previous calculation P
312. this case only 1 column of strings and a corresponding column of Regular Expressions or a single string and single corresponding RegExp is allowed Case_Sensitive optional TRUE to make the pattern matching case sensitive The default is FALSE Rgx MID Examples 41 Extract the Matching string 42 b5 1 5 0 9 14 b 43 Rgx MID A44 B 42 44 Mastercard number 5499000001234567 5499000001234567 45 Is This a Mastercard number 5199000001234567 5199000001234567 46 Is This a Mastercard number 5699000001234567 FastExcel V3 User Guide SpeedTools Extras Text Functions e 311 COMPARE function Compares 2 values using the same collating sequence as Excel s SORT Returns 1 if the first value is less than the second value 0 if they are equal and 1 if the first value is greater than the second value COMPARE Syntax COMPARE Valuet1 Value2 Case_Sensitive Value1 required The Value to compare with Value 2 Can be a string a number or a logical value Value2 required The Value to compare with Value 1 Can be a string a number or a logical value Case Sensitive optional default False If TRUE then the comparison of 2 Text values will be done in a case sensitive manner Remarks Returns Value if either of Value1 or Value 2 are errors Returns a negative value if Value1 is less than Value2 Returns zero if Value1 is equal to Value2 Returns a positive value if Value1 is greater than Value2 The comparison is done using Ex
313. ti row lookups multiple rows of lookup values the Case AMATCH functions will look for a row separately for each row of lookup values Rows are treated as OR A single Case AMATCH2 or CaseAMATCHNTH statement will return the same number of row numbers as there are rows in Lookup_Values FastExcel V3 User Guide SpeedTools Lookups Lookup Functions e 240 Lookup_Values can contain the wildcard characters and for exact matches on unsorted text data To find actual question marks or asterisks add a tilde preceding the character Lookup_Table required The rectangular range of cells or array or expression yielding an array to be used for the lookup table The array range must resolve to a single contiguous rectangular array Sorted Optional defaults to False Specifies whether the data in Lookup_Table is sorted on the first Lookup Column ascending descending or not sorted Valid values for Sorted are e True Asc Yes True 1 Ascending e Des 1 Descending e False No 0 any other text Not Sorted If the Lookup_Table is sorted on the first Lookup_Column the lookup process will be significantly faster Exact_Error optional defaults to True Use this optional parameter when you want the Case AMATCH functions to find a row in Lookup_ Table that exactly matches the Lookup_Value s even with sorted data and to specify what to return if an exact match does not exist An exact match will always be
314. tions You can use SpeedTools s OR ROWS and AND ROWS functions to build more complicated calculated combinations of criteria within FILTER see below FastExcel V3 User Guide SpeedTools Filters Filtering Functions e 177 FILTER IFS and ASUMIFS Examples These examples show some of ways that FILTER IFS and ASUMIFS can be used to calculate dynamic statistics from a data set Tost Data sorted FromCtry ToCtry toCity 10300 rows _ 2 3 Fromciy Tectyy Fromciy _Teoty__Dat valus _ 40 brussels 26 February 2000 152 5 a AT brussels 15 June 2000 476 6 AT BE salzburg brussels 11 June 2000 881 T AT BE vienna brussels 15 August 2000 75 8 AT BE graz gent 18 September 2000 666 9 AT BE othAT gent 02 February 2000 223 10 AT BE salzburg gent 09 July 2000 830 11 AT BE vienna gent 06 June 2000 938 12 AT BE graz liege 10 July 2000 534 13 AT BE oth AT liege 07 September 2000 871 14 AT BE salzburg liege 01 May 2000 928 15 AT BE vienna liege 23 February 2000 129 i6 AT BE graz oth BE 28 September 2000 316 17 AT BE othAT oth BE 06 December 2000 583 18 AT BE salzburg oth BE 04 January 2000 586 19 AT BE vienna oth BE 27 August 2000 97 20 AT CH graz basel 08 November 2000 479 21 AT CH oth AT basel 29 April 2000 772 22 AT CH salzburg basel 23 September 2000 385 23 AT CH vienna basel 24 October 2000 624 24 AT CH graz geneve 25 February 2000 165 25 AT CH oth AT geneve 24 June 2000 776 26 AT CH salzburg geneve 31 January 2000 151 2
315. to zero does not with care on ranges with trigger a recalculation COUNTROWS2 may show an incorrect value even hidden rows or rows with in automatic mode until the workbook is recalculated Changing the zero heights Automatic or Advanced filter does trigger a recalculation COUNTROWS2 Example Assuming that cell B55 contains 10 and there are no other non empty cells in column B then FastExcel V3 User Guide SpeedTools Extras Information Functions e 289 COUNTROWS2 B4 returns 52 51 rows from B4 to B55 plus row 4 itself FastExcel V3 User Guide SpeedTools Extras Information Functions e 290 COUNTCONTIGROWS2 Function The COUNTCONTIGROWS2 function counts the number of rows from a reference row down to the last cell before the next visible empty cell in the referenced columns COUNTCONTIGROWS2 Syntax COUNTCONTIGROWS2 theColumns TheColumns A range reference to a cell or cells in the columns whose rows are to be counted COUNTCONTIGROWS2 counts the number of rows downwards from the referenced cell to the cell before the first visible empty cell found The count includes the top row of the referenced cell If theColumns refers to more than one adjacent column then the count gives the largest row count found for the columns COUNTCONTIGROWS2 Remarks COUNTCONTIGROWS2 is a volatile function If the reference specified for theColumns contains more than one row the top row will be used If the reference specified for theColumns contai
316. trace successive steps down a dependency chain You can use the Next and Back buttons to retrace your steps Constant Origin Mode When this option is selected the indented formula in the Formula Box does not change but you can change the active selected cell and hence the formula in Excel s formula bar by double clicking in the Formula Box or selecting a worksheet cell using the mouse or the keyboard This method allows you to see at the same time both the indented formula from one cell and the formula in another cell that is referenced by the indented formula You can use the Next and Back buttons to retrace the changes to the selected cell Edit Mode This option is designed to allow you to change the formula in the Formula Box When selected additional editing options appear at the bottom of the form Add Reference Function Wizard Insert Name Clear Copy From Rel gt Abs gt Rel cose _ tee And at the top of the form the Origin Box becomes a Destination Box showing where the changed formula will be entered You can dynamically change the destination to make it easy to pick up a formula from one place change it and then insert it in a different place Also at the top of the form two additional buttons appear in Edit Mode Unformat Reformat You can use Unformat Reformat to simplify editing FastExcel V3 User Guide Indenting Formula Viewer Editor and Debugger V2 e 132 Indent style Indent Style aj 4
317. true if any of the cells in the range contains a formula otherwise false HASFORMULA 2Remarks The function considers the following as formulas e 2 e 2 e al e Text e NOW e RangeName The function will return False for the following e 2 e 45 e Text FastExcel V3 User Guide SpeedTools Extras Information Functions e 286 Calculation Sequence and Counting functions SpeedTools contains three functions to help trace Excel s calculation sequence Two of these functions increment a counter and the third allows you to reset the counter CALCSEQCOUNTREF Function CalcSeqCountRef returns the value of the calculations counter and is dependent on a cell reference so you can use it to count the number of time a cell is calculated CalcSeqcountRef Syntax CalcSeqCountRef theRange theRange A reference to an excel cell At each recalculation Excel will calculate CalcSeqCountRef if the cell referred to by theRange has changed or been recalculated CalcSeqCountRef Remarks The function uses a single global calculation counter so a workbook containing multiple formulas containing CalcSeqCountRef will show the sequence in which they were calculated Entering CalcSeqCountRef into a cell using the Function Wizard Palette will increment the calculation counter several times because the Function Wizard attempts to show you the result of the function at each step To reset the calculations counter either run th
318. tween worksheets Calculate Range Calculate Sheet Calculate Workbook Time a Macro These tools can be used during development and optimization of a workbook to quickly compare the calculation speeds of different formulas worksheets etc and with large slow workbooks allow you to quickly calculate a small subset of the workbook FastExcel V3 Profiler Memory Tools e Workbook Memory Used Pivot Cache Memory Used These tools show you the memory used by your workbooks and pivot tables FastExcel V3 User Guide Overview of FastExcel e 16 FastExcel V3 SpeedTools Performance Improvement Tools e Additional Calculation Modes Excel only has two calculation modes Automatic and Manual to apply to all the open workbooks and worksheets and all the open workbooks are calculated at each calculation This can be slow and inconvenient when you have multiple workbooks open or one or more of the worksheets in your workbook only need calculating infrequently FastExcel allows you to calculate only the active workbook to set different calculation modes for each workbook and to control when the individual worksheets in a workbook are calculated e Advanced SpeedTools Functions SpeedTools provides an extensive library of over 80 multi threaded worksheet functions which you can use to speed up many slow calculations FastExcel V3 User Guide Overview of FastExcel e 17 FastExcel V3 Manager Workbook Management Tools e
319. ula on the same row looking up different columns in a Table This global memory works across all worksheets in all open workbooks 2 Book Sheet Row Memory If you are using different Lookup Tables on different worksheets but still want to have more than one lookup formula on a row looking up different columns in the same table you can use this option which stores the row memory separately for each Workbook worksheet 1 Book Sheet Cell Memory If you are using multiple Lookup Tables formulas in different cells on the same sheet and the same row you should use this option which stores the memory separately for each cell 0 Do not use Lookup memory Named Memory If you give a text string instead of a number it will be used as a named memory You can have many named memories in use at the same time usually one for each Lookup Table Each named memory works by row across all sheets within a workbook so is the best choice when you have o More than one memory lookup referring to different lookup tables within a single formula o More than one memory lookup referring to different lookup tables in different cells on the same row and these lookups are repeated on the same row in multiple sheets If this option is not zero then Case AVLOOKUP2 will first check to see if the index stored in memory that gave the answer the last time the Case AVLOOKUP2 was calculated still gives the correct answer If it does then Case AVLOOKUP2 will return that answ
320. unction The GINICOEFF function calculates the Gini inequality coefficient using the Angus Deaton formula Empty cells and blank cells are ignored If there are any negative numbers in the input data the entire data series is offset by the absolute value of the largest negative number found Bias correction is optional but applied by default GINICOEFF is multithreaded is NOT volatile and is NOT an array function GINICOEFF Syntax GINICOEFF InputData Sorted BiasCorrect InputData required InputData must be a single row or column range array or calculated values of numeric data Sorted Optional e 1 for sorted descending e 0 for unsorted e 1 for sorted ascending e The default is Unsorted BiasCorrect Optional e True to include the Bias Correction factor e False to exclude the Bias Correction factor e Default is True FastExcel V3 User Guide SpeedTools Extras Mathematical Functions e 262 SpeedTools Extras Logical Functions Extended versions of Excel s OR and AND functions for use in array formulas and an extended version of the Excel 2007 IFERROR function e OR COLS Logical OR by columns e OR CELLS Logical OR by cell e OR ROWS Logical OR by rows e AND COLS Logical AND by columns e AND CELLS Logical AND by cell e AND ROWS Logical AND by rows e ALL e ANY e NONE e IFERRORX Extended version of the IFERROR function FastExcel V3 User Guide SpeedTools Extras Logical
321. up AND lookup a row based on more than one column e Multi row Lookup OR Allows for multiple rows of lookup values and multiple lookup answers Use multi row Lookups in array formulas or in formulas like SUM AVERAGE MEDIAN COUNT e Use multiple answer columns to return values from multiple columns e The lookup column s can be any column s in the Lookup_Table e Specify the Lookup Column s and Answer Column s using Column header labels or column numbers e Choice of case sensitive or not case sensitive matching e Lookups can use regular expressions for text exact match lookup e Lookup_Table can be sorted ascending descending or not sorted e Lookup_Table can be a range or an array or a calculated range or an expression yielding an array e Separate Sort and Exact options allow Exact Match with sorted data e Specify the error returned when Exact Match cannot find a matching row e Use wildcard characters and in text exact match lookup FastExcel V3 User Guide SpeedTools Lookups Lookup Functions e 211 The Advanced Lookups Flavors The advanced LOOKUP functions are combined in a number of different flavors e AVLOOKUP2 and AMATCH2 e Return all matches return the Nth match and the standard match return o For example AMATCHES2 AMATCHNTH AMATCH2 e Case sensitive and non case sensitive o For example Case AVLOOKUP2 Case AVLOOKUPNTH Case AVLOOKUPS2 e Regular Expression lookup and standard lookup o For examp
322. use when you have more than one lookup formula on the same row looking up different columns in a Table This global memory works across all worksheets in all open workbooks 2 Book Sheet Row Memory If you are using different Lookup Tables on different worksheets but still want to have more than one lookup formula on a row looking up different columns in the same table you can use this option which stores the row memory separately for each Workbook worksheet 1 Book Sheet Cell Memory If you are using multiple Lookup Tables formulas in different cells on the same sheet and the same row you should use this option which stores the memory separately for each cell 0 Do not use Lookup memory Named Memory If you give a text string instead of a number it will be used as a named memory You can have many named memories in use at the same time usually one for each Lookup Table Each named memory works by row across all sheets within a workbook so is the best choice when you have o More than one memory lookup referring to different lookup tables within a single formula o More than one memory lookup referring to different lookup tables in different cells on the same row and these lookups are repeated on the same row in multiple sheets If this option is not zero then AMATCH2 will first check to see if the index stored in memory that gave the answer the last time the AMATCH2 was calculated still gives the correct answer If it does then AMATCH2
323. using multiple extended conditions e FILTER MATCH filter out row numbers of the data using multiple extended conditions e 6FILTER VISIBLE filter out the visible rows e Rgx SUMIF sum values using Regular Expressions e Rgx COUNTIF count values using Regular Expressions e LISTDISTINCTS provides a list of the distinct rows or cells e LISTDISTINCTS COUNT provides a list of the distinct rows or cells with counts e LISTDISTINCTS SUM provides a list of the distinct rows or cells with sums e LISTDISTINCTS AVG provides a list of the distinct rows or cells with averages e COUNTDISTINCTS counts the number of distinct rows or cells e COUNTDUPES counts the number of rows or cells with more than 1 occurrence FastExcel V3 User Guide SpeedTools Filters Filtering Functions e 168 The FILTER IFS Multiple Criteria Function Family The FILTER IFS FILTER SORTED FILTER MATCH ASUMIFS and ACOUNTIFS functions are a family of high performance SpeedTools functions you can use to replace many SUMPRODUCT and array functions e The FILTER IFS functions are extremely fast when used on sorted data or well structured data e Data can be sorted ascending descending or unsorted e Use FILTER IFS inside functions like RANK MAX MIN SUM COUNT COUNTA AVERAGE MEDIAN MODE LARGE INDEX any function or UDF that will handle a range or array input or in a multi cell array formula to return the resulting filtered subset of data e Co
324. ut the quotes this name becomes inaccessible for editing and deleting yielding an invalid name error message u ouan Other strange characters in sheet names especially and char 3 may even cause a crash of Excel when trying to access these local sheet names A check has been included in the name manager to overcome this problem yielding this message Name Manager 2 2 x O Deleting or changing the Refers To property of test3l itest is impossible because either the sheet s name or the refersto property contains one or more of these characters or or char 3 To be able to aN names please rename the offending sheet Operation cancelled ome Press cancel if you have multiple names selected and wish to abort the process you have chosen Duplicate Global Local Names Accessing a global name whilst the active sheet has an identically named name local to that sheet will change the properties of the local name and NOT the global name even if the name is fully qualified with the workbook name Name Manager bypasses this problem Names with refers to starting with Names with refers to starting with may give incorrect results when calculation is called from VBA They are calculated as though they always refer to the active worksheet rather than the sheet that they are being used on FastExcel V3 User Guide Reset NM e 117 Name manager will show a warning message whenever it finds
325. when you open a workbook These settings use Excel s Worksheet Enable Calculation property This behavior is different to the standard Excel behavior FastExcel V3 User Guide FastExcel V3 Controlling Calculation e 52 Workbook Calculation Settings Workbook Options Workbook Options Restore calc mode after open Force Full Calculation V Update remote references jE Precision as displayed V Save external Link values 1904 date system Accept labels in formulas Restore Workbook Calculation Mode after open This option only functions When Restore calculation mode after open is checked FastExcel will when automatically reset the calculation mode after the workbook has been the workbook has been opened to the workbook calculation mode You can set the workbook saved calculation mode using Set Book Modes or let it default to the default and the workbook is workbook calculation mode which you can also set in Set Book Modes subsequently opened Note that using this option does NOT prevent Excel calculating a workbook when it is opened and Excel is in Automatic mode Use Restore calculation mode after open instead of Active Workbook Mode if you want to force Excel into the calculation mode of this workbook whenever it is opened but do not want to switch calculation mode whenever a workbook is activated Force Full Calculation This option is only available in Excel 2007 or later If checked every calculation on th
326. will return that answer without doing any more processing When using Lookup memory and there are multiple exact match answers available AMATCH2 will not necessarily return the answer from the same row as MATCH AMATCHES2 and AMATCHNTH do not use lookup memory Position Optional Defaults to 0 AMATCHNTH only Controls which result will be returned from multiple matches N where N is a positive integer The Nth match found will be returned 0 If sorted ascending then the largest value that is less than or equal to Lookup_ Value If not sorted then the first value found If sorted descending then the smallest value that is greater than or equal to lookup value 1 The first value found will always be returned 2 the Last Value found will always be returned 3 All matches found will be returned FastExcel V3 User Guide SpeedTools Lookups Lookup Functions e 238 Remarks AMATCH2 returns the first row number that it finds which meets these criteria e Sorted Ascending the largest value that is less than or equal to Lookup_Value e Sorted Descending the smallest value that is greater than or equal to Lookup_ Value e Not Sorted The first row containing a value equal to Lookup_Value except when using the built in memory function In this case AMATCH2 will return the same row as in the previous calculation provided it still matches the Lookup_ Value AMATCHES2 with one or more rows of Lookup_Values and AMATCH2 or AMATC
327. with one command FastExcel V3 Sheet Manager Hide Protect Activate Rename unhide unprotect Refresh Delete Choose Sheet Filters Click the Name button to And Or J InvertFilters sort the list of worksheets SESSSESESESE Sheets Box Double click a sheet to activate it 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Filter sheet names like Drag to resize The Sheet Manager form is a modeless and resizeable form e You can keep showing the Sheet Manager form whilst working on the active workbook e Drag the bottom right corner of the Sheet Manager form to resize it e Click the Name button to sort the filtered list of worksheets by name or the Seq button to sort the list by sequence number e Double click a sheet in the Sheets Box to activate it in the workbook FastExcel V3 User Guide Sheet Manager e 143 Workbook Name Workbook Name ABC xls v This dropdown allows you to choose the workbook to operate on from the list of open workbooks The initial workbook selected will be the active workbook Sheets Box The sheets box contains 5 columns of information for each sheet worksheet or chart sheet that matches the sheet filters Double clicking a sheet in the Sheets Box activates that sheet in the workbook Seq shows the sequence number of the worksheet within the workbook MixMode shows when the sheet will be calculated o Book or Chart
328. ynamic Range Wizard Button al This button launches the Dynamic Range Wizard See the Dynamic Range Wizard section of this guide for details Find and Replace button The Find and Replace button launches the find and replace dialog Find amp Replace Refers to Find what Find amp Replace Scope BO Answers All Filtered Names Replace with Selected Names Only A3 Universe Wildcard Find Find Next Close Replace Replace All Find what Enter the text Find text you want to be found or replaced in the Refers To in this box If you want to use the wildcard characters and then you must also check the Wildcard Find checkbox Replace With Enter the text Replace Text you want to replace the text found in the Refers To Find amp Replace Scope Choose to apply the find and replace operation either to all the names that have been filtered in the names listbox or just to all the names that are currently selected in the names listbox Find Next Button Finds and selects the next occurrence of the Find Text within the Filtered or Selected names Refers To Close Button Closes the Find and replace dialog Replace Button Finds the first Refers To that contains the Find Text within the Find amp Replace Scope and replaces it with the Replace text If the first Refers To found contains multiple copies of the find text then they are all replaced If the Find text cannot be found an error message wil
329. ynamic range or confirm the anchor selection and fixed rows if you are expanding only by columns Choosing the expansion method for the last row FastExcel Dynamic Range Wizard Step 3 of 5 Click Help to see details and advice for each method Step 3 Choose the resizing method for the last row C Last contiguous non empty row C Last row in the used range C Count of non empty rows in the anchor column Select the cell that will contain the number of rows Step 3a Choose columns for finding the last row Use only the Anchor Column to find the last row C Use all the Dynamic Range columns to find the last row Cancel lt lt Back Next gt gt Help Last non empty row Because this method finds the last visible cell it should be used with care on ranges that are filtered contain hidden rows or contain rows with zero height FastExcel V3 User Guide This method looks up from the last row to find the last visible non empty cell in a column This is the default re sizing method You can use this method even if your data contains blanks The last cell in a column is the last visible cell that contains any character including number or formula Empty cells that have been formatted are ignored See COUNTROWS2 for more details Dynamic Range Wizard e 121 Last contiguous non empty row This method is not This method looks down from the anchor row to find the first visible empty rec
330. yntax PAD TEXT Pad Text Length PadEnd Pad Optional default space The characters to use for padding the text string repeated as required Text Required The Text string s to be padded Can be a range or an array of text strings Length Required The length you want for the output text after padding PadEnd Optional default False If False pad the front of the Text string if True then pad the end of the Text string When padding the front of the text string characters are taken from the right of the Pad text When padding the back of the text string characters are taken from the left of the Pad text PAD TEXT Examples PAD TEXT X ABC 5 XXABC PAD TEXT XYZ ABC 5 YZABC PAD TEXT XYZ ABC 5 TRUE ABCXY PAD TEXT ABCDEF 5 TRUE ABCDE PAD TEXT ABCDEF 5 FALSE BCDEF PAD TEXT xy AB 5 yxyAB PAD TEXT xy AB 5 TRUE ABxyx FastExcel V3 User Guide SpeedTools Extras Text Functions e 302 REVERSE TEXT Function Returns reversed Text from a single Text or array Range of Texts abcdE becomes EDCBA Values that are not text are returned unchanged REVERSE TEXT is a multi threaded non volatile array function REVERSE TEXT Syntax REVERSE TEXT Text Num_chars Text required An expression range or array containing one or more text strings to be reversed Num_chars optional default 0 Num_chars gives the number of characters to be reversed O means reverse all the charact
331. ype are given an incremental number suffix FastExcel V3 User Guide Profiling Commands e 64 Using the Drill Down Profiling Wizard PP DriiDown If you would like to get some immediate results on your workbooks without delving into lots of details you can simply use the Drill down Wizard to find the Calculation Bottlenecks in an easy step by step way They key to the Drill Down Wizard is that it can recognize the output results sheets from Profile Workbook and Profile Worksheet FastXLBook and FastXLSheet and use them to drill down into the worst performing sheet area and formulas If the active sheet is not a result sheet from a previous Profile the Drill down Wizard starts by Profiling the Workbook If the active sheet IS a result sheet from a previous profile the Drill down Wizard can either drill into the worst thing found at the top of the list or will work on a selected result So it s easy to use the Drill down wizard in a step by step sequence e Profile the Active Workbook to find the worst performing worksheets e With the results sheet FastXLBook1 from the Profile Workbook active to identify the worst worksheet Profile that worksheet to find the worst Area e With the results sheet FastXLSheet1 from the previous step active to identify the worst area Profile that area to find the worst performing formulas and functions You can then repeat the process for a different worksheet by selecting the result row for another sh
Download Pdf Manuals
Related Search
Related Contents
Acer Aspire V3-371-37YM Copyright © All rights reserved.
Failed to retrieve file