I have what seems like a simple requirement, but I cannot achieve the desired result. My data is very large, so I just show a screenshot: 
I want: if ps2c$ps == present2$pn then ps2c$sf == present2$sf .
If itβs not clear, for every ps2c$ps there is present2$pn (present2 is just average data).
source share