I need the formula to find the element in a number array that meets the condition I specify then redims the array to exclude that number for the next loop (next detail line). Can anyone help me?