Sequential Numbers in Excel Value

austinandrei

Board Regular
Joined
Jun 7, 2014
Messages
117
Hi,
How do I add sequential numbering in excel?
Say I have below data

Cell A1 Mango
Cell A2 Apple
Cell A3 Orange
Cell A4 Banana

and I would like it to be like below which is a function in MS Word

Cell A1 1. Mango
Cell A2 2. Apple
Cell A3 3. Orange
Cell A4 4. Banana

I don't want to use concatenate. Just an excel trick if any.
Thanks!
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Hi,

Try this :

=LEFT(A1,FIND(ROW(A1),A1))&" "&SUBSTITUTE(A1,LEFT(A1,FIND(ROW(A1),A1)),ROW(A1)&".")
 
Upvote 0
You could put this formula...

=ROWS(A$1:A1)&". "&A1

in a blank cell and copy it down for as many rows as you have data in Column A, then copy those formula cells and PasteSpecial/Values over top of your original list, then delete the formulas.
 
Upvote 0
You could put this formula...

=ROWS(A$1:A1)&". "&A1

in a blank cell and copy it down for as many rows as you have data in Column A, then copy those formula cells and PasteSpecial/Values over top of your original list, then delete the formulas.
By the way, if you were thinking of using a macro, then you can consider this one...
Code:
[table="width: 500"]
[tr]
	[td]Sub InsertNumericalBullets()
  With Range("A1", Cells(Rows.Count, "A").End(xlUp))
    .Value = Evaluate(Replace("IF(@="""","""",ROW(@)&"". ""&@)", "@", .Address))
  End With
End Sub[/td]
[/tr]
[/table]
 
Upvote 0
Hi both, thanks for the reply. Yes I have just used the Rows formula to do the task. Was just thinking if there's a trick in excel that doesn't use macro or formula to do it just like in MS Word but it seems there's none. Thanks! :)
 
Upvote 0
Was just thinking if there's a trick in excel that doesn't use macro or formula to do it..
You can do it without macro or formula, but it is more work than just using the formula. :)

- In another column, fill with the sequential numbers. This could be quick by entering the first 2, selecting them & double-clicking the Fill Handle if next to your actual data.
- In the next column type the first entry manually (eg "1. Mango")
- If you have Flash Fill enabled, as you begin to type the second entry (eg "2. ") the rest of the column of values should appear pale grey. Press Enter & they will be filled automatically.

Note too, that if a row of the data was subsequently deleted, this result would not auto-adjust like Word bullets or the formula method.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,894
Messages
6,175,254
Members
452,623
Latest member
Techenthusiast

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top