Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to add comma before number in Excel?

Suppose you have a list of text strings, and you want to add comma before first appearing number as below screenshots shown, how can you quickly solve it in Excel? Here I introduce formulas and a handy tool to help you handle with it.

doc add comma before number 1

Add comma before first number with formulas

Add comma before every number of a string with Kutools for Excel good idea3


Add comma before first number with formulas


1. Firstly, you need to identify the location of the number. Select a blank cell next to the list, here is B1, and type this formula =MATCH(1,ISNUMBER(MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1)+0)+0,0), and type Shift + Ctrl + Enter keys. Then drag the autofill handle down to apply cells with this formula.

doc add comma before number 2
doc add comma before number 3

2. Go to C1, and type this formula =REPLACE(A1,B1,1,","&MID(A1,B1,1)), and press Enter key, and then drag autofill handle down to apply this formula to cells.

doc add comma before number 4
doc add comma before number 5

Tip:

1. In above formulas, A1 is the data cell, and B1 is the first formula cell.

2. You can paste the result as Value in another location.


Add comma before every number of a string with Kutools for Excel

If you want to add comma before every number of a string, Kutools for Excel’s Add Text utility can do this favor.

Kutools for Excel, with more than 120 handy Excel functions, enhance your working efficiency and save your working time.

After free installing Kutools for Excel, please do as below:

1. Select the cells of data, and click Kutools > Text > Add Text. See screenshot:

doc add period after number 10

2. Then in the Add Text dialog, type comma , into Textbox, and check Only add to option and select 1st character is number. You can see the result in the preview pane. See screenshot:

doc add comma before number 7

3. Click Ok. Now comma has been added before every number. See screenshot:

doc add comma before number 8

Click here to know more about Add Text.


Add Text (add character/word to a specific location of each cell in a range.)

doc add text 6

Recommended Productivity Tools

Ribbon of Excel (with Kutools for Excel installed)

300+ Advanced Features Increase Your Productivity by 71%, and Help You To Stand Out From Crowd!

Would you like to complete your daily work quickly and perfectly? Kutools For Excel brings 300+ cool and powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) for 1500+ work scenarios, helps you solve 82% Excel problems.

  •  Deal with all complicated tasks in seconds, help to enhance your work ability, get success from the fierce competition, and never worry about being fired.
  •  Save a lot of work time, leave much time for you to love and care the family and enjoy a comfortable life now.
  •  Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands, and give you a healthy body.
  •  Become an Excel expert in 3 minutes, and get admiring glance from your colleagues or friends.
  •  No longer need to remember any painful formulas and VBA codes, have a relaxing and pleasant mind, give you a thrill you've never had before.
  •  Spend only $39, but worth than $4000 training of others. Being used by 110,000 elites and 300+ well-known companies.
  •  60-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years. Buy once, use forever.
  •  Change the way you work now, and give you a better life immediately!

Office Tab Brings Efficient And Handy Tabs to Office (include Excel), Just Like Chrome, Firefox, And New IE

  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Open and create documents in new tabs of same window, rather than in new windows.
  • Help you work faster and easily stand out from the crowd! One second to switch between dozens of open documents!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.

Be the first to comment.