Excel Lookup Question

Hi Experts,

I think I have a basic excel lookup question. I am using Excel 2007 and simply have two worksheets within a single workbook. One sheet has the item numbers and the prices, and the other has more detailed information. I simply want Excel to search the Price List sheet for the Part #, and enter the price into the appropriate field on the Item Details sheet. I have attached an example spreadsheet that I created. I think it might be a vlookup or lookup function but am unsure. Thank you! So if item B20 is $5.23 on the Price List, I want Excel to search for item B20 in the Price List and enter the Price for that item into the Item Details sheet. Hope that makes sense!
LookupPriceQuestion.xlsx
ttotusAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Rgonzo1971Commented:
Hi,

pls try this

place in C2

=VLOOKUP(A2,'Price List'!A:B,2)

LookupPriceQuestionv1.xlsxRegards
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ttotusAuthor Commented:
Hi Rgonzo, that seems to work for the first few and then doesn't pull the right number over time. Do you know of any other ways to do this. At least when I copy the formula down my column it pulls inaccurate data after a few.

Hmmm--I'm sure it's something straightforward.
0
ttotusAuthor Commented:
Scratch that -- Had to be an absolute reference to the rannge in the formula--Then it worked fine.

Thank you
0
ttotusAuthor Commented:
Thanks!
0
Rgonzo1971Commented:
Hi,

I suppose you use row numbers you have to have absolute ranges

=VLOOKUP(A3,'Price List'!$A$1:$B$10000,2)

Open in new window


Regards
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Mac OS X

From novice to tech pro — start learning today.