Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default Refining a list of states into simple territories

In Column A I have a list of states by their abbreviations (e.g. AL, NC, SC,
TN, WV, FL, MS, etc) and I want to be able to refine this list into 3
different territories (e.g. North, South, East). For example AL and FL are in
the South, NC, SC, WV are in the North and TN and MS are in the South.
I am trying to create a formula that when I highlight A1 (which says FL) B1
will return "South".
Any help would be appreciated
Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default Refining a list of states into simple territories

Hi,
Take a look to Debra Web

http://www.contextures.com/xlDataVal02.html#TwoWord

If this was helpful please say yes. Thank you

"phd4212" wrote:

In Column A I have a list of states by their abbreviations (e.g. AL, NC, SC,
TN, WV, FL, MS, etc) and I want to be able to refine this list into 3
different territories (e.g. North, South, East). For example AL and FL are in
the South, NC, SC, WV are in the North and TN and MS are in the South.
I am trying to create a formula that when I highlight A1 (which says FL) B1
will return "South".
Any help would be appreciated
Thanks

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Refining a list of states into simple territories

This requires the use of LOOKUP.
Create a seperate reference table (in the same worksheet is easiest), with a
state column and a territory column.
Then put a lookup formula in the cell where you want the result.
The LOOKUP formula will need a "lookup_value" -- the state in the main table
a "lookup_vector" -- the state
in the ref table
and a "result_vector" -- the terr in
the ref table


"phd4212" wrote:

In Column A I have a list of states by their abbreviations (e.g. AL, NC, SC,
TN, WV, FL, MS, etc) and I want to be able to refine this list into 3
different territories (e.g. North, South, East). For example AL and FL are in
the South, NC, SC, WV are in the North and TN and MS are in the South.
I am trying to create a formula that when I highlight A1 (which says FL) B1
will return "South".
Any help would be appreciated
Thanks

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default Refining a list of states into simple territories

Define three Named Ranges (North, South, and East) with each state in one of
the 3 Named Ranges. Make three lists of the state abbreviations and then use
menu below to define these ranges

menu Insert - Names - Defined


then use a formula like this to get your results. A1 contains the
abbreviation you want to look up

=IF(COUNTIF(North,A1)0,"North",IF(COUNTIF(South,A 1)0,"South","East"))


"phd4212" wrote:

In Column A I have a list of states by their abbreviations (e.g. AL, NC, SC,
TN, WV, FL, MS, etc) and I want to be able to refine this list into 3
different territories (e.g. North, South, East). For example AL and FL are in
the South, NC, SC, WV are in the North and TN and MS are in the South.
I am trying to create a formula that when I highlight A1 (which says FL) B1
will return "South".
Any help would be appreciated
Thanks

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 82
Default Refining a list of states into simple territories

On Feb 23, 7:54*pm, phd4212 wrote:
In Column A I have a list of states by their abbreviations (e.g. AL, NC, SC,
TN, WV, FL, MS, etc) and I want to be able to refine this list into 3
different territories (e.g. North, South, East). For example AL and FL are in
the South, NC, SC, WV are in the North and TN and MS are in the South.
I am trying to create a formula that when I highlight A1 (which says FL) B1
will return "South".
Any help would be appreciated
Thanks


First you have to construct your criteria table, which says which
state belong to which category. Then you you can use a lookup function
to pool out the criteria from that table.


  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default Refining a list of states into simple territories

I think this is the best way for me to go, but when I try to apply the named
range it always says that it cannot find any references. Is this because I do
not have a formula in this reference. Since I cannot apply the array, an
error returns when I apply this formula. Thanks for the help thusfar.

"Joel" wrote:

Define three Named Ranges (North, South, and East) with each state in one of
the 3 Named Ranges. Make three lists of the state abbreviations and then use
menu below to define these ranges

menu Insert - Names - Defined


then use a formula like this to get your results. A1 contains the
abbreviation you want to look up

=IF(COUNTIF(North,A1)0,"North",IF(COUNTIF(South,A 1)0,"South","East"))


"phd4212" wrote:

In Column A I have a list of states by their abbreviations (e.g. AL, NC, SC,
TN, WV, FL, MS, etc) and I want to be able to refine this list into 3
different territories (e.g. North, South, East). For example AL and FL are in
the South, NC, SC, WV are in the North and TN and MS are in the South.
I am trying to create a formula that when I highlight A1 (which says FL) B1
will return "South".
Any help would be appreciated
Thanks

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
Help refining sumproduct Anto111 Excel Discussion (Misc queries) 2 July 13th 08 02:38 PM
Display Excel 2007 data by states using United States (US) map Beach Lover Excel Discussion (Misc queries) 0 March 24th 08 03:04 PM
Refining Countif asg2307 Excel Discussion (Misc queries) 5 February 14th 06 07:16 PM
How to Sort Customer List with Specific States SeaTiger New Users to Excel 4 February 8th 06 02:02 AM
Best way to forecast individual sales territories? Bill_S Excel Discussion (Misc queries) 0 February 3rd 05 02:29 PM


All times are GMT +1. The time now is 05:36 PM.

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

About Us

"It's about Microsoft Excel"