Address of unique values

Svgmassive

Board Regular
Joined
Nov 2, 2010
Messages
113
Can i get the address on the unique records in a column to use in a range? thanks
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.

Ruddles

Well-known Member
Joined
Aug 24, 2010
Messages
5,792
Office Version
  1. 365
Platform
  1. Windows
Yes. If your value is in C1 and your lookup table is in column D starting at D1, this will do it:-

Code:
="D"&MATCH(C1,D:D,FALSE)
 

Svgmassive

Board Regular
Joined
Nov 2, 2010
Messages
113
Ruddles
That's not what i am looking for.what I need it to get the address of the unique values in a column.It should the first item of the unique values.
 

Svgmassive

Board Regular
Joined
Nov 2, 2010
Messages
113
ok i am half way there i am trying to get the address of the unique value i have done an advance filter and added a formula to columns that has the address no how do i get put the addresses(values) in Range("Z5:Z6") in to a range without looping through the cells.Thanks
this is a copy of where i am at.i have not included all of the cells.i
Sub Macro2()

Range("F4:F7").AdvancedFilter Action:=xlFilterCopy, CopyToRange:=Range( _
"X4:X7"), Unique:=True

With Range("Z5:Z6")
.FormulaR1C1 = "=ADDRESS(MATCH(RC[-2],C[-20],0),6)"
End With
End Sub
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,893
Messages
5,834,272
Members
430,273
Latest member
Windrunner

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
Top