Extract a list of unique values from a range
=UNIQUE(FILTER(FLATTEN(range),FLATTEN(range)<>""))
This function simplifies creating a clean, deduplicated list of unique values from any given cell range. Often in spreadsheets, data spans across multiple columns and rows, which can lead to duplicates or blank cells that clutter the dataset. DEDUPE_LIST
quickly compiles only the unique entries, removing any blanks for a concise list of distinct values. To use the DEDUPE_LIST
function, provide a cell range containing your data. This function will return a single-column list of unique, non-blank values, flattening any multi-column range into a single set of results.
Function name: DEDUPE_LIST
Function description: Extract a list of unique values from a range
Argument placeholders: range
Formula definition: =UNIQUE(FILTER(FLATTEN(range),FLATTEN(range)<>""))
Argument description (range): The range of values to deduplicate
Argument example (range): A2:B30
Named functions enable the creation of custom, reusable formulas that mimic built-in functions, streamlining calculations and data manipulations. These functions simplify complex formulas, making spreadsheets more readable and less prone to errors. By encapsulating intricate logic within a single function call, they enhance consistency across your data. Utilizing named functions reduces the need to write lengthy formulas repeatedly, thereby improving workflow efficiency and productivity in data analysis and management.
Follow these simple steps to download and import the function into your spreadsheet. This method is the quickest and easiest way to add the named function to your Google Sheets document, but will not include the argument description and examples:
Once added, the function will be ready to use in your document like any other built-in function. Simply type the function name and provide the required inputs to use it in your calculations.
Follow these simple steps to integrate the function into your spreadsheet:
Once added, the function will be ready to use in your document like any other built-in function. Simply type the function name and provide the required inputs to use it in your calculations.
Copyright © 2024 Keshia Rose. All rights reserved for website content. Individual functions are available under an MIT License.
This site is not associated with or endorsed by Google.