Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I am trying to write a function which takes a range and returns the frequency of a data in it. the function is :- function freq ( q as variant , datarange as range) count = 0 for i = 1 to datarange.rows.count if datarange.cells(i,1). value = q then count= count+1 next i freq = count end function this is not working, can any one suggest what is the prob. I just learning VBA for excel . is there any site where i can find tutorial for these, (I have experience of C.) and a ebook to learn VBA for excel. Thanks Sourav |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Why input range contains non-numeric data? | Excel Discussion (Misc queries) | |||
Define variable range input for SUM() function | Excel Worksheet Functions | |||
Why does a simple frequency distribution count out of range data? | Excel Worksheet Functions | |||
How can I run a spreasheet over range of input data ? | Excel Discussion (Misc queries) | |||
How can I set a input range for entrying data. | Excel Worksheet Functions |