Change lookup to match/lookup function

Posted on 2011-10-05
Last Modified: 2012-05-12

I have a vlookup

=VLOOKUP('T-2'!AE2,'Raw Data'!AE:AI,5,0)

I want to change this to a match/lookup

So i would like it to match AE2 from Tab "T-2" into Col AE in tab "Raw Data" and once found, return the value from the adjacent column AI in raw data

Question by:Seamus2626
    LVL 85

    Expert Comment

    by:Rory Archibald
    Not sure I understand - that's what your formula does.
    LVL 5

    Assisted Solution

    May want to script it but if just want an Excel formula:


    This assumes a table in another sheet has the data.  What is says is return the info in row from column C looking for data matching D3 of the active worksheet to column B in the table worksheet.
    LVL 85

    Expert Comment

    by:Rory Archibald
    If you want it as an INDEX/MATCH then it's:

    =INDEX('Raw Data'!AI:AI,MATCH('T-2'!AE2,'Raw Data'!AE:AE,0))

    Author Comment

    Hey Rory i attached a spreadsheet where you can see in tab Raw Data i am looking at AE2 in T-2, seeing can i find it in Raw Data and returning Col AI.

    What i want to do though is start at AE2 in T-2, and match into Raw Data, then return the Col AI

    The point of the exercise is to see if a reference exists in T-2 and then exists in Raw Data, has  Col AI (Area) changed

    LVL 85

    Accepted Solution

    Still no idea what it is you want as your spreadsheet already does what I think you are describing.

    Author Closing Comment

    This is true, the lookup was already achieving what i wanted. Back to the drawing board....

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Suggested Solutions

    I've recently been in need of an Excel macro that could add a letter before the text on multiple cells in an Excel document. My English is as it is, so I will try explain what it does diffrently. If you have an excel document with 2000 rows an…
    Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
    The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
    This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now