modern_excel_functions
modern_excel_functions
The content in this file was created by Mynda Treacy from My Online Training Hub.
Individual users are permitted to recreate the examples for personal practice only.
Recreating the examples for training or demonstration to others is not permitted, unless writt
The workbook and any sheets within must be accompanied by the following copyright notice:
This sheet must remain in any file that uses this data and or these techniques.
Any uses of this workbook and/or data must include the above attribution.
raining Hub.
actice only.
permitted, unless written consent is granted by Mynda Treacy.
Better than CONCAT, TEXTJOIN combines text from multiple cells or ranges, and it ca
3. TEXTJOIN include a delimiter, making data concatenation seamless.
Allows you to dynamically filter data based on criteria you specify. The output can be
4. FILTER worksheet or fed into another function.
Vertically stacks arrays or ranges, which is ideal for consolidating data without the n
5. VSTACK
Is the new improved VLOOKUP. It's the Swiss Army knife of lookups, offering a versatil
6. XLOOKUP information across a table or range without the shortfalls of VLOOKUP or the complex
Generates a list of sequential numbers, perfect for creating custom data series or tim
7. SEQUENCE effort.
Divides text into separate columns based on a delimiter, which is a quick solution for
8. TEXTSPLIT organization.
Easier than nested IF, the new IFS function offers a streamlined alternative, allowing
9. IFS evaluated in a single, elegant formula.
Say goodbye to repeating complex calculations. Define it once, use it multiple times,
10. LET spreadsheet fly through calculations.
read tutorial watch tutorial
ext from multiple cells or ranges, and it can ignore blanks and
ation seamless.
ideal for consolidating data without the need for complex formulas.
rfect for creating custom data series or time sequences with minimal
Sample Data
Return to index
s, or extracting a distinct list of
_xlfn.unique(D17:D31,FALSE(),TRUE())}
SORT Function read tutorial watch tutorial
array is the range or array containing the values you want sorted.
sort_index is optional and indicates the row or column to sort by. When omitted it will default to sort
by the first row or column in the array.
sort_order is optional. It’s a number; 1 for ascending and -1 for descending. If omitted, it will sort in
ascending order.
by_col is an optional logical value (TRUE/FALSE) indicating the desired sort direction; FALSE to sort by
row (default), TRUE to sort by column. You can see in the example above that I omitted it, which
means it will default to FALSE and sort by row.
Sample Data
#NAME?
#NAME?
#NAME?
atch tutorial
Return to index
, enhancing readability and
y_col])
Better than CONCAT, TEXTJOIN combines text from multiple cells or ranges, and it ca
3. TEXTJOIN blanks and include a delimiter, making data concatenation seamless.
delimiter – this is what you want each text string separated with. It can be another text string, a reference to
empty space, all surrounded by double quotes. Note: if a number is provided it will be treated as text.
ignore_empty – this is either TRUE (you want it to ignore empty cells in your range), or FALSE, or their numeri
of 1 and 0.
text1 – this is the text you want to join, it can be a text string, a range of cells, or an array of strings.
text2... – You can continue adding text to join, up to a maximum of 252 including Text1. Note: the maximum le
resultant text string is 32767 characters.
Return to index
multiple cells or ranges, and it can ignore
ation seamless.
],...)
or an array of strings.
Formula
=TEXTJOIN(" ",TRUE(),C18:E18)
FILTER Function read tutorial watch tutorial
Allows you to dynamically filter data based on criteria you specify. The output
4. FILTER can be displayed in the worksheet or fed into another function.
array is the range or array containing the values you want filtered.
include is the logical test that returns a Boolean array (TRUE/FALSE) the same height or width as the
array.
if_empty is an optional value to return if the included array are empty i.e. if the filter results in no
records.
Sample Data
Front Office
Department Item Quantity Price Total $
#NAME? #NAME? #NAME? #NAME? #NAME?
#NAME? #NAME? #NAME? #NAME? #NAME?
#NAME? #NAME? #NAME? #NAME? #NAME?
atch tutorial
Return to index
criteria you specify. The output
another function.
Vertically stacks arrays or ranges, which is ideal for consolidating data without the n
5. VSTACK complex formulas.
Syntax: VSTACK(array1,[array2],...)
Return to index
solidating data without the need for
Region Revenue
Asia Pacific $376,887
UK $391,111
Europe $488,678
MEA $353,149
North America $417,365
South America $167,542
XLOOKUP Function read tutorial watch tutorial
Is the new improved VLOOKUP. It's the Swiss Army knife of lookups, offering a versa
6. XLOOKUP table or range without the shortfalls of VLOOKUP or the complexities of INDEX & MA
lookup_value The value you want to find, or cell containing the item you want to find
lookup_array The cell range or array you want to search return_array The cell range or array containing the v
[if_not_found] Optional - the text you want returned in the event a match isn't found. If omitted an error will
Options 2 and -2 require the lookup_array to be sorted in ascending or descending order respectively.*
*Binary search does not result in faster calculations now that Microsoft have optimised the lookup algorithms
find
g order respectively.*
=_xlfn.xlookup(G28,D28:D41,E28:E41)
Generates a list of sequential numbers, perfect for creating custom data series
7. SEQUENCE or time sequences with minimal effort.
columns is optional and specifies the number of columns to be returned. If omitted it will return 1
column.
start is optional and specifies the first number in the sequence. If omitted it will start at 1.
step is optional and specifies the increment for each subsequent value in the array. If omitted it will
increment by 1.
List
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
{=_xlfn.sequence(5,1,5,10)}
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
{=_xlfn.sequence(3,2,2,-2)}
#NAME? #NAME?
#NAME? #NAME?
#NAME? #NAME?
{=EOMONTH(DATE(2025,1,1),_xlfn.sequence(12,,0))}
#NAME? #NAME?
#NAME? #NAME?
#NAME? #NAME?
#NAME? #NAME?
#NAME? #NAME?
#NAME? #NAME?
#NAME? #NAME?
#NAME? #NAME?
#NAME? #NAME?
#NAME? #NAME?
#NAME? #NAME?
#NAME? #NAME?
watch tutorial
Return to index
t for creating custom data series
ed it will start at 1.
Divides text into separate columns based on a delimiter, which is a quick sol
8. TEXTSPLIT parsing and organization.
col_delimiter One or more characters that specify where to spill the text across columns. Optional.
row_delimiter One or more characters that specify where to spill the text down rows. Optional.
ignore_empty Specify TRUE to create an empty cell when two delimiters are consecutive. Defaults to FALSE, w
Optional.
match_mode Searches the text for a delimiter match. By default, a case-sensitive match is done.
Return to index
a delimiter, which is a quick solution for data
s columns. Optional.
n rows. Optional.
ve match is done.
***
IFS Function read tutorial watch tutorial
Easier than nested IF, the new IFS function offers a streamlined alternative, allowing
9. IFS to be evaluated in a single, elegant formula.
Loan items > 90 days old are overdue, items = 90 days old are due and items < 90 da
Return to index
s a streamlined alternative, allowing multiple conditions
cal_test2,
,….)
old are due and items < 90 days old are not due.
Notes: - LET will not error if you don't use all the names, but any unused names are redundant, so you s
- The formula should have an odd number of arguments i.e. pairs of names and values, then a ca
- The calculation can be contained inside of a name+value pair. E.g. =LET(x, 5, y, 10, result, x + y,
- Values can reference previously declared names.
Loan items > 90 days old are overdue, items = 90 days old are due and items < 90 days old are n
or defined names
Webinar Replays
Excel Dashboards & Power BI.........................................
Courses
Advanced Excel...............................................................
Advanced Excel Formulas...............................................
Power Query...................................................................
PivotTable Quick Start....................................................
Xtreme PivotTables.........................................................
Power Pivot....................................................................
Excel Dashboards............................................................
Power BI.........................................................................
Excel for Decision Making Under Uncertainty................
Excel for Finance Professionals.......................................
Excel Analysis ToolPak....................................................
Excel for Customer Service Professionals.......................
Excel for Operations Management.................................
Financial Modelling.........................................................
Support
Excel Forum....................................................................
https://www.myonlinetraininghub.com/excel-webinars
https://www.myonlinetraininghub.com/excel-expert-upgrade
https://www.myonlinetraininghub.com/advanced-excel-formulas-course
https://www.myonlinetraininghub.com/excel-power-query-course
https://www.myonlinetraininghub.com/excel-pivottable-course-quick-start
https://www.myonlinetraininghub.com/excel-pivottable-course
https://www.myonlinetraininghub.com/power-pivot-course
https://www.myonlinetraininghub.com/excel-dashboard-course
https://www.myonlinetraininghub.com/power-bi-course
https://www.myonlinetraininghub.com/excel-for-decision-making-course
https://www.myonlinetraininghub.com/excel-for-finance-course
https://www.myonlinetraininghub.com/excel-analysis-toolpak-course
https://www.myonlinetraininghub.com/excel-for-customer-service-professionals
https://www.myonlinetraininghub.com/excel-operations-management-course
https://www.myonlinetraininghub.com/financial-modelling-course
https://www.myonlinetraininghub.com/excel-forum