Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
pol pol is offline
external usenet poster
 
Posts: 129
Default Please help to get cross reference with another sheet

I have a column with name 'Item' which contain the code of the product.
Another sheet ( same file) contain code and profit.

Sheet1
item
A1
200
300
400
500
600

Sheet2
Item preofit
A1 B1
200 60
500 10
600 20
400 10

I have to find profit for the same item from sheet2 and to write in sheet1
column b1.

With many thanks
Pol
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 20
Default Please help to get cross reference with another sheet

On 12 avr, 21:32, pol wrote:
I have a column with name *'Item' which contain the code of the product..
Another sheet ( same file) contain code and profit.

Sheet1
item
A1
200
300
400
500
600

Sheet2
Item * * * * *preofit
A1 * * * * * * *B1
200 * * * * * * 60
500 * * * * * * 10
600 * * * * * * 20
400 * * * * * * 10

I have to find profit for the same item from sheet2 *and to write in sheet1
column b1.

With many thanks
Pol


Hello

If i understand well your question, this can be done with the help of
the vlookup function : this function is used to retrieve the profit of
a given item in sheet2, sheet which is used as a reference table.
In the B2 cell of Sheet1, try this formula

= VLOOKUP(A2;SHEET2!A:B;2;FALSE)

where
A2 is the cell containing the item code you're looking for;
SHEET2!A:B ( means the columns A and B of sheet 2) is used as the
profit per item reference table;
2 is the column rank from the reference table (defined above) from
which we want to retrieve the data
FALSE specifies that we're looking for the perfect match between
Sheet1!A1 and the values of Sheet2 colum A.

If it's ok, you can copy the formula on the other rows of Sheet1.

HTH





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cross Reference fgwiii[_2_] Excel Worksheet Functions 1 July 21st 09 05:06 PM
Cross reference Kalevi[_2_] Excel Discussion (Misc queries) 1 May 8th 09 05:33 AM
Cross reference Edward[_3_] Excel Discussion (Misc queries) 7 November 10th 08 08:42 AM
cross reference two auntieb New Users to Excel 3 September 8th 08 05:17 PM
Cross Reference Terrance DeBord Excel Worksheet Functions 1 March 8th 06 04:11 PM


All times are GMT +1. The time now is 10:36 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"