Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am trying to write a function to convert a phone number to state..
Currenly I have using vlookup and it works fine. here is what Im usin now... =VLOOKUP(LEFT(A2,3)*1,State,2,FALSE) State is a named range in a seperate sheet within the workbook. A:A are phone numbers/account numbers like 2015552222 I would like to get rid of the sheet containing the cells i referenc with vlookup and simply build a function with an array that contain all area codes and the states they're in. I also want to write another function that then converts states int sales regions. West, Midwest, East, etc.... I have failed horribly at trying to do this... please help. What I doing works now, but i want the functions so it is easier for other not so good with excel to process the data we already have on thei own. Thank -- Message posted from http://www.ExcelForum.com |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
replace state names with state code abbreviations | Excel Worksheet Functions | |||
Associating a STATE or TIME with a phone number | Excel Worksheet Functions | |||
How can I show state-by-state data (as silos) on a map of NA | Charts and Charting in Excel | |||
auto fill state and city from phone number? | Excel Discussion (Misc queries) | |||
How to convert phone area-code to state name and time zone | Excel Discussion (Misc queries) |