Compare two excel sheets in the same work book and merge data?

Dvij

New Member
Joined
Sep 17, 2011
Messages
2
Hi all I've two excel sheets in one work book,

Sheet 1 contains
A - S No
B - Mandal Name
C - DISE Code (Numbers are stored in this column)
D - Name of the School
E - Account No (This column is empty, we need to fill this column by the formula)

Sheet 2 contains
A - S No
B - Mandal Name
C - DISE Code (Numbers are stored in this column)
D - Name of the School
E - Account No (This column is filled with numbers, we need to put this data in column E of sheet 1, based on the condition that Column C i.e., DISE Code column in both sheets match, if they fail it should put false or message like school not found)

This is urgent please, I've to compare nearly 13,000 schools by tomorrow morning please help me urgently. I am still in office waiting for the solution.


& ifsc code in column c, column d is empty for account numbers

and sheet 2 contains school names in column b, account numbers in column c

Now sheet 1 is the master data.

What i want is if the school name in both sheets exist (they do exist as they are identical) the formula should copy account numbers to column d of sheet 1 (condition is that the school exists in both sheets, if it doesn't exist it should put false or something in that cell).

BTW, I am using MS-Office 2003
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
This might help with your first situation. Not sure I understand the second request. Change the ranges to suit.

=IF(ISNA(VLOOKUP(C2,Sheet2!$A$2:$E$7,3,FALSE)),"School Not Found",VLOOKUP(C2,Sheet2!$A$2:$E$7,3,FALSE))
 
Upvote 0

Forum statistics

Threads
1,214,814
Messages
6,121,711
Members
449,049
Latest member
THMarana

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