=IF(no.<10,"poor",IF(no.<21,"good",IF(no.<30,"excellent","outstanding")))

I assume you have a range named "no." somewhere