I have a series that, on purpose, contains a couple of "NA"s.
I need to extract the numerical value from series A if series B assumes the smallest value. This value in turn should be assigned to a scalar. I though of something like this
Code: Select all
if B=@minsby(B,identifier) then
scalar=A
endif
