Quantcast
Channel: OSIsoft Users Community
Viewing all articles
Browse latest Browse all 1120

Count how many tags in a group are in a certain mode (Digital Tags)

$
0
0

Looking for a way to count the number of tags in a state of "TRIP" at any given time (current by default).

 

 

Tag1 TRIP Tag2 TRIP Tag3 TRIP Tag4 TRIP Tag5 OK Tag6 OK Tag7 OK Tag8 TRIP Tag9 OK Tag10 OK Tag11 OK Tag12 OK Tag13 OK Tag14 TRIP Tag15 OK

'=COUNTIF(H46:H60,"TRIP") 

Results: 6

 

I can do it in Excel with a COUNTIF, but not wanting an imbedded Excel object.

 

There will be several groups of about 75 tags, so not really wanting to use:

(if Tag1="TRIP",1,0)+(if Tag2="TRIP",1,0)+.....

 

Would prefer using a Performance Equation or PI Calc.


Viewing all articles
Browse latest Browse all 1120

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>