Deductions & credits

I've been loosing my mind on this question. In order for the software to work correctly, it should say how much did you reinvest in your property to pay off the exisiting mortgage before your refi and/OR reinvest in the property for renovations or improvements? Or maybe put please put your total loan amount less what monies was used not on the property? I read about how to calculate what percentage of my interest still could be deducted minus my cash out but could not get it entered right per their directions. When I looked at the itemized list it kept not counting any of my mortgage interest when a large percentage still counted.