Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 104
Default Comparing two worksheets

Hello,

I need a formula to compare two different sheets and to copy the data in the
sheet 1 to sheet 2 only if its matching with the respective data.

To be clear let me put you in this way....

Sheet 1:

A1 E1
1224577 XYZ
1224388 ABD
1168708 SDF
1180005 RFG

Data in column E is entered manually

Sheet 2:

A1 E1

1224577
1548752
1224388
1545032
1234555
1168708
1180005
1453212

Now I need a formula to compare these two sheets and the data entered in
column E of sheet 1 shoulld be copied to the respective cells in column E of
sheet 2 only if the numbers in the column A is matching in both the sheets.

Hope this is clear...

Thanks in advance
Sasikiran

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default Comparing two worksheets

One way:

In Sheet2:

E1: =IF(ISNA(MATCH(A1, Sheet1!A:A, FALSE)), "", VLOOKUP(A1,
Sheet1!A:E, 5, FALSE)

In article ,
Sasikiran wrote:

Hello,

I need a formula to compare two different sheets and to copy the data in the
sheet 1 to sheet 2 only if its matching with the respective data.

To be clear let me put you in this way....

Sheet 1:

A1 E1
1224577 XYZ
1224388 ABD
1168708 SDF
1180005 RFG

Data in column E is entered manually

Sheet 2:

A1 E1

1224577
1548752
1224388
1545032
1234555
1168708
1180005
1453212

Now I need a formula to compare these two sheets and the data entered in
column E of sheet 1 shoulld be copied to the respective cells in column E of
sheet 2 only if the numbers in the column A is matching in both the sheets.

Hope this is clear...

Thanks in advance
Sasikiran

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 104
Default Comparing two worksheets

Thanks a lot JE.. Its working fine....

"JE McGimpsey" wrote:

One way:

In Sheet2:

E1: =IF(ISNA(MATCH(A1, Sheet1!A:A, FALSE)), "", VLOOKUP(A1,
Sheet1!A:E, 5, FALSE)

In article ,
Sasikiran wrote:

Hello,

I need a formula to compare two different sheets and to copy the data in the
sheet 1 to sheet 2 only if its matching with the respective data.

To be clear let me put you in this way....

Sheet 1:

A1 E1
1224577 XYZ
1224388 ABD
1168708 SDF
1180005 RFG

Data in column E is entered manually

Sheet 2:

A1 E1

1224577
1548752
1224388
1545032
1234555
1168708
1180005
1453212

Now I need a formula to compare these two sheets and the data entered in
column E of sheet 1 shoulld be copied to the respective cells in column E of
sheet 2 only if the numbers in the column A is matching in both the sheets.

Hope this is clear...

Thanks in advance
Sasikiran


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
Comparing worksheets enna49 Excel Worksheet Functions 2 May 30th 07 06:54 AM
Comparing two worksheets David Excel Discussion (Misc queries) 1 February 19th 07 05:12 PM
Comparing two worksheets Spartan Excel Discussion (Misc queries) 1 December 21st 06 08:51 PM
Comparing Two Worksheets RFJ Excel Worksheet Functions 5 September 21st 05 04:06 PM
Comparing 2 worksheets Cube Farmer Excel Worksheet Functions 0 July 20th 05 06:50 PM


All times are GMT +1. The time now is 02:33 PM.

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

About Us

"It's about Microsoft Excel"