0:00
hi everyone in this video we're going to
0:02
learn how to identify cells that begin
0:04
with specific letters or numbers in
0:06
Excel here's a sample data set that
0:08
we'll be working with today we have a
0:10
list of words in column A and we want to
0:12
find out which words start with the
0:14
letters a we use the left function the
0:17
left function allows us to extract a
0:19
specified number of characters from the
0:20
beginning of a text string in cell B1
0:23
we'll write the formula to check if the
0:25
names in column a start with the letter
0:26
A the formula is shown on the screen the
0:30
formula extracts the first two
0:31
characters from the text string in cell
0:33
A1 and checks if they are equal to AB it
0:36
returns true if they match and false
0:38
otherwise now we'll drag the fill handle
0:40
down to apply this formula to the other
0:42
cells in column b as you can see it
0:45
identifies which names start with AB
0:47
next let's highlight those cells using
0:49
conditional formatting select the range
0:51
in column a go to the Home tab click on
0:54
conditional formatting the new rule
0:56
choose use a formula to determine which
0:58
cells to format and the formula shown on
1:00
the screen click on format choose a font
1:03
color font style and background fill
1:05
color and hit okay now all the names
1:07
that start with AB are highlighted try
1:10
modifying some cells to see how the
1:12
conditional formatting works when you
1:14
enter a word that starts with AB the
1:16
conditional formatting will highlight it
1:18
conversely if you change a word that
1:20
begins with AB the formatting will be
1:22
removed note that our formula is case
1:24
insensitive meaning it checks only the
1:27
characters not their case if you want to
1:29
highlight text that starts with specific
1:31
characters while also matching the case
1:33
use the exact function instead of the
1:35
equal sign the exact function Compares
1:37
two text strings and returns true if
1:39
they are exactly the same and false
1:41
otherwise making it case sensitive
1:43
modify our formula as shown on the
1:45
screen the formula checks if the first
1:47
two characters of the text in cell A1
1:49
are exactly ab and in uppercase it uses
1:53
the left function to extract the first
1:54
two characters and the exact function
1:57
for a case sensitive comparison the
1:59
formula returns true if they match and
2:01
false if they do not next let's modify
2:03
the conditional formatting rule to make
2:05
it case sensitive select the range in
2:07
column A then go to the Home tab click
2:10
on conditional formatting and choose
2:12
manage rules click edit Rule and update
2:14
the formula as shown on the screen now
2:17
when you modify the text in column A
2:19
only the entries that start with ab and
2:21
are in uppercase will be highlighted
2:23
thank you for watching if you found this
2:25
video helpful please give it a thumbs up
2:27
share it with others and subscribe for
2:29
more Excel tutorials if you have any
2:31
questions feel free to write them in the