ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Add a string to a cell (https://www.excelbanter.com/excel-worksheet-functions/5186-add-string-cell.html)

ramsdesk

Add a string to a cell
 

I have a column with lots of rows having different numbers in it. I need
a add a string to each of the cell before the number.

For example:

Col A

1234
2345
3456
4567

String to be added = 'AB'

Result:

Col A
AB1234
AB2345
AB3456
AB4567

Any help please.... TIA.


--
ramsdesk
------------------------------------------------------------------------
ramsdesk's Profile: http://www.excelforum.com/member.php...o&userid=15705
View this thread: http://www.excelforum.com/showthread...hreadid=273074


Frank Kabel

Hi
using a helper cell in column B:
="AB"&A1



--
Regards
Frank Kabel
Frankfurt, Germany

"ramsdesk" schrieb im
Newsbeitrag ...

I have a column with lots of rows having different numbers in it. I

need
a add a string to each of the cell before the number.

For example:

Col A

1234
2345
3456
4567

String to be added = 'AB'

Result:

Col A
AB1234
AB2345
AB3456
AB4567

Any help please.... TIA.


--
ramsdesk
---------------------------------------------------------------------

---
ramsdesk's Profile:

http://www.excelforum.com/member.php...o&userid=15705
View this thread:

http://www.excelforum.com/showthread...hreadid=273074



Ragdyer

You could try a "Custom" format of:
"AB"General,
Which display and print what you're asking.

This will leave the numbers as real numbers, just in case you might need
future calculations.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"ramsdesk" wrote in message
...

I have a column with lots of rows having different numbers in it. I need
a add a string to each of the cell before the number.

For example:

Col A

1234
2345
3456
4567

String to be added = 'AB'

Result:

Col A
AB1234
AB2345
AB3456
AB4567

Any help please.... TIA.


--
ramsdesk
------------------------------------------------------------------------
ramsdesk's Profile:

http://www.excelforum.com/member.php...o&userid=15705
View this thread: http://www.excelforum.com/showthread...hreadid=273074




All times are GMT +1. The time now is 07:51 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com