Solved

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

Posted on 2011-09-17
6
307 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

726 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