Thread: Excel Updation
View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
test[_3_] test[_3_] is offline
external usenet poster
 
Posts: 13
Default Excel Updation

On Mar 22, 10:19*am, Jacob Skaria
wrote:
Use this formula in Sheet1; and copy those to other cells in col B and C

Columb B1=INDEX(Sheet2!A$1:C$4,MATCH(A1,Sheet2!A$1:A$4,0) ,2)
Columb C1=INDEX(Sheet2!A$1:C$4,MATCH(A1,Sheet2!A$1:A$4,0) ,3)

If this post helps click Yes
--------------
Jacob Skaria



"test" wrote:
Greetings,


I am using Microsoft Office excel 2003.


I have a requirement where I have to compare two sheets within an
excel and needs to update *columns of sheet1 with the respective row
value from sheet2.


Pseudocode is:


1) Compare columnA (of Sheet1) and ColumnA (of sheet2) of excel say
test.xls
2) If value matches anywhere, update ColumnB, ColumnC (of Sheet1) with
value from ColumnB, ColumnC (of Sheet2)


Can anyone please advise me here? Any help would be appreciated.


TIA- Hide quoted text -


- Show quoted text -


Jacob,

It works. Thank alot. One quick clarification, cells which does not
have any matching value, I want to keep them as it is. In this case it
is getting filled with "N/A" value. How can I avoid this?

TIA