Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On Tue, 9 Dec 2003 21:49:00 -0800, "Chris Bruno" wrote:
--------------------------- SAMPLE SHEET --------------------------- ORGANIZATION | ADDRESS | Franklin County DJFS |123 E. Main St. Columbus,OH| Madison County DJFS |123 S. Lucas St. London, OH| Guernsey County DJFS |4442 E 33rd St. Blahblah,OH| I am trying to assign each entry to 1 of 8 regions based on the county named in COL A. Is there a way (I tried using [IF(FIND(OR("text","text"),A2)=1,"...] to search for one of multiple strings within a string? For example 'Franklin' and 'Madison' are both assigned to the 'Central Ohio RTC' and 'Guernsey' is 'East Central RTC', etc. Any assistance would be GREATLY appreciated. Thanks, Chris Set up a table matching Counties and regions: County Region Franklin Central Ohio RTC Madison Central Ohio RTC Guernsey East Central RTC Name the table RegionTable Now, I am assuming you always enter the ORGANIZATION with the name of the County first, followed by a <space. This formula will return the region: =VLOOKUP(LEFT(A2,FIND(" ",A2)-1),RegionTable,2,FALSE) --ron |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
sumif function in excel for multiple conditions instead of one | Excel Worksheet Functions | |||
Multiple Logical Conditions With Date and String Comparison Not wo | Excel Worksheet Functions | |||
multiple conditions with IF function. | Excel Worksheet Functions | |||
multiple conditions in COUNTIF (Excel 2000) | Excel Discussion (Misc queries) | |||
Sum with multiple conditions in Excel 2000 | Excel Worksheet Functions |