Anda di halaman 1dari 6

# Example - Text Functions

## UPC Code Item LEFT() RIGHT() MID()

46832435 Kraft Singles Cheese 468 435 32
46833015 Cracker Barrel Blk cheese 468 015 33
46834727 Dairyland 4L 2% Milk 468 727 34
46835801 Minute Maid Orange Juice 468 801 35
46836274 Dempsters Whole Grain Bread 468 274 36
46837357 Schneiders Honey Ham 468 357 37
46838888 Packaged Baby Carrots 468 888 38
46839046 Free Run Eggs Dozen 468 046 39
Find Cheese

## & FIND() SEARCH()

468-32-435 15 15
468-33-015 20
468-34-727
468-35-801
468-36-274
468-37-357
468-38-888
468-39-046
Practice - Text Functions
Find

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