+ Reply to Thread
Results 1 to 6 of 6

vlookup or something else ?

  1. #1
    Registered User
    Join Date
    09-24-2013
    Location
    Polska
    MS-Off Ver
    Excel 2010
    Posts
    4

    vlookup or something else ?

    I was wondering. Is there easy way to make in vba new function like vlookup in table2 which finds values from table1 but for each double like "1" in example below result of looking will be next value from table. Also If "1" appear more times in table2 than table1 results will be string "new"


    sampl.jpg

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: vlookup or something else ?

    Hi gtdw and welcome to the forum,

    This takes an Index Match type of formula and also needs a CSE (Control + Shift + Enter) keystroke to confirm the array formula.
    See: http://www.cpearson.com/excel/ArrayFormulas.aspx or http://www.databison.com/excel-array...ray-constants/
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Registered User
    Join Date
    09-24-2013
    Location
    Polska
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: vlookup or something else ?

    thanks for example, I will learn more about index function.

  4. #4
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: vlookup or something else ?

    or maybe so
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    09-24-2013
    Location
    Polska
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: vlookup or something else ?

    works also well but for me as beginner in VBA is way more difficult to understand

    Again thanks a lot.

  6. #6
    Registered User
    Join Date
    09-24-2013
    Location
    Polska
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: vlookup or something else ?

    Can you help me with another issue ? Let's suppose in new table 2 there is another column with fixed value. For double number like "1" if results of searching from table 1 is equal to one of constant value from new column then switch this both results to have to get one pair. I know its sounds complicated but maybe someone will understand
    sample2.png

+ 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. Replies: 0
    Last Post: 12-26-2013, 01:12 PM
  2. Display Cell within VLookup range that excel thinks matches the VLookup Value
    By headachexcelperson in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-04-2013, 04:56 PM
  3. [SOLVED] Vlookup is not working and giving =vlookup(B2,$T$2:$U$135,2,false) this kind of values.
    By yogeshsharma1981 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-09-2013, 04:08 PM
  4. vlookup? match? index? MULTIPLE criteria for vlookup search problem....
    By aborg88 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-11-2013, 09:56 AM
  5. Replies: 5
    Last Post: 07-29-2009, 07:53 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