The flat has no lift; if it ___ one, my grandfather would visit more often.
Explanation
Had is right because the premise says the lift does not exist, making the condition unreal in the present. Would have wrongly places would in the if-clause instead of using a past form.