What is the pronunciation of 行 according to its context? 行 can be pronunced háng or xíng.

As far as I have seen, it means "OK, to go, profession", and many more other meanings.

Could you briefly summarize the usage of it and its corresponding pronunciation.
Because whenever I see this character I am lost.

Are there any clue to help to match it with its correct pronunciation/meaning whenever I see it?
háng (in most noun)

(1) line, row  表格中的一行 a row in a table, 字里行间 between the lines

(2)  seniority among brothers and sisters， 我排行第二 I'm the second eldest one.

(3)  some place of business, 银行 bank，花行 flower shop，商行 trading company

(4)  trade, company(not very exact)     行业，同行

(5)  measure word 一行，两行
xíng (verb, use verb as noun)

(1) walk -&gt; distance  步行，行走 walk, on foot,    

(2) something used when going out  行装 outfit for a journey，行李 luggage

(3) transfer, propagation 行销 marketing, 风行一时 be in fashion

(4) be engaged in 进行 proceed  行刺 assassinate

(5) a surname 一个姓氏

(6) behaviour 行为

(7) elements only in 五行

(8) can, be able to, have the ability, ok to go

(9) soon 行将

(10) 'travel party' 张三等一行人来到花市。
héng  skill 道行