J
John Menken
Hello everyone. I'm back with another 'data manipulation' kind of
question. I'm using Excel 2010 and I have a weekly table similar to
the one that you see in Figure 1 below. The last field, entitled
Location has some blank entries in it and this is the way it comes out
of the system and I have no control over that aspect of it. I want my
code to simply go down the Location column and anywhere it finds a
blank space insert the words NO LOCATION. Please see Figure 2 for what
the end result should look like. Can anyone help me out with the code
that would make this happen? Thank you very much.
Fig 1.
FirstName Lastname EmpID MgrEmpID
Email Location
Alex Anderson aaaa abcxy
(e-mail address removed) Philadelphia
Brooke Brown bbbb aaaa
(e-mail address removed) Philadelphia
Carol Clark cccc aaaa
(e-mail address removed)
David Drew dddd aaaa
(e-mail address removed) Philadelphia
Erin Eisley eeee bbbb
(e-mail address removed)
Felicia Ford ffff
bbbb (e-mail address removed) Phoenix
Fig 2.
FirstName Lastname EmpID MgrEmpID
Email Location
Alex Anderson aaaa abcxy
(e-mail address removed) Philadelphia
Brooke Brown bbbb aaaa
(e-mail address removed) Philadelphia
Carol Clark cccc aaaa
(e-mail address removed) NO LOCATION
David Drew dddd aaaa
(e-mail address removed) Philadelphia
Erin Eisley eeee bbbb
(e-mail address removed) NO LOCATION
Felicia Ford ffff
bbbb (e-mail address removed) Phoenix
question. I'm using Excel 2010 and I have a weekly table similar to
the one that you see in Figure 1 below. The last field, entitled
Location has some blank entries in it and this is the way it comes out
of the system and I have no control over that aspect of it. I want my
code to simply go down the Location column and anywhere it finds a
blank space insert the words NO LOCATION. Please see Figure 2 for what
the end result should look like. Can anyone help me out with the code
that would make this happen? Thank you very much.
Fig 1.
FirstName Lastname EmpID MgrEmpID
Email Location
Alex Anderson aaaa abcxy
(e-mail address removed) Philadelphia
Brooke Brown bbbb aaaa
(e-mail address removed) Philadelphia
Carol Clark cccc aaaa
(e-mail address removed)
David Drew dddd aaaa
(e-mail address removed) Philadelphia
Erin Eisley eeee bbbb
(e-mail address removed)
Felicia Ford ffff
bbbb (e-mail address removed) Phoenix
Fig 2.
FirstName Lastname EmpID MgrEmpID
Email Location
Alex Anderson aaaa abcxy
(e-mail address removed) Philadelphia
Brooke Brown bbbb aaaa
(e-mail address removed) Philadelphia
Carol Clark cccc aaaa
(e-mail address removed) NO LOCATION
David Drew dddd aaaa
(e-mail address removed) Philadelphia
Erin Eisley eeee bbbb
(e-mail address removed) NO LOCATION
Felicia Ford ffff
bbbb (e-mail address removed) Phoenix