I have a database which have data of various Quarters. Now I want a formula to get a top ten values of selected Quarter. User has a cell where he can select quarter and that cell is linked to formula. I have tried to did it with If and rank but couldn't do it as excel dont accepts more then 8 if in a formula. Need suggestions. 