Unique Function

datauser

New Member
Joined
Sep 4, 2024
Messages
15
Office Version
  1. 365
Platform
  1. Windows
Hi All! I am using a unique function to get a list of unique names from one sheet and inserting them into another sheet, but when I use this function, the last row of my unique function is always 0. Is there a work around to avoid the zero? =UNIQUE(Query2!K:K). the number of rows in my source data will always by dynamic.

Thanks for your help!
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
How about
Excel Formula:
=UNIQUE(tocol(Query2!K:K,1))
But it's best to avoid whole column references.
 
Upvote 0
I did not test this. I was able to figure it out. I named my range, and referenced that named ranged in my formula: =UNIQUE(Query2[''Members''])
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,853
Members
452,361
Latest member
d3ad3y3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top