Report question

Question: Is it possible to fill an array with row numbers which match a certain criteria without looping?