I need to sort through thousands of strings to classify them as citations for books, journal articles, or internet based sources.
The final formula in column F in the worksheet attached is supposed to classify the string as "Book" if "Ed." was found in the String in Column A, "Journal Article" if one or more of the numbers (0-9) were found in the substring in Column D, "Internet" if "http" (but no number) was found next to the colon. If no numbers were found next to the colon, and no http was found either, it was to be called "Other."
As you can in the attachment, the classification seems to be going well until it encounters Row #15. This is actually a journal article, but is classified as "Other." This is perhaps because, apart from the numbers next to the colon, there also are some alpha characters ("ds"), but I don't understand why this should matter.
Bookmarks