Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Excel Updation

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8,520
Default Excel Updation

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

  #3   Report Post  
Posted to microsoft.public.excel.programming
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
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8,520
Default Excel Updation

Dear, please try

Columb
B1=IF(ISNA(MATCH(A1,Sheet2!A$1:A$4,0)),"",INDEX(Sh eet2!A$1:C$4,MATCH(A1,Sheet2!A$1:A$4,0),2))

Columb
C1=IF(ISNA(MATCH(A1,Sheet2!A$1:A$4,0)),"",INDEX(Sh eet2!A$1:C$4,MATCH(A1,Sheet2!A$1:A$4,0),3))


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


"test" wrote:

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

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Excel Updation

On Mar 22, 11:25*am, Jacob Skaria
wrote:
Dear, please try

Columb
B1=IF(ISNA(MATCH(A1,Sheet2!A$1:A$4,0)),"",INDEX(Sh eet2!A$1:C$4,MATCH(A1,She*et2!A$1:A$4,0),2))

Columb
C1=IF(ISNA(MATCH(A1,Sheet2!A$1:A$4,0)),"",INDEX(Sh eet2!A$1:C$4,MATCH(A1,She*et2!A$1:A$4,0),3))

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



"test" wrote:
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- Hide quoted text -


- Show quoted text -


Jacob, It worked. Thanks alot for your help.


  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Excel Updation

On Mar 22, 11:25*am, Jacob Skaria
wrote:
Dear, please try

Columb
B1=IF(ISNA(MATCH(A1,Sheet2!A$1:A$4,0)),"",INDEX(Sh eet2!A$1:C$4,MATCH(A1,She*et2!A$1:A$4,0),2))

Columb
C1=IF(ISNA(MATCH(A1,Sheet2!A$1:A$4,0)),"",INDEX(Sh eet2!A$1:C$4,MATCH(A1,She*et2!A$1:A$4,0),3))

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



"test" wrote:
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- Hide quoted text -


- Show quoted text -


Jacob, It worked. Thanks alot for your help.
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
Microsoft Excel OLE link not updation in German XP OS Dibyendu Seal Excel Discussion (Misc queries) 0 September 8th 09 07:16 PM
Cross Excel Updation test[_3_] Excel Programming 1 March 15th 09 05:47 AM
Automatic Excel data updation on Sharepoint. Raj Excel Discussion (Misc queries) 0 May 13th 08 11:18 AM
Excel Problem in detail/updation, deletion programmer_int[_4_] Excel Programming 1 September 4th 04 09:56 PM
Excel VBA - Userform updation/deletion problem programmer_int[_3_] Excel Programming 1 September 4th 04 09:12 PM


All times are GMT +1. The time now is 07:16 AM.

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"