Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am trying to figure out how to structure some code to be able ot count
unique numbers, all in Column H, for about 4000+ rows, and place the count of the unique numbers in the first blanks space under each 'array' of numbers (some unique and some dupes), in Column H. The code may be similar to this...not exactly sure... Dim lastrow as long For each blank in Range("H2:H4000").Select lastrow = .Cells(.Rows.Count, "H").End(xlUp).Row ..Cells(lastrow, "H").Activate ActiveCell.FormulaR1C1 = "=count(1/FREQUENCY(r2c:r[-1]c)" Next blank I am assuming uniques can be counted with this function: =COUNT(1/FREQUENCY(H2:H4000,H2:H4000)) Any thoughts on this? Thanks so much, Ryan--- -- RyGuy |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
count uniques anomaly | Excel Worksheet Functions | |||
count uniques in same column, post in blank cell, repeat until end ofspreadsheet | Excel Programming | |||
Count Uniques in Column, put result in next blank cell andcontinue until last row | Excel Programming | |||
Count Uniques in Column, put result in next blank cell and continu | Excel Programming | |||
Count Uniques within a list based on value of cell... | Excel Discussion (Misc queries) |