Version history

Version 1.0
Function Added
   Version 1.1
Bug fix: patterncount replaced with FilterValues to check for non presence of Value in Array
   Version 1.2
Fixed 7+ Support with Middlevalues: contracted first 2 branches as practical result result (value not found) is the same