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

ABC
ahmed
mohamed
khaled
gamal

<tbody>
</tbody>

sheet (1)

ABc
gamal111usd
ali122egp
ahmed133uae
omar155usd
mohamed999egp

<tbody>
</tbody>
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
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,215,549
Messages
6,125,473
Members
449,233
Latest member
Deardevil

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