Solved

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

Posted on 2011-09-17
6
274 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
LVL 16

Author Comment

by:MikeMCSD
Comment Utility
>> 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
Comment Utility
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
Comment Utility
thanks, that worked.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
This article will show you how to use shortcut menus in the Access run-time environment.
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 in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

744 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

14 Experts available now in Live!

Get 1:1 Help Now