If it's soft to the touch (wet rot) and you can remove wet wood gunk with a simple pass of your hand, then it's not likely to be salvageable. If your wood has rotted over about 20% then you have a tough choice to make.