2 Attachment(s)
Count Rows EntireColum one Shot in VBA CountA IsNumber, IsEmpty, Istext, HasFormulas
Hi, Mancubus, AussieBear, and Partners!
New Subject: Count Rows EntireColum one Shot in VBA CountA IsNumber, IsEmpty, Istext, HasFormulas
i am trying use CountA( ), Count(), CountIF(), and SpreadsheetFunctions in VBA editor to count Rows of EntireColumn in OneShot to
determine quantity of rows with this values, without looping, one shot.
my tests not works.
i am close the previous thread without solve all problems but solve the initial subjects keyowrds.
i am open new thread to solve other subjects keywords.
Only this subject not working in the sample file, the other all code of macro runs fine.
iam put here below the new sample file with new progress and working!
thank you very mutch!
in this link i found the below code "https://exceljet.net/formula/count-cells-that-contain-text"
HTML Code:
You can also use SUMPRODUCT to count text values along with the function ISTEXT like so:=SUMPRODUCT(--ISTEXT(rng))
The double hyphen (called a double unary) coerces the result of ISTEXT from a logical value of TRUE or FALSE, to 1's and 0's. SUMPRODUCT then sums these values together to get a result.
sample file below
Attachment 17514
Attachment 17513