Question : Excel 2010 - Matched record then cell value

I am sure this is a stupid question. I have a workbook that contains a number of sheets. I wish to be able to say that if value in a column on sheet-a matches the value in a coulumn of sheet-b then in a certain cell on sheet-b I want the value from a cell in sheet-a.

Example        Sheet-A   value in B4   matches Sheet-B   value in B4
                     then Sheet-B Cell B6 equals Sheet-A Cell B6.value

Does that make sense?

Answer : Excel 2010 - Matched record then cell value

On the cell B6 in sheet B::
=IF('Sheet-A'!B4='Sheet-B'!B4,'Sheet-A'!B4)
Random Solutions  
 
programming4us programming4us