Newsgroups: microsoft.public.excel.misc
From: Ron Rosenfeld <ronrosenf...@nospam.org>
Date: Mon, 07 Nov 2005 07:39:05 -0500
Local: Mon, Nov 7 2005 11:39 pm
Subject: Re: Sort and exclude certain words
On Sun, 6 Nov 2005 21:57:40 -0600, jds217
<jds217.1y3yty_1131336001.6...@excelforum-nospam.com> wrote: I wonder about your card catalog. For example, is the book "A Tree Grows in >Hi ... >I work in a public library and frequently export lists of books from >My problem in sorting in Excel is this: Our library catalog excludes >Is there any way I can sort on a field in Excel and have it ignore >Thanks! Brooklyn" cataloged under the "A's" or the "T's"? (or both). In any event, there are various methods, all of which involve constructing a If there are just a few words to be excluded, and not much change in the list, If there are a larger number of words, then a more general solution could be =IF(COUNTIF(ListOfWords,LEFT(A1,FIND(" ",A1)-1)), ListOfWords is a range where you have listed all of the first words which you VBA solutions are also available. --ron You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||