Keep payment type and outcome apart

A fully processed response can still pay only part. Show both words.

What you'll make

In Excel: Complete + Partial becomes Complete processing; payment=Partial.

The formula

The formula, with a numbered bracket under each part.
NumberPartWhat it doesResult so far
1A8Takes the processing outcome."Complete"
2&" processing; payment="&Adds the words processing and payment."Complete … payment="
3IF(B8="","not supplied",B8)Adds the payment type, or not supplied."… =Partial"

Read it left to right. Each & joins the next piece on. The outcome never stands in for the payment type.

=A8&" processing; payment="&IF(B8="","not supplied",B8)

How to use it

Yellow bar at the top? Click Enable Editing.

  1. See it work. The Example tab shows 20 made-up examples with the formula already in.
  2. Use your own list. Paste each processing outcome and its payment type into the green columns of the Template tab.
  3. Move them into your letter. Copy the results. Then use Paste Special and choose Values.

Before you send

Complete processing doesn't mean the bill is paid. Check the patient's balance on its own.

Microsoft's help: IF function