interaction subform fields

interaction subform fields

Good afternoon, 

how to get the index of a row in a subform. 
is possible in a subform add a field having the conditional in another field. 
For example: 
row1 = field1 = 1.1; field2 = computer; field3 = 1000 
row2 = field1 = 1.1; field2 = notebook; field3 = 1700 
row3 = field1 = 1.2; field2 = brick; field3 = 50 

to sum ​​the values ​​in the subform field3 
  if field1 = "1.1" 

another query could delete a row subform via script

thank you