+ Reply to Thread
Results 1 to 7 of 7

INDEX/MATCH combination or VLOOKUP to overcome max character limit

  1. #1
    Registered User
    Join Date
    02-09-2019
    Location
    India
    MS-Off Ver
    Office 2019
    Posts
    9

    INDEX/MATCH combination or VLOOKUP to overcome max character limit

    Hi Everyone

    I have a spreadhseet (can use excel 2019 if needed) with 2 tabs, Sheet1 contain "search link" in column A and column B contain "ID Number"
    docs.google.com/spreadsheets/d/1iflvQaYTHyxZYjAaIUQE4as3qhPiyt0bjszPEdHyNTk/edit#gid=272903372
    Sorry for bypassing limit for new user but I am not allowed to post images either

    Now on second tab "Sheet 2" I need to find ID numbers in column B if i give data in column A. This works perfectly fine when I use simple vlookup or Index match function when lookup value is not a "search link"
    =INDEX(Sheet1!B:B,MATCH(Sheet2!A2,Sheet1!A:A,0))
    OR
    =VLOOKUP(A2,Sheet1!A$2:B$42521,2,0)

    Please help, Its just a sample and I'll have to work with big database of links and match them with ID numbers
    Any help will be appreciated

    Second query if first is solved:-

    What if I add more data fields in sheet 1 and want to retrieve them in corresponding columns in sheet 2
    e.g add "Sales Rep", "Comment","Opportunity?" etc... and want to get those details in sheet 2 by looking up data in column A "Search Link"
    =VLOOKUP($A2,Sheet1!$2:$1048576,COLUMNS($B2:B2)+1,0)
    I've used this formula and just drag to right side to copy formula and it works perfectly fine but not with search link as input. So I am stuck here as well

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,237

    Re: INDEX/MATCH combination or VLOOKUP to overcome max character limit

    You've posted in the non-Excel section - what platform are you using?

    Will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one and nobody wants to have to recreate your data from scratch.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired results are also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    02-09-2019
    Location
    India
    MS-Off Ver
    Office 2019
    Posts
    9

    Re: INDEX/MATCH combination or VLOOKUP to overcome max character limit

    Thanks for the reply, I agree that no one should work from scratch so here is the excel sheet that contain formula and link to spreadsheet along with the desired result in row 2.
    I would like to work on Google spreadsheet but if there is a problem in getting desired result then I don't mind working on excel

    I tried vlookup formula on spreadsheet and it worked but doesn't help with second question

    Let me know if that helps you need more info
    Attached Files Attached Files

  4. #4
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,901

    Re: INDEX/MATCH combination or VLOOKUP to overcome max character limit

    In Excel you can use:

    =IFERROR(LOOKUP(2,1/($A2=Sheet1!$A$2:$A$100),Sheet1!B$2:B$100),"")
    Rory

  5. #5
    Registered User
    Join Date
    02-09-2019
    Location
    India
    MS-Off Ver
    Office 2019
    Posts
    9

    Re: INDEX/MATCH combination or VLOOKUP to overcome max character limit

    Amazing "rorya" Exactly what I needed. Thanks a lot

    Sorry can't tag you due to forum limitations for new user

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,237

    Re: INDEX/MATCH combination or VLOOKUP to overcome max character limit

    Tagging isn't supported, but you can give Rorya some rep if you wish - star below his profile name.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

  7. #7
    Registered User
    Join Date
    02-09-2019
    Location
    India
    MS-Off Ver
    Office 2019
    Posts
    9

    Re: INDEX/MATCH combination or VLOOKUP to overcome max character limit

    I did try to give Rep but don't see anything? Marking this thread as solved

+ 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. Combination of AVERAGE with VLOOKUP and MATCH, INDEX?
    By vindigator in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-14-2014, 06:27 AM
  2. Replies: 1
    Last Post: 03-06-2014, 03:58 PM
  3. Replies: 1
    Last Post: 03-11-2013, 05:09 PM
  4. How to overcome Application.Caller 30 character limit
    By Wizz in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-13-2012, 10:23 AM
  5. Replies: 1
    Last Post: 07-13-2011, 09:22 AM
  6. Overcome Nested IF formula limit
    By Robotacha2010 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-06-2011, 05:10 PM
  7. Replies: 3
    Last Post: 09-23-2009, 06:27 AM

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