A
Attila Fust
I have a spreadsheet that uses a list (data validation)
which has company names. For each company name in the
list there is a customer code. Here is the example:
Col AA Col AB
Acme Acme-01
Biltbest Bilt-02
Savan Inc. Savan-STD
Col A has the company name and Col B the customer code.
On the same spreadsheet I have data validation in Col A
with a listbox so that only company names from Col AA can
be selected. In Col B there is a lookup function so that
it will automatically populate the cell with the
appropriate customer code from Col AB (=VLOOKUP
(A5,$AB$4:$AC$100,2).
The problem I am having is that vlookup is returning the
wrong customer codes for the company. For example, if in
Col A "Biltbest" is selected in col B it will
return "Savan-STD" as the customer code. I have tried to
recreate this setup on a brand new spreadsheet but I am
having the same problem.
Notes regaring the lookup range. It extends from AA4 - AA
100. The whole range is not popluated with company names
(I left room to add company names in the list).
Any ideas??? I am using Excel 2000.
Attila Fust
which has company names. For each company name in the
list there is a customer code. Here is the example:
Col AA Col AB
Acme Acme-01
Biltbest Bilt-02
Savan Inc. Savan-STD
Col A has the company name and Col B the customer code.
On the same spreadsheet I have data validation in Col A
with a listbox so that only company names from Col AA can
be selected. In Col B there is a lookup function so that
it will automatically populate the cell with the
appropriate customer code from Col AB (=VLOOKUP
(A5,$AB$4:$AC$100,2).
The problem I am having is that vlookup is returning the
wrong customer codes for the company. For example, if in
Col A "Biltbest" is selected in col B it will
return "Savan-STD" as the customer code. I have tried to
recreate this setup on a brand new spreadsheet but I am
having the same problem.
Notes regaring the lookup range. It extends from AA4 - AA
100. The whole range is not popluated with company names
(I left room to add company names in the list).
Any ideas??? I am using Excel 2000.
Attila Fust