Author |
Topic  |
|
53945
Austria
1 Posts |
Posted - 03/27/2002 : 11:43:36 AM
|
Hello, I need the order in Lab talk, who make the same how the excel-order "countif" for count number codes (example: "6/ 10/ 12/ ") |
|
CStorey
Canada
137 Posts |
Posted - 03/28/2002 : 12:25:58 PM
|
From the Excel documentation:
COUNTIF(range,criteria)
Range is the range of cells from which you want to count cells.
Criteria is the criteria in the form of a number, expression, or text that defines which cells will be counted. For example, criteria can be expressed as 32, "32", ">32", "apples".
So if I understand you are looking for a command to search for all values in a column/selection that match a number? There is no duplicate function to countif in LabTalk, but you can easily write one yourself. The limit command as well as the wks.cx and wks.rx (x=1,2) objects in LabTalk will be useful to you. In version 7.0 you could make write an OriginC funtion to simulate the countif function.
Hope this helps.
Craig Storey Origin WebRing Member - http://g.webring.com/hub?ring=originwebring |
 |
|
|
Topic  |
|
|
|