你所要求的这个功能在excel中一般应该无法实现。也许可以用vba编写个小程序试试。
http://wenku.baidu.com/view/2f87c36a25c52cc58bd6befb.html
用筛选!