Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 49956

Vba: Using Countifs for Calculating " < " Percentage

$
0
0
Hello,

I would like to use Countifs to count number of occurences >50% and the following does not give any error message but no right answer either. can i get some help ?

Note: the 16th Column has values in Percentage.

Code:

thold=50
Uname="ABC"
Application.WorksheetFunction.CountIfs(Range(Cells(1, 2), Cells(10000, 2)), Uname, Range(Cells(1, 16), Cells(10000, 16)), "" < "" & thold)


Viewing all articles
Browse latest Browse all 49956

Trending Articles