1. Lighthouse

Level 2 · Pick labels with &, UPPER and TEXT

The request

From Debra Marshall, Warehouse Manager

“The pickers work from one printed line per order, and the pre-Christmas backlog is still pending. Can you build that line for each of these orders? Order number, channel in capitals, order date, and the customer as first name plus last initial, since the labels go on the outside of the box. Like the example in G2.”

Your goal

In E2:E28, build each order's pick label with &: the order_id, the channel in capitals (UPPER), the order date as yyyy-mm-dd (TEXT), and the customer's first name, a space, the first letter of the last name and a period (from the full name in column D, using FIND to locate the space). Separate the four parts with " | " (space, pipe, space). Row 2 must read exactly like the example in G2.

  • Fill E2:E28 with the right valuesnot done yet
  • With formulas, not typed numbersnot done yet
  • Use TEXT UPPER FINDnot done yet

Your sheet

Excel
The sheet for this level
ABCDEFGH
1order_idorder_datechannelcustomerpick_labelExample for row 2
2128132025-12-22 06:58webShirley Stewart12813 | WEB | 2025-12-22 | Shirley S.
3128142025-12-22 09:08appValeria Miller
4128162025-12-22 10:42appNathan Morales
5128192025-12-22 12:37webJanet Kelly
6128212025-12-22 13:30appMark Wood
7128222025-12-22 13:47webGary Chavez
8128242025-12-22 15:28appValeria Williams
9128292025-12-22 18:25webNathan Simmons
10128372025-12-22 23:35appCaleb Collins
11128382025-12-22 23:51appSophia Ruiz
12128392025-12-23 07:29appSophia Ruiz
13128452025-12-23 10:16appMaria Harrison
14128492025-12-23 12:28webJoyce Ortiz
15128502025-12-23 12:44webRyan Anderson
16128512025-12-23 13:47appNoah Taylor
17128542025-12-23 15:36appMia Adams
18128582025-12-23 17:50appPatrick Jones
19128602025-12-23 19:07appAbigail Simmons
20128612025-12-23 19:11appCatherine Mitchell
21128622025-12-23 20:15marketplaceNicole Jimenez
22128642025-12-23 20:26marketplaceDonna Ramirez
23128652025-12-23 21:03appStephanie Hayes
24128662025-12-23 22:30marketplacePriya Kelly
25128672025-12-24 05:15webAmanda Jones
26128692025-12-24 10:33webSarah Young
27128702025-12-24 11:34appOlivia Myers
28128772025-12-24 22:27marketplaceAngela Anderson
29
30

Loading the editor…

    ResultPress Check to compare E2:E28

    Mote checks your result

    Press Check. Each right cell becomes a firefly in your lantern.

    The lesson

    Sometimes the output of a sheet is not a number but a line of text: a pick label, a file name, a subject line. Debra’s pickers need one line per order with four facts on it, and the customer’s full name shouldn’t be printed on the outside of a box. You build the line by joining cells, pieces of cells and bits of fixed text with &.

    Joining with &

    The & operator glues two values into one piece of text:

    =A2&" | "&C2

    A2 is the order number 12813, " | " is literal text (space, pipe, space), C2 is web. The result is 12813 | web. Anything in double quotes is copied as is, spaces included, so the spaces around the pipe have to sit inside the quotes.

    CONCAT(A2," | ",C2) gives the same result; CONCATENATE is the older name. Most analysts use & because long labels stay readable.

    Changing case: UPPER, LOWER and PROPER

    Function web becomes shirley STEWART becomes
    UPPER WEB SHIRLEY STEWART
    LOWER web shirley stewart
    PROPER Web Shirley Stewart

    Debra wants the channel in capitals so it stands out: UPPER(C2). PROPER is for names typed in the wrong case; it is blunt (mcdonald becomes Mcdonald), so check what it does to your data.

    First name and initial: functions inside functions

    D2 holds the full name, Shirley Stewart. The space is the delimiter, the same idea as the @ in the last level. FIND(" ",D2) is 8, so:

    Piece Formula Result
    first name LEFT(D2,FIND(" ",D2)-1) Shirley
    last initial MID(D2,FIND(" ",D2)+1,1) S

    MID starts one character after the space and takes 1 character. Then join them with a space and a period: LEFT(…)&" "&MID(…)&"." gives Shirley S.. A function used as another function’s argument is called nesting: FIND sits inside LEFT, and the answer of one becomes the input of the other, with no helper column in between.

    Dates in a label need TEXT

    Glue the date the same way and something odd happens:

    =A2&" | "&B2

    returns 12813 | 46013.29…, with the digits running on. The cell B2 shows 2025-12-22 06:58, but that is only its format. Underneath, a date is a count of days since the start of 1900, and the time is the fraction of a day: 6:58 in the morning is 0.29 of a day. & takes the value, not the format.

    TEXT(value, format) applies a format and returns the result as text. =TEXT(B2,"yyyy-mm-dd") gives 2025-12-22. The format codes are the ones you would type in Format Cells: yyyy the year, mm the month, dd the day, mmm a short month name, ddd a short weekday. TEXT(B2,"ddd mmm d") gives Mon Dec 22.

    The whole label

    E2   =A2&" | "&UPPER(C2)&" | "&TEXT(B2,"yyyy-mm-dd")&" | "&LEFT(D2,FIND(" ",D2)-1)&" "&MID(D2,FIND(" ",D2)+1,1)&"."

    Compare E2 with Debra’s example in G2 character by character: 12813 | WEB | 2025-12-22 | Shirley S.. Then fill down to row 28. The last order, 12877 from the marketplace on the 24th, should read 12877 | MARKETPLACE | 2025-12-24 | Angela A..

    Build long formulas in pieces. Start with =A2&" | "&UPPER(C2), press Enter, check it, then add the next piece. A missing quote is much easier to find in a short formula.

    Common mistakes

    • The raw date. &B2 prints the serial number. Wrap every date in TEXT before joining it.
    • Spaces outside the quotes. A2 & "|" & C2 gives 12813|web: the spaces around & are ignored, only spaces inside quotes end up in the text.
    • The initial from the wrong place. MID(D2,FIND(" ",D2),1) starts on the space itself and returns the space. Add 1.
    • Month vs minutes. In a format with hours, mm after hh means minutes: "hh:mm". On its own or next to yyyy and dd, mm is the month.

    Pick what may run on this site. You can change this any time from "Cookie settings" at the bottom of every page.