Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi solo_razor,
You can use the 'Correl' function. If two rows are the same then it returns '1'. Something like this: Dim RCorr,NumOfSameRows as integer RCorr = Application.WorksheetFunction.Correl(Rows(i), Rows(p)) If RCorr = 1 Then NumOfSameRows = NumOfSameRows + 1 End If ------------------------------------------------ ~~ Message posted from http://www.ExcelTip.com/ ~~ View and post usenet messages directly from http://www.ExcelForum.com/ |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
when I had text in the rows it returned #DIV/0
Just for information. -- Regards, Tom Ogilvy "zantor" wrote in message ... Hi solo_razor, You can use the 'Correl' function. If two rows are the same then it returns '1'. Something like this: Dim RCorr,NumOfSameRows as integer RCorr = Application.WorksheetFunction.Correl(Rows(i), Rows(p)) If RCorr = 1 Then NumOfSameRows = NumOfSameRows + 1 End If ------------------------------------------------ ~~ Message posted from http://www.ExcelTip.com/ ~~ View and post usenet messages directly from http://www.ExcelForum.com/ |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Subordinate entities in Organizational Chart | Charts and Charting in Excel | |||
Counting values in one cell based on values in another | Excel Discussion (Misc queries) | |||
need chart that displays overlap/duplication between two entities | Charts and Charting in Excel | |||
counting rows with same values for multiple values | New Users to Excel | |||
Counting rows, then counting values. | Excel Discussion (Misc queries) |