Could the attached patch be the helppatch of Select (Value)?
Select (Value) help.v4p (8.6 kB)
thanks, added that slightly modified.