Large Number more than 18 Number

elharbia

New Member
Joined
Sep 22, 2017
Messages
1
I have inquiry ,, I have serials of Sim Cards like 8930410717166677655 & 8930410717166677656
and i have like 300 number serialized to 8930410717166677955
Now how to used fill down by excel

No.Serial Number
18930410717166677655
28930410717166677655
38930410717166677655
48930410717166677655
58930410717166677655
68930410717166677655
78930410717166677655
88930410717166677655
98930410717166677655
108930410717166677655
118930410717166677655
128930410717166677655
138930410717166677655
148930410717166677655
158930410717166677655
168930410717166677655
178930410717166677655
188930410717166677655
198930410717166677655

<colgroup><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Here is a way to do it with a macro. Put the SIM card number into a cell in either one of these ways... either format the cell as Text, put the number into the Formula Bar and hit enter or type an asterisk into the cell and then type or copy the number after it. Once you have the 18-digit number in the cell, select that cell and run the macro. The first thing the macro will do is ask how many cells under the selected cell you want to fill down serially. Once you answer the question, the macro will fill in that number of cells with the serialized SIM numbers.
Code:
[table="width: 500"]
[tr]
	[td]Sub FillDownSIMcards()
  Dim R As Long, Ans As Variant, SIM As Variant
  Ans = Application.InputBox("Fill down how many rows from selected cell?", Type:=1)
  If IsNumeric(Ans) Then
    SIM = CDec(ActiveCell.Value)
    For R = 1 To Ans
      SIM = CDec(SIM) + 1
      ActiveCell.Offset(R).NumberFormat = "@"
      ActiveCell.Offset(R).Value = Format$(SIM, "000000000000000000")
    Next
  End If
End Sub[/td]
[/tr]
[/table]
 
Upvote 0

Forum statistics

Threads
1,216,550
Messages
6,131,304
Members
449,642
Latest member
jobon

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