Yes,both these solutions work.Thank you. I have a related question. I want to create an IF statement to print True if the largest of the six cells is more than 5 times the second largest,otherwise print false.