I have 45 branch names in column A, each br name has got a different br code.
Now if i enter a branch name in A1, automatically corrsponding br code should be displayed in c1....likewise i have 45 branch names with diff br codes...
I think I am wrong but I understand that you have the branch name and the corresponding branch code in a table. So you can use VLOOKUP function to fetch the branch code from the table.
correction to sgmpatnaik: if you want the branch code to display in B1 (or C1 as you indicated in your original post), then that is where you'll enter the formula.
[if i read the above correct, he said to enter the formula in A1 on Sheet2.]
you told a very easy method for my problem. actually i was using multiple if formula for that....vlookup is very easy..thanks a lot.
Now one more question i have is, if the data doesn't match to the data used for vlookup #N/A should not be displayed, rather i want the cell blank...pls guide