View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Pete_UK Pete_UK is offline
external usenet poster
 
Posts: 8,856
Default To find rate of each item from item.xls and to copy price.xls

You can use VLOOKUP to do this. Assuming both files are open at the
same time, something like this in B2 of price.xls:

=VLOOKUP(A2,[item.xls]sheet1!A:C,3,0)

I assume you have two separate workbooks - it's confusing to refer to
them as worksheets and then give them filenames.

Hope this helps.

Pete

On Jul 15, 7:43*am, pol wrote:
I have two worksheet. How I can locate the corresponding price in item.xls *
and to write in price.xls. Please help

1. Item.xls
2. price.xls

Item.xls
A * * * B * * * * * * * * * *C
Code, description, * *rate
001 * *TV * * * * * * * * 12
002 * *COMPUTER * * 5
004 * RECORD * * * * *6

Price.xls
A * * * * *B
code * * *rate
001 * * * 12
003 * * * 0
004 * * * 6