When do you use gift tax for basis?

To my understanding, when you give a gift, it is excludable up to 14,000. But I recently came across a Wiley question where you use the gift tax, which you calculate with the formula: Basis + [gift tax (FMV-basis) / (FMW-14,000)] I am just wondering, how do you know when to use this as opposed just determining if the gift is over 14,000 or not?