+ Reply to Thread
Results 1 to 3 of 3

Field lookup and mapping to create URL

  1. #1
    Registered User
    Join Date
    02-16-2010
    Location
    Mundelein, IL
    MS-Off Ver
    Excel 2007
    Posts
    2

    Question Field lookup and mapping to create URL

    Hi,

    Pretty familiar with using Excel for the basics, but need some help doing some mapping to create a new field.

    What I want to create is a new field at the end of each Excel record containing a URL in the following format: http://www.mywebsite.com/Shared/Region/State/12345-license.pdf

    12345 - is a code contained in column B. Just need to know the syntax for referencing it.
    State - we want the spelled out name, but we only have the two-character abbreviation in column H. So if column H contains CT, we want to put 'Connecticut' in the URL in the last column.
    Region - is based on state. Valid values are Midwest, West, South, Northeast. I need to do a lookup on the state to determine which region to list in the URL.

    Any suggestions would be greatly appreciated. Thanks in advance!

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Field lookup and mapping to create URL

    Assuming you want the URL to be a live link, see the HYPERLINK function.

    Regards State/Region - setup a reference table with 2 char codes in Col A, full name in B and Region in C.

    You can conduct two VLOOKUPs off the 2 char code state code to retrieve description & region and embed these into your HYPERLINK function.

    Assume your lookup table is on a new sheet called STATEDATA and on the current sheet state code is in H2, code is in B2 with URL to go into I2:

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    02-16-2010
    Location
    Mundelein, IL
    MS-Off Ver
    Excel 2007
    Posts
    2

    Thumbs up Re: Field lookup and mapping to create URL

    Thank you so much for your quick response! I tried this out and it works perfectly. Your solution was very easy to follow and implement.

    You rock!

+ Reply to Thread

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