Results 1 to 5 of 5

How to index/match areas on worksheets?

Threaded View

  1. #1
    Registered User
    Join Date
    04-28-2008
    Posts
    2

    Unhappy How to index/match areas on worksheets?

    Hi all,

    I'm usually rather adept at Excel but not VBA; I think I have an issue that may only be solvable for VBA and would love your input as I'm really quite stuck!!!!

    I've trawled the net looking for solutions, but everything works the wrong way round (as explained below)



    I have two worksheets, "W_MasterArea" and "W_SubAreas"

    "W_MasterArea"
    ------------------

    "W_MasterArea" col A contains a list of "master area" entries in Column A

    ARegion
    My_Region
    Region4
    Another_Local_Area
    The_Place_Around_The_Corner

    I've no control over the length of this data, the number of sections (i.e. one, two, three or more hyphens) etc

    "W_MasterArea" col B contains the name a person who looks after Col B (a "Rep"):

    Steve
    Dan
    Malcolm
    Robin
    Terry

    -----------------


    "W_SubAreas"
    ----------------
    "W_SubAreas" contains a list of sub-areas, based on those in "W_MasterArea"

    e.g.

    AA_My_Region_1
    AA_My_Region_2
    B_My_Area_aaa
    C_My_Area_aab_a1
    EEE_12_The_Area_Around_The_Corner_1_2_AA_cde

    In this SECOND worksheet, for each row, I need to scan through each "Master Area" and, if any Master_Area forms part of the "sub_area", display the name of the person looking after that area....


    I've attached a spreadsheet showing this - it's column B on W_SubAreas that I need to populate....



    My issue is that everything I've seen would allow me to populate column B on W_MasterArea from column B on W_SubAreas, but not vice versa.....

    Any help would be HUGELY appreciated as currently I'm having to do this manually and the fact that I can't come up with a solution is driving me nuts...!!!
    Attached Files Attached Files
    Last edited by foggy1974; 04-28-2008 at 11:40 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1