Example - Text Functions: UPC Code Item LEFT Right MID
Example - Text Functions: UPC Code Item LEFT Right MID
Student
Number Name LEFT() RIGHT() MID() & FIND()
100094124 michael Jackson
100094285 Chris Columbus
100094369 Jason Voorhees
100095421 Fred Krueger
100096538 Curt jackson
100097727 Marco Polo
100098765 wayne Gretzky
100099333 Michael Jordan
Goals
In the LEFT column, input a function which will display the three leftmost digits in the student number
In the RIGHT column, input a function which will display the three rightmost digits in the student number
In the MID column, input a function which will display the three centremost digits in the student number
In the & column, input a function to show the student number, with a dash between the LEFT,RIGHT,MID numbers
In the FIND & SEARCH columns, input a function which will search for the student in cell J2, but come back blank if false
(HINT: Wrap the FIND and SEARCH functions in an IFERROR function)
Practice Question 1
What is displayed in Jason Voorhees' RIGHT column?
Practice Question 2
What is displayed in Marco Polo's LEFT column?
Practice Question 3
What is displayed in wayne Gretzky's MID column?
Practice Question 4
What is displayed in Michael Jordan's & column?
Practice Question 5
Why does Jackson (the value in J2) only have one visible field in the FIND
column, but two in the SEARCH column?
Jackson
SEARCH()
ent number
ent number
,RIGHT,MID numbers
ut come back blank if false
Solution - Text Functions
Find
Student
Number Name LEFT() RIGHT() MID() & FIND()
100094124 michael Jackson 100 124 094 100-094-124 9
100094285 Chris Columbus 100 285 094 100-094-285
100094369 Jason Voorhees 100 369 094 100-094-369
100095421 Fred Krueger 100 421 095 100-095-421
100096538 Curt jackson 100 538 096 100-096-538
100097727 Marco Polo 100 727 097 100-097-727
100098765 wayne Gretzky 100 765 098 100-098-765
100099333 Michael Jordan 100 333 099 100-099-333
Goals
In the LEFT column, input a function which will display the three leftmost digits in the student number
In the RIGHT column, input a function which will display the three rightmost digits in the student number
In the MID column, input a function which will display the three centremost digits in the student number
In the & column, input a function to show the student number, with a dash between the LEFT,RIGHT,MID numbers
In the FIND & SEARCH columns, input a function which will search for the student in cell J2, but come back blank if false
(HINT: Wrap the FIND and SEARCH functions in an IFERROR function)
Practice Question 1
What is displayed in Jason Voorhees' RIGHT column? 369
Practice Question 2
What is displayed in Marco Polo's LEFT column? 100
Practice Question 3
What is displayed in wayne Gretzky's MID column? 098
Practice Question 4
What is displayed in Michael Jordan's & column? 100-099-333
Practice Question 5
Why does Jackson (the value in J2) only have one visible field in the FIND FIND is case sensitive, SEARCH is n
column, but two in the SEARCH column?
Jackson
SEARCH()
9
dent number
dent number
T,RIGHT,MID numbers
but come back blank if false
100-099-333