Build a subscriber-plus-dependent ID
Turn XKM441720 and dependent 1 into XKM44172001 for a 2-digit suffix.
What you'll make

The formula

| Number | Part | What it does | Result so far |
|---|---|---|---|
| 1 | OR(A8="",B8="") | Checks if the subscriber or dependent is empty. | No |
| 2 | LEN(B8)>C8 | Checks if the dependent is longer than the width. | No, 1 is not more than 2 |
| 3 | REPT("0",C8-LEN(B8)) | One zero for each missing place. | "0" |
| 4 | IF( … ) | Flags part 1 or 2, else joins ID, zeros, dependent. | "XKM44172001" |
A Review message shows when part 1 or part 2 says yes. The & joins the subscriber, the zeros and the dependent.
=IF(OR(A8="",B8=""),"Review subscriber/dependent pair",IF(LEN(B8)>C8,"Review dependent width",A8&REPT("0",C8-LEN(B8))&B8))How to use it
Yellow bar at the top? Click Enable Editing.
- See it work. The Example tab shows 20 made-up examples with the formula already in.
- Use your own IDs. Paste subscriber IDs and dependent numbers, stored as text, and the width into the green columns of the Template tab. The member IDs fill in by themselves.
- Move them into your letter. Copy the results. Then use Paste Special and choose Values.
Before you send
Use this only when the payer says a member ID is the subscriber plus a set-width dependent number. The IDs here are made-up.
Microsoft's help: REPT function
OTHER ROUTES YOU MIGHT LIKE

Write an MBI like 2AC4-DE5-FG67
2AC4DE5FG67 → 2AC4-DE5-FG67
Get the template →
Write coverage periods with blank dates
11/4/2026 + 12/4/2026 → From 11/04/2026 through 12/04/2026
Get the template →
Pick a party reference by requested role
PT-004512, SB-117340, PH-208815 + Subscriber → SB-117340
Get the template →
Merge a few test letters before the whole mailing
Whole mailing → records 2 to 4 only
Take this route →