Menu
mediumFoodpanda · text

Extract the outlet code from an order ID

Column A holds Foodpanda order IDs in the format FP-<outlet code>-<order number>, e.g. FP-KUL-88213. The outlet code isn't always the same length. Write formulas in B1:B2 that extract just the outlet code — the text between the two hyphens — for each row.

Starting grid

A1
AB
1FP-KUL-88213
2FP-SG-44710
Show expected output
B1
AB
1FP-KUL-88213
2FP-SG-44710

Keep going

Company names are trademarks of their respective owners, used here only to describe practice material. mahir_data is not affiliated with, endorsed by, or sponsored by any company named on this site. Terms.