Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
nfb nfb is offline
external usenet poster
 
Posts: 1
Default Specific words Categorizaion

Hello there! I have had some experience with excel, but not this early in the development stage of a workbook.

I have been given a task to categorize rows by the specific words that appear in a cell. I have +150K rows to look through.

I have filtered specific words and categorized them. (This is a slow process) But not all words appear. I am looking to make a formula that will use a list to search through that I can update and do this automatically.

There will be 2 different Categories for each row.

If the Column A has "baseball" or "basketball" in it make it the respective category. If both appear, make it “Baseball”.

In the second Category if it has “card” in Column A make it “Primary”, if not make it “Secondary”. If it has a location, add “GEO” to the end. If not, don’t add “GEO”.


Examples

Column A Column B Column C
baseball cards Baseball Primary
baseball basketball Baseball Secondary
basketball cards new york Basketball Primary GEO
basketball new york Basketball Secondary GEO

I understand this will not work for all 150 rows. But it will take care of the common words, leaving the rather difficult words for me to go through.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,522
Default Specific words Categorizaion

On Thursday, March 15, 2012 11:39:07 AM UTC-5, nfb wrote:
Hello there! I have had some experience with excel, but not this early in the development stage of a workbook.

I have been given a task to categorize rows by the specific words that appear in a cell. I have +150K rows to look through.

I have filtered specific words and categorized them. (This is a slow process) But not all words appear. I am looking to make a formula that will use a list to search through that I can update and do this automatically.

There will be 2 different Categories for each row.

If the Column A has "baseball" or "basketball" in it make it the respective category. If both appear, make it “Baseball”.

In the second Category if it has “card” in Column A make it “Primary”, if not make it “Secondary”. If it has a location, add “GEO” to the end. If not, don’t add “GEO”.


Examples

Column A Column B Column C
baseball cards Baseball Primary
baseball basketball Baseball Secondary
basketball cards new york Basketball Primary GEO
basketball new york Basketball Secondary GEO

I understand this will not work for all 150 rows. But it will take care of the common words, leaving the rather difficult words for me to go through..


This could be done with formulas using IF and FIND or SEARCH. Or, I would prefer a looping macro using INSTR

If all else fails, send file to dguillett1 @gmail.com with a complete explanation and this msg.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
borders between 2 specific words pedy Excel Discussion (Misc queries) 0 July 2nd 09 03:09 PM
counting occurrence of specific words in another group of words [email protected] Excel Programming 0 August 5th 06 03:43 AM
Search for specific words Newberry Excel Worksheet Functions 3 July 21st 05 10:18 PM
counting specific words jen Excel Worksheet Functions 2 June 25th 05 12:46 AM
Highlight a row if a specific cell is specific numbers/words sea0221 Excel Worksheet Functions 2 March 9th 05 12:06 AM


All times are GMT +1. The time now is 07:18 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"