Add common prefix to all cells in Excel

前端 未结 10 1517
夕颜
夕颜 2020-12-23 11:12

I have a column with some text in each cell.
I want to add some text, for example \"X\", at the start of all cells. For example:

A             B
-----  &         


        
相关标签:
10条回答
  • 2020-12-23 11:47
    1. Enter the function of = CONCATENATE("X",A1) in one cell other than A say D
    2. Click the Cell D1, and drag the fill handle across the range that you want to fill.All the cells should have been added the specific prefix text.

    You can see the changes made to the repective cells.

    0 讨论(0)
  • 2020-12-23 11:47

    Option 1: select the cell(s), under formatting/number/custom formatting, type in

    "BOB" General

    now you have a prefix "BOB" next to numbers, dates, booleans, but not next to TEXTs

    Option2: As before, but use the following format

    _ "BOB" @_

    now you have a prefix BOB, this works even if the cell contained text

    Cheers, Sudhi

    0 讨论(0)
  • 2020-12-23 11:50

    Select the cell you want to be like this, go to cell properties (or CTRL 1) under Number tab in custom enter "X"@

    Put a space between " and @ if needed

    0 讨论(0)
  • 2020-12-23 11:50

    Type a value in one cell (EX:B4 CELL). For temporary use this formula in other cell (once done delete it). =CONCAT(XY,B4) . click and drag till the value you need. Copy the whole column and right click paste only values (second option).

    I tried and it's working as expected.

    0 讨论(0)
提交回复
热议问题