jrh70
asked on
How to look info up on another spreadsheet file in Excel
I need to do a price lookup from spreadsheet1 to spreadsheat2. I need to do this via a macro because I have multiple look ups to do. Can anyone help?
Spreadsheet1
Product A $1.99
Product B $2.09
Product C $0.99
Spreadsheet2
ProductC
ProductA
ProductB
Spreadsheet1
Product A $1.99
Product B $2.09
Product C $0.99
Spreadsheet2
ProductC
ProductA
ProductB
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
is there a way to insert a variable while doing a vlookup?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I notice your lookup value on sheet 2 doesn't have the space in like that on the source document. Is that just a type error in your example or is that the case in the real file?
For the lookup to work properly the lookup values have to match.
Cheers
Rob H
For the lookup to work properly the lookup values have to match.
Cheers
Rob H
ASKER
yes that was a typeo. Sorry
did any of these solutions work for you?
ASKER
I got it to work with modified code of the above.
Thanks
Thanks
-brandon