Follow via:
RSS
Email Alert
Question
0 Votes
+ -

There has to be an easy way to do this....

I have a column with first name, space, middle initial, period, space, last name. When I try and use the "RIGHT" function to look for the first "space" it's returning some of the last name..... I posted this question a minute ago, but might not have explained it enough. I want to delete the middle initial, and period from the column, leaving just the last name. Is that something that can be done?
Tags: windows, software
20th Feb

Answers (2)

0 Votes
+ -
Never mind
Never mind I knew I have done this before... it's really only
=RIGHT(K14,LEN(K14)-3)

** Providing you have a known fixed number from the left you want to get rid of. Which still leaves the question, what if you wanted to go from the right, to the first space, and extract that... I've been getting errors on that formula as well...
20th Feb
0 Votes
+ -
If your in Unix/Linux
cat file_in|awk '{print $1,$3}' > file_out
Answer the question
Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]

Join the TechRepublic Community and join the conversation! Signing-up is free and quick, Do it now, we want to hear your opinion.