Hi ,
The working part of the formula is :
INDEX($E$2:$E$11, MATCH(A2, INDEX($A$2:$D$11, , COLUMN(A2)), 0))
The range $E$2:$E$11 contains the names Barisal , Barguna , Amtali ,...
What we want to do is that the formula in column H should retrieve the name corresponding to the Division , the formula in column I should retrieve the name corresponding to the District , the formula in column J should retrieve the name corresponding to the Upazilla , and the formula in column K should retrieve the name corresponding to the Union.
The MATCH function is matching the code in column A with the data in column A , the code in column B with the data in column B , and so on.
So given data such as 10 , 04 , 09 and 71 , in row 10 , the code 10 is matched with the data in column A , and returns 1 ; thus H10 will display Barisal.
The code 04 is matched with the data in column B , and returns 2 , so that I10 displays Barguna.
Similarly for the remaining cells J10 and K10.
Because a single range reference of $A$2:$D$11 has been used , the COLUMN function is used to return the appropriate column ; if we use relative addressing as shown below :
A$2:A$11
then the above formula is simplified to :
INDEX($E$2:$E$11, MATCH(A2, A$2:A$11, 0))
Narayan