Solved

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

Posted on 2011-09-17
6
315 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
Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 
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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

696 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