LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 41
Default Convert State abbreviations color coded cell

Hi Luke...i'm still trying to figure this out. If I make a lokup table
w/state abr in one collumn and zone in the adjacent what is in the third
column? I noticed that the formula example below contains rows g, h and I.
also, am i setting up my conditional format options based on the zone numbers
1-4 or on a range of state names contained within a zone? wasn't sure by what
you meant when you said A1 is the cell the format is applied to. Is A1 the
first state name of the fifty states that have yet to be color coded? Thanks

"Luke M" wrote:

To expand on Gary's reply, you conditional format would be

Formula is: =IF(VLOOKUP(A1,$G$1:$I$50,3,FALSE)=1,TRUE,FALSE)

Where A1 is the cell the format is appied to, and G1:I50 is your vloopup
table.

Also, conditional formats have a limit of 3. (annoying) You could get around
this by making the default background one of the colors you want. Then the
conditional format will change all the others.
--
Best Regards,

Luke M


"Gary''s Student" wrote:

Normally you could create a lookup table with state abreviation in one column
and zone in the adjacent column. You caould then apply conditional
formatting based upon a simple VLOOKUP equation.

Problem is that some states are in two zones. States like:

Idaho
Kansas
Kentucky
etc.
--
Gary''s Student - gsnu200760


"exceluser" wrote:

I would like to take fifty state abbreviations, divide into 4 times zones
each with each zone (with multiple states) having its own color. For example,
anytime Excel sees CA,NV,OR,WA it colors the cells red. If it sees TX, OK,
MO, AL, WI etc it colors the cells green. Yellow for east coast, etc. The
only way I could figure to do this was to convert the text to numbers then
use conditional formatting but didn't see a function that would work on state
abbreviations. Thank you

 
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
state abbreviations gls858 New Users to Excel 7 June 20th 07 09:34 PM
Converting State Names to State Abbreviations aznate Excel Discussion (Misc queries) 1 October 20th 06 06:52 AM
create a list box in one cell of state abbreviations spitcher Excel Worksheet Functions 1 March 27th 06 11:01 AM
US State Abbreviations List DTTODGG New Users to Excel 1 November 16th 05 01:36 PM
Color Coded cell references. Deb Excel Discussion (Misc queries) 1 May 28th 05 10:13 AM


All times are GMT +1. The time now is 10:53 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"