Solved

Excel Update info from another sheet

Posted on 2011-02-11
6
175 Views
Last Modified: 2012-05-11
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
Comment
Question by:zyanj
  • 2
  • 2
  • 2
6 Comments
 
LVL 33

Accepted Solution

by:
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

by:SiddharthRout
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

by:SiddharthRout
ID: 34875065
xover

Sid
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
LVL 33

Expert Comment

by:jppinto
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

by:cdebel
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

by:cdebel
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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

832 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