1. Extract the region name from a combined ID string
| Order ID | Region | Rep | Units | Unit Price | Order Date |
| 1001 | East | Alice | 5 | 20 | 2023-01-15 |
| 1002 | West | Bob | 3 | 15 | 2023-02-20 |
=MID(B2 & "-" & A2, 1, 4)Result: East
The formula concatenates the Region (B2) with a dash and the Order ID (A2) producing "East-1001". MID then starts at character 1 and returns the next four characters, which are "East". This demonstrates how MID can pull a fixed-length prefix from a dynamically built string.