ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How do I automatically add a prefix to cell value in Excel? (https://www.excelbanter.com/excel-discussion-misc-queries/180437-how-do-i-automatically-add-prefix-cell-value-excel.html)

KimG

How do I automatically add a prefix to cell value in Excel?
 
If I have a list in which the first characters repeat, (i.e. CDAxxxx), how do
I make it so that I only have to type the xxxx and the CDA is automatically
prepended?

JP[_4_]

How do I automatically add a prefix to cell value in Excel?
 
You could use a helper column, for example:

In cell A1, type "xxxx"

In cell B1, put formula

="CDA"&A1


HTH,
JP

On Mar 18, 10:18*am, KimG wrote:
If I have a list in which the first characters repeat, (i.e. CDAxxxx), how do
I make it so that I only have to type the xxxx and the CDA is automatically
prepended?



Gord Dibben

How do I automatically add a prefix to cell value in Excel?
 
FormatCellsNumberCustom "CDA"0


Gord Dibben MS Excel MVP

On Tue, 18 Mar 2008 07:18:01 -0700, KimG wrote:

If I have a list in which the first characters repeat, (i.e. CDAxxxx), how do
I make it so that I only have to type the xxxx and the CDA is automatically
prepended?




All times are GMT +1. The time now is 10:14 AM.

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