Solved

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

Posted on 2011-09-17
6
286 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This article will show you how to use shortcut menus in the Access run-time environment.
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.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

895 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now