Extract a course department code
Take the first characters from a course code.
YOUR TASK
Put LEFT to work.
The course code is in C2. In G2, extract its first three characters to get the department code. Keep the result as text.
Give me a hint
LEFT takes the source text and the number of characters to return from its beginning.
Show the worked solution
=LEFT(C2,3)LEFT(C2,3) returns CSE from CSE-101. The hyphen and course number are outside the first three characters.
Try it yourself before opening the solution. A completed task with the solution open is saved as reviewed practice.
What can I use in this checker?
SUM, SUMPRODUCT (matching range dimensions), INDEX (single-cell result), MATCH (exact match with 0), AVERAGE, AVERAGEIF, MEDIAN, MIN, MAX, COUNT, COUNTA, IF, IFERROR, AND, OR, SUMIF, SUMIFS, COUNTIF, COUNTIFS, exact-match VLOOKUP and XLOOKUP, ROUND, LEFT, RIGHT, LEN, TRIM, UPPER, LOWER, CONCAT, arithmetic, comparisons, percentages and absolute cell references. Use the displayed data and double quotes for text. For AND and OR, use comparisons or logical values. Text-cleaning tasks check letter case. This is a focused formula checker; it does not include Excel’s full feature set.
