Question : import excel data based on other cells data

I have 2 workbooks. most of the names,street number, and streets are the same in both workbooks but some are different, and workbook2 does not have any phone numbers.  I want to import the phone number from workbook 1 into workbook 2 but only if the name,street number, and street in workbook2 exactlly match the corosponding cells in workbook1. how would i go about doing this?

I have attached my workbooks

Workbook 1

Columns are
name,street number,street,phone number
workbook1 has all data filled out.


Workbook 2

Columns are
name,street number,street,phone number
workbook2 has name,street number,street filled out. phone number is blank.


the end result would for workbook2 to have the same names it does right now, except it will have the phone numbers from workbook1 as long as all the name,street number, and street columns match up.


THanks in advance

Answer : import excel data based on other cells data

pretty sure that you have a couple of problems.

One is that you need to reference the variable correctly:

mySelect1 = document.getElementById("CompanyInfo7");
mySelect2 = document.getElementById("CCInfo7");

Then I think you need to use the selectedIndex.

mySelect2.selectedIndex = mySelect1.selectedIndex;
Random Solutions  
 
programming4us programming4us