Get your taxes done using TurboTax

The TurboTax software does that automatically when entering the deductible medical expenses on Schedule A Line 4.