Solved

Adding text to the end of a value in a row.

Posted on 2011-09-17
6
296 Views
Last Modified: 2012-05-12
I have values like this
"IUC-4100-HD", "KH1040" in the "A" column.

I want to add "-PS" to each row in that column, like :
"IUC-4100-HD-PS", "KH1040-PS", etc.

How can I do this? thanks
0
Comment
Question by:MikeMCSD
  • 3
  • 3
6 Comments
 
LVL 50

Expert Comment

by:barry houdini
ID: 36554579
You could get that result in column B, e.g. if data starts at A2 then put this formula in B2 (or any other column in row 2)

=A2&"-PS"

Copy that formula down the column.

If you want the original data replaced then copy column B and then use Edit > Paste Special > Values to convert to fixed values (not reliant on the formulas) .....and then you can delete the original column

regards, barry
0
 
LVL 16

Author Comment

by:MikeMCSD
ID: 36554601
thanks Barry, ..
I put that formula in "X2", but it just creates one new row, in X3 : "I604-PS".
The remaining 2000 rows are blank.

Do I need to select the whole X column?

0
 
LVL 50

Expert Comment

by:barry houdini
ID: 36554616
Did you mean X3? You may have copied an extra line when you copied the formula from here - make sure you copy only the formula itself.

Paste formula in X2 then put cursor on bottom right corner of the cell until you see a black "+" - that's the "fill-handle" - double click and the formula should fill down the column as far as you have continuous data in the adjacent column (I'm assuming you have data in column W)

regards, barry
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
LVL 16

Author Comment

by:MikeMCSD
ID: 36554646
>> Paste formula in X2 then put cursor on bottom right corner of the cell until you see a black "+" - that's the "fill-handle" - double click  . .

did that, but now it fills in every other row (blank row in between) plus it's
putting the result of the row above it instead of the rows real value
ex: X4 contains  A3's new value.
0
 
LVL 50

Accepted Solution

by:
barry houdini earned 500 total points
ID: 36554669
Like I said, MikeMC, you may have copied an extra line when you copied from here - that can happen and throw the formula out.....

Try deleting column X and starting again. Just type the formula in X2

=A2&"-PS"

and then fill down as before - does that work now
0
 
LVL 16

Author Comment

by:MikeMCSD
ID: 36554725
thanks, that worked.
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Office Picture Manager is not included in Office 2013. This comes as a shock to users upgrading from earlier versions of Office, such as 2007 and 2010, where Picture Manager was included as a standard application. This article explains how…
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
Learn how to create and modify your own paragraph styles in Microsoft Word. This can be helpful when wanting to make consistently referenced styles throughout a document or template.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question