Solved

# Excel Update info from another sheet

Posted on 2011-02-11
177 Views
I have one tab that holds my database information and another tab that references it. I need the data on the first tab to automatically fill in the columns to the left based upon the Resource and the Intr# (see spreadsheet)

I believe       =IF(ISNA(VLOOKUP    is what I am looking for but don't know how to do it

Thanks so much
Sample.xls
0
Question by:zyanj
[X]
###### Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

• Help others & share knowledge
• Earn cash & points
• 2
• 2
• 2

LVL 33

Accepted Solution

jppinto earned 500 total points
ID: 34875056
Here you go...please check the attached working example.

jppinto
Sample-1-.xls
0

LVL 30

Expert Comment

ID: 34875060
Paste this in Cell L2

=IF(ISERROR(VLOOKUP(B2,Database!A:H,2,0)),"-",VLOOKUP(B2,Database!A:H,2,0))

M2

=IF(ISERROR(VLOOKUP(B2,Database!A:H,3,0)),"-",VLOOKUP(B2,Database!A:H,3,0))

and so on. Just increase the number so next one will be 4

Sid
0

LVL 30

Expert Comment

ID: 34875065
xover

Sid
0

LVL 33

Expert Comment

ID: 34875071
Your formula, for the first column, will be:

=IF(ISNA(VLOOKUP(\$B2,Database!\$A\$1:\$H\$4,2;FALSE)),"",VLOOKUP(\$B2,Database!\$A\$1:\$H\$4,2,FALSE))

For the next columns, you need to change the 2 for 3, 4, etc, to get the values from the corresponding columns.

jppinto
0

LVL 10

Expert Comment

ID: 34875075
put that in L2 and copy that formulas everywhere you need it
=VLOOKUP(\$B2,Database!\$1:\$65536,COLUMN(B1))
0

LVL 10

Expert Comment

ID: 34875092
i would use jppinto solution, but instead of changing the number for 2, 3, 4, etc... i would do a ref like i did to COLUMN(B1).  This way it will automatically increment as you copy the formula.
0

## Featured Post

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
###### Suggested Courses
Course of the Month6 days, 4 hours left to enroll