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

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
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)
 
Upvote 0
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.
 
Upvote 0
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
 
Upvote 0

Forum statistics

Threads
1,214,832
Messages
6,121,845
Members
449,051
Latest member
excelquestion515

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