Ravi, thanks, think spoke too soon, what if the value to compare is not on the same line .
ex: col1=1 and col2=2 on same line, but 2 is found on 2nd line in col1
| makeresults
| eval col1=1, col2=2
| append
[| makeresults
| eval col1=2, col2=1.1]
| append
[| makeresults
| eval col1=3, col2=3]
| eval compare = if(col1==col2,"true","false")
| eval test = if(compare=="true",col1,col2)
... View more