If you understand our tutorial for nor non-repeating , then its very easy for you.
Step1 - do numbering over all letters.
4 3 2 1 0 <== diraction
I N D I A
Step 2 :
Move left to right and put n for each letter .
I N D I A
n n n n n ==> diraction
n defines as number of letter smaller than that letter in right hand side. ( refer previous post for better understanding ).
Note- an additional k factor to be added here for repeating letters .
1) if letter repeat in right side then k= 1/( r! ) where r is number of that letter
2) otherwise k=1 .
So in this case
you can do this very fastly by manual work like
word I N D I A
n=> 2 3 1 1 0 ==> diraction
k=> 1/(2!) 1 1 1 1
Now calculate ==>[ sum ( ( factorial ! ) x n x k)] + 1 (INDIA itself) ( ie. multiply column's but 1st row used as factorial)
So
Rank = [( 4!) x 2 x 1/2! + ( 3!) x 3 x 1
Hope you enjoyed this post , comment for any problem.