how do i get a feild to react to another field

how do i get a feild to react to another field

i see the "add item" option that allows me to select an item from a pick list based on an input into that field, but what I'm looking to do the same function, but insert the data into a numerical field.

Similar to a spreadsheet. So I could say what the tax and total would be on a purchase for example.