Excel

TheSmallman.com

an XL ideas Lab

Dashboards VBA
  • Home
  • Dashboards
    • Tips & Tricks
    • Charts
    • Modelling
    • Infographics
    • VBA
  • Shop Dashboards
    • Power Pivot a User Guide
    • Excel Dashboard Course
    • Advanced Dashboard Course
    • Financial Modelling Course
    • Excel VBA Course
  • Blog
  • About
Menu

Excel Dashboards VBA

Street Address
City, State, Zip
Phone Number
an XL ideas Lab

Your Custom Text Here

Excel Dashboards VBA

  • Home
  • Dashboards
  • Excel Tips
    • Tips & Tricks
    • Charts
    • Modelling
    • Infographics
    • VBA
  • Shop Dashboards
  • PowerPivot
    • Power Pivot a User Guide
  • Courses
    • Excel Dashboard Course
    • Advanced Dashboard Course
    • Financial Modelling Course
    • Excel VBA Course
  • Blog
  • About

Excel Unique Formula

September 17, 2022 Marcus Small

Photo by Dan Meyers on Unsplash

The UNIQUE formula has really changed the game in Excel as a way to interrogate a list and return all of the unique items in that list. In the past we could use the pivot table or advanced filter to generate unique items in a list or attempt some quite complex array formula. It is succinct and produces the results in an array very quickly.

Excel Unique formula

The following formula:

=UNIQUE($A$1:$A$13)

This produces the result and the ensuing array range is automatically added so no fill down is required. I have added the header row so department appears at the top. If we wanted the data in ascending order we would leave off the first row and incorporate the SORT formula.

The following formula:

=SORT(UNIQUE($A$2:$A$13))

By default Excel will sort in ascending order. Let’s say for example we wanted to store the list in descending order.

The following formula:

=SORT(UNIQUE($A$2:$A$13),,-1)

To change the data back to ascending the -1 becomes 1.

Sort unique in descending order.

Tags Excel, Unique, Sort
← Project Tracking DashboardHorizontal Range to Vertical Range in Excel →

Featured Posts

Excel Dashboards: Tracking a Crisis

Excel Dashboards: Tracking a Crisis
April 14, 2020

Recent Posts

Populating an Excel Table from a Range of Cells with VBA

Populating an Excel Table from a Range of Cells with VBA June 12, 2025

Fuzzy Distribution with Randbetween

Fuzzy Distribution with Randbetween May 21, 2025

Add Minimum and Maximum for Chart in Cells

Add Minimum and Maximum for Chart in Cells March 12, 2025

Inflation Over Multiple Years in a Single Cell

Inflation Over Multiple Years in a Single Cell January 10, 2025

Hubspot Dashboard

Hubspot Dashboard October 3, 2024

Monthly Dashboard With Supporting Metrics

Monthly Dashboard With Supporting Metrics September 25, 2024

Excel Show Missing Sheet Tabs

Excel Show Missing Sheet Tabs July 29, 2024

Run Macro Overnight Automatically

Run Macro Overnight Automatically June 24, 2024

Split File into Parts and Save to Directory

Split File into Parts and Save to Directory April 20, 2024

Most Popular Author

Most Popular Author December 14, 2023

 

Follow US:

 
 

MarcusSmall@thesmallman.com

 

TheSmallman.com - Making your small systems hum...
© Copyright 2013-2024 theSmallman.com All Rights Reserved.