Adding a letter to the start of each cell

C

Colin Hayes

Hi

I have a series of numbers in column A. I need to add the letter B to
the beginning of each.

Can someone suggest some code to achieve this?


Grateful for any help.


Best Wishes
 
D

Dave Peterson

Maybe you could use a helper column that would do the work for you:

="B"&A1
or
="B"&text(a1,"00000")
if you had some sort of special format.

Then you could drag that formula down as far as you need (to match column A).

Then select that column B:
Edit|Copy
select column A
Edit|paste special|values

And delete that helper column.
 
H

haris

Maybe you could use a helper column that would do the work for you:

="B"&A1
or
="B"&text(a1,"00000")
if you had some sort of special format.

Then you could drag that formula down as far as you need (to match columnA).

Then select that column B:
Edit|Copy
select column A
Edit|paste special|values

And delete that helper column.

Thanks!
 
D

Don Guillett

Hi

I have a series of numbers in column A. I need to add the letter B to
the beginning of each.

Can someone suggest some code to achieve this?


Grateful for any help.


Best Wishes

or a custom format
 
C

cadel89

Hi

I have a series of numbers in column A. I need to add the letter B to
the beginning of each.

Can someone suggest some code to achieve this?


Grateful for any help.


Best Wishes
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top