ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How to prefix "2" to every cell in a column (https://www.excelbanter.com/excel-discussion-misc-queries/84614-how-prefix-2-every-cell-column.html)

Chirag Dedhia

How to prefix "2" to every cell in a column
 
For ex: if the Value in the Cell is "3456" i want to change that to "23456".
Similarly every cell should be prefixed with "2"

Gary''s Student

How to prefix "2" to every cell in a column
 
If all the cells in question contain 4 digit numbers, then:

1 enter 20000 in an un-used cell
2 copy the cell
3 select the cells you want to change
4 edit / paste / special / with the addition button checked

if the cells do not contain 4 digit numbers, then do not use this method.
--
Gary's Student


"Chirag Dedhia" wrote:

For ex: if the Value in the Cell is "3456" i want to change that to "23456".
Similarly every cell should be prefixed with "2"


[email protected]

How to prefix "2" to every cell in a column
 
How about using custom format. Format the desired cells as 2####.
Numbers entered in these cells will automatically be prefixed with a
"2".


Chirag Dedhia

How to prefix "2" to every cell in a column
 
Wow Both methods worked.... Thanks ppl! Thanks a million!



All times are GMT +1. The time now is 12:35 AM.

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