ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Help putting cells in different categories (https://www.excelbanter.com/excel-discussion-misc-queries/222253-help-putting-cells-different-categories.html)

phd4212

Help putting cells in different categories
 
Hey,
I have a list of 15 different sources and I need to put them into 5
different categories. I know that I could great a gigantic OR array in my
formula, but I was curious if there was an easier way.
So I have category Customer that includes Request, email and inquiry
Category Company that includes News, Internet, Sales, Phone and Magazine
That is an example of 2 of the 5 categories...any help would be appreciated.
Thanks

Bernie Deitrick

Help putting cells in different categories
 
Make up a list of sources down a column:

Request
email
inquiry
News
Internet
Sales
Phone
Magazine
etc.

Then next to that list, categorize them:

Request Customer
email Customer
inquiry Customer
News Company
Internet Company
Sales Company
Phone Company
Magazine Company
etc. Whatever

And use Vlookup to extract the category, like

=VLOOKUP(A2,Table,2,False)

where table is the address of the list that you just created, say H2:I16, like so:

=VLOOKUP(A2,$H$2:$I$16,2,False)

HTH,
Bernie
MS Excel MVP


"phd4212" wrote in message
...
Hey,
I have a list of 15 different sources and I need to put them into 5
different categories. I know that I could great a gigantic OR array in my
formula, but I was curious if there was an easier way.
So I have category Customer that includes Request, email and inquiry
Category Company that includes News, Internet, Sales, Phone and Magazine
That is an example of 2 of the 5 categories...any help would be appreciated.
Thanks





All times are GMT +1. The time now is 03:15 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com