Thank you Glen for consolidating the formula. I didn't even notice that it could be a range instead of 3 individual cells.