Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sub FindLastDuplicate()
dim lastrow = cells(rows.count,1).End(xlup).row for i = lastrow to 2 step -1 if application.countif(Range("A:A"),cells(i,1)) 1 Then Range("B1").Value = cells(i,1) exit sub end if Next End Sub Would be a code approach. Are you looking for a formula instead? -- Regards, Tom Ogilvy " wrote: How do I find last duplicate value in Column A and put it in a cell B1? Appreciate all help |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to find duplicate cells in Column a & retrieve column B | Excel Discussion (Misc queries) | |||
FIND DUPLICATE TEXT IN A COLUMN!!!!!!!!! | Excel Discussion (Misc queries) | |||
How can I find duplicate numbers within a column? | Excel Worksheet Functions | |||
find duplicate numbers in a column? | Excel Discussion (Misc queries) | |||
Find Duplicate Entries by Column | Excel Programming |