how to use formula

sir i have question that if we click item of table in box and i need its rates in another box if i change the item list from initial box and rate of item also should be changed automatically what type of formula can i use for it