Help In Excel urgent Task Please

mohamed_batal

New Member
Joined
Dec 15, 2017
Messages
2
Please any expert here can help me to find the data of whole column A(3000 rows) in sheet 1 in another column A in sheet 2 rathar than search for each row and when the row is matched copy the whole column of sheet 2 in sheet 1 with in the same row for example copy the data column b & c from sheet 2 in column b& c in sheet 2

[TABLE="width: 500"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]ahmed[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]mohamed[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]khaled[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]gamal[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

sheet (1)

[TABLE="width: 500"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]c[/TD]
[/TR]
[TR]
[TD]gamal[/TD]
[TD]111[/TD]
[TD]usd[/TD]
[/TR]
[TR]
[TD]ali[/TD]
[TD]122[/TD]
[TD]egp[/TD]
[/TR]
[TR]
[TD]ahmed[/TD]
[TD]133[/TD]
[TD]uae[/TD]
[/TR]
[TR]
[TD]omar[/TD]
[TD]155[/TD]
[TD]usd[/TD]
[/TR]
[TR]
[TD]mohamed[/TD]
[TD]999[/TD]
[TD]egp[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Try this on Sheet1, assuming your data is on sheet-2:

Code:
=IF(ISERROR(VLOOKUP($A1,Sheet2!$A$1:$C$5,2,0)),"",VLOOKUP($A1,Sheet2!$A$1:$C$5,2,0))

Place the code in B1 and copy down.


Now put this in C1 and copy down:
Code:
=IF(ISERROR(VLOOKUP($A1,Sheet2!$A$1:$C$5,3,0)),"",VLOOKUP($A1,Sheet2!$A$1:$C$5,3,0))
 
Upvote 0
unfortunately it doesn't work
if you could help me i can send the excel file on your email to test with the code
my target is if the data in column a in sheet 1 match the data of column a in sheet 2 to copy the column b & C from sheet 2 to sheet a
 
Upvote 0
What results did you get and where did you put those formulas, which sheet and which cells?

And I apologize, if you data is longer that through cell C5 on sheet-2 you will need to update the formulas to reflect that.

I can't download sheets while I'm at work, but maybe others can help if you post that.
 
Last edited:
Upvote 0
Hi,

Try INDEX:MATCH for this. Assuming your data is on sheet1 and you're wanting to input it to sheet2:

Cell B2 on sheet2:
Code:
=INDEX(Sheet1!B:B,MATCH(A2,Sheet1!A:A,0))
Cell C2 on sheet2:
Code:
=INDEX(Sheet1!C:C,MATCH(A2,Sheet1!A:A,0))
 
Upvote 0
Last edited:
Upvote 0
mohamed_batal,

You can post your workbook/worksheets to the following free site (sensitive data changed), mark the workbook for sharing, and, provide us with a link to your workbook:

https://dropbox.com
 
Upvote 0

Forum statistics

Threads
1,224,828
Messages
6,181,204
Members
453,022
Latest member
RobertV1609

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top