Hosted by Dailymotion. For legal issues report at the Copyright Center, report us on DMC, or use the Instant Removal tool.
FILTER() to extract text and numbers from dataset - Excel Tips and Tricks
15 Views • May 27, 2025
Description
Extract numeric values from dataset
=FILTER(D2:D18,ISNUMBER(--D2:D18))
The "--" operator is known as the double unary operator. It is used to convert the values in the range D2:D18 to numbers, which can then be evaluated by the ISNUMBER function.
Extract text from dataset
=FILTER(D2:D18,ISTEXT(D2:D18)*ISERR(--D2:D18))
Lets look at the second argument of the FILTER() function.
The formula ISTEXT(D2:D18)*ISERR(--D2:D18) is an array formula that checks a range of cells D2:D18 for cells that contain text values and are not numbers.
The ISTEXT function checks whether each cell in the range contains text and returns an array of TRUE or FALSE values.
The ISERR function checks whether each cell in the range, converted to a number by the double unary operator (--), results in an error value (such as #VALUE!, #REF!, etc.), and returns an array of TRUE or FALSE values.
The multiplication operator (*) performs an element-wise multiplication of the two arrays of TRUE or FALSE values, resulting in an array of TRUE or FALSE values. The resulting array will contain TRUE values only for cells that meet both of the conditions.
The cell contains text (i.e., ISTEXT returns TRUE)
The cell is not a numeric value (i.e., ISERR returns TRUE)
In other words, the formula is checking for cells in the range D2:D18 that are text values and not numbers, and returns an array of TRUE or FALSE values corresponding to each cell in the range. This type of formula can be used to filter or count cells that meet specific criteria.
FILTER() to extract text and numbers from dataset,How do I extract numbers from text and numbers in Excel?,How do I separate data in Excel based on criteria?,How do I extract text from a filter in Excel?,
excel extract number from mixed text,excel nested filter function,excel filter function multiple criteria,excel filter function multiple values,excel extract number from text in cell,excel filter function multiple columns,how to filter cells containing specific text in excel,
excel extract number from mixed text,excel nested filter function,excel filter function multiple criteria,excel filter function multiple values,excel extract number from text in cell,excel filter function multiple columns,
More from User
Create Interactive Candlestick Charts in Excel with dynamic ticker - Excel Tips and Tricks
ExcelTips247
Create Interactive Candlestick Charts in Excel - Excel Tips and Tricks
ExcelTips247
Create Interactive Candlestick Charts in Excel - Excel Tips and Tricks
ExcelTips247
How do you create a choose function in Excel? - Excel Tips and Tricks
ExcelTips247
Finding values that only appear once in column in Excel - Excel Tips and Tricks
ExcelTips247
Custom Sort Rows in Excel - Excel Tips and Tricks
ExcelTips247
Related Videos
Filter Excel to only show certain columns for large dataset - Excel Tips and Tricks
ExcelTips247
Separating Text and Numbers into Columns - Excel Tips and Tricks
ExcelTips247
Separating Text and Numbers into Columns - Excel Tips and Tricks
ExcelTips247
Separating Text and Numbers into Columns In Microsoft 365 - Excel Tips and Tricks
ExcelTips247
Fix text-formatted numbers - Excel Tips and Tricks
ExcelTips247
Group Dataset Real Fast In Excel - Excel Tips and Tricks
ExcelTips247