Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi all,
I would like to get a count of all non empty "records" (range of Ax:Px) and tried to use this code, but it keeps returning 32767...is this the correct way? intRow = 2 RecordCount = 0 For i = intRow To Rows.Count If Sheet2.Range("A" & intRow & ":P" & intRow).Value < "" Then RecordCount = RecordCount + 1 Else Exit For End If Next Thank you Cindi |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Create Pivot Table Data with Column "Sum" rather than "count" defa | Excel Discussion (Misc queries) | |||
Pivot tables - how do I change default from "count of" to "sum of" | Excel Worksheet Functions | |||
Count(if(A3:A200)="100000" if (B3:B200="Y") and (C3:C200=Z))) | Excel Discussion (Misc queries) | |||
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next | New Users to Excel | |||
count of records with 2 or more "options" selected | Excel Worksheet Functions |