+ Reply to Thread
Results 1 to 3 of 3

Automated vlookup

  1. #1
    Registered User
    Join Date
    05-29-2014
    Posts
    15

    Post Automated vlookup

    Hello All,

    I am using vlookup function to replace some values from one cell to another. But, I have a huge range of data from which vlookup function should match the value.

    In reference to the screenshot, How can I terminate the function when DMS_ORIG is not 'Birmingham AL CSA'?

    Is it possible to use range $J$2:$N$4777 (end of sheet) and the function will terminate when DMS_ORIG becomes other names than 'Birmingham AL CSA'? And, I want to do the same thing for next section (the section below the box). How can I do that?

    I am attaching my excel file with this thread.
    Capture.jpgExcel_forum.xlsxCapture.jpg


    Thanks.

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Automated vlookup

    Cool. First insert a new column so that you can keep the division consistent throughout the sheet, otherwise you will have to repoint the formula to each division's name.

    In A3, I copied in Birmingham, A79 Mobile, etc. Then selected A3:Axx, hit F5, Special.., select blanks, hit =, hit Up arrow, and hold Ctrl and hit Enter. Instantly fills in all blanks with the headers.

    Now, D3:

    =IFERROR(LOOKUP(2,1/((ISNUMBER(SEARCH($A3,$I$3:$I$4777)))*($K$3:$K$4777=$B3)),M$3:M$4777),"0")

    and copy over and down
    Attached Files Attached Files
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  3. #3
    Registered User
    Join Date
    05-29-2014
    Posts
    15

    Re: Automated vlookup

    Thanks daffodil11.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] This is my third question..I want to run vlookup to do comparison and and get it automated
    By mikail in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-16-2013, 07:00 AM
  2. [SOLVED] I need to run vlookup to compare two set of data and i want it to be automated.
    By mikail in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-16-2013, 01:01 AM
  3. How to automated this?
    By Nasri.3900 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-18-2013, 05:15 AM
  4. Automated VLOOKUP from .csv
    By folanstephen in forum Excel General
    Replies: 0
    Last Post: 04-11-2011, 07:23 AM
  5. Excel 2008 : Automated vlookup function
    By thowfeek in forum Excel General
    Replies: 1
    Last Post: 03-20-2011, 01:22 AM

Tags for this Thread

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