Auto Fill Spreadsheet with Vlookup

Posted on 2011-10-31
Last Modified: 2012-05-12
I have attached a sample spreadsheet. I would like the highlighted cells to be filled in with the data from the "DATA" tab.

Everything is in reference to the material number. So if the "Material Number: has data in the cell on sheet 1 I want it to compare it to the data table and fill in all of the corresponding cells

I forgot how to do this. =IF(ISNA(VLOOKUP(... ?????
Question by:zyanj
    LVL 14

    Expert Comment

    It's a little tricky since you have the Item column before the Material column in the data table.  Can you switch those 2 there?  

    If not, you have to find the row, and then pull the item number by reference.  But it's a straight vlookup if you can move the material column in the data table to the beginning.

    Author Comment

    sure, if the column has to be moved over no problem

    Author Comment

    can you fill the vlookup info into the first row for me to get me going, thanks
    LVL 14

    Accepted Solution

    Here's a version where I put in the formulas for those 3 columns, assuming that the format for the data file was static.  This uses a combination of the match & index functions for the first column, and vlookups for the other 2.

    LVL 50

    Expert Comment

    by:barry houdini
    Note that if using Excel 2007 or later you can use IFERROR to shorten those formulas, e.g.


    regards, barry

    Author Comment


    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

    Drop Down List with Unique/Distinct Values (enhancing the Combo-Box with a few steps and a little code) David miller (dlmille) Intro Have you ever created a data validation list from a database field or spreadsheet column (e.g., Zip Codes or Co…
    How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
    The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
    This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

    754 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

    19 Experts available now in Live!

    Get 1:1 Help Now