Extract a list of unique values from a range
=UNIQUE(TOCOL(range, 1))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.
Use the inputs below to create DEDUPE_LIST as a reusable custom function in Google Sheets.
Learn how to add custom functions to Google SheetsDEDUPE_LIST
Extract a list of unique values from a range
=UNIQUE(TOCOL(range, 1))
range
The range of values to deduplicate
A2:B30
Other functions in the same category: List & Array Operations
Compare two ranges and list the elements that are in the first but not in the second
Returns the first non-blank value in a range
Return the top N items ranked by scores
Return the botttom N items ranked by scores
Concatenates multiple ranges or arrays and removes duplicates
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.
Download and import — fastest way to add the function but does not include argument descriptions and examples
Follow these simple steps to download and import a 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.
Copy and paste — copy and paste each property one at a time
Follow these simple steps to integrate a custom named 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.