Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi Everyone,
I have a following formula in D1 "=IF(COUNTIF($A$1:$B$20,A1)=1,A1,"")" but the problem I just want enter in a cell in a sequence, if the value is udplicated then look for the next cell. I tried folling but I think I`m completely wrong, because the code is not working:) Dim x, n Dim ncell For n = 1 To 19 ncell = Sheet2.Range("b" & n) x = Application.WorksheetFunction.CountIf(Sheet1.Range ("a1:b10"), ncell) If x = 1 Then Sheet2.Range("d" & n) = Sheet2.Range("b" & n) n = n + 1 End If Next can anyone help me? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
List of values | Excel Discussion (Misc queries) | |||
Referencing a specific number to more general values in a table. | Excel Worksheet Functions | |||
values not appearing in autofilter list | Excel Discussion (Misc queries) | |||
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) | Excel Worksheet Functions | |||
Keeping a cell value constant trhoughout a list of values | Excel Worksheet Functions |