M
Maclear
Hey Y'all,
I am currently facing a problem which, I think, will require a cunnin
VB-ist to solve. Anyway, here goes.
I am working on a database of raw materials gathered from all over th
US. Each Item has a characteristic which I called "State of Origin"
Values can be anything like LA, AZ, NY...and so forth.
A second characteristic is the amount we pay for that item. This amoun
depends on the values of column X, AF and of course the State of Origi
Column. So for Item 25 Excel will lookup in a Table on a differen
sheet the corresponding price Given the value of X and AF.
So here's what I have so far:
=INDEX('Prices *LA*.2004'!$C$6:$Y$30;List!X25;List!AF25)
Now I want Excel to check my State of origin Column and insert th
State value within the formula so that Excel will automatically looku
for the amount to pay in the corresponding table.
For instance, if State of origin is AZ the formula will change to
=INDEX('Prices *AZ*.2004'!$C$6:$Y$30;List!X25;List!AF25)
Well, anyone who can help me with this has my full gratitude an
maximum respect.
Cheers,
:
I am currently facing a problem which, I think, will require a cunnin
VB-ist to solve. Anyway, here goes.
I am working on a database of raw materials gathered from all over th
US. Each Item has a characteristic which I called "State of Origin"
Values can be anything like LA, AZ, NY...and so forth.
A second characteristic is the amount we pay for that item. This amoun
depends on the values of column X, AF and of course the State of Origi
Column. So for Item 25 Excel will lookup in a Table on a differen
sheet the corresponding price Given the value of X and AF.
So here's what I have so far:
=INDEX('Prices *LA*.2004'!$C$6:$Y$30;List!X25;List!AF25)
Now I want Excel to check my State of origin Column and insert th
State value within the formula so that Excel will automatically looku
for the amount to pay in the corresponding table.
For instance, if State of origin is AZ the formula will change to
=INDEX('Prices *AZ*.2004'!$C$6:$Y$30;List!X25;List!AF25)
Well, anyone who can help me with this has my full gratitude an
maximum respect.
Cheers,
: