How to fill down IP Address with increment in Excel?
Sometimes you may need to assign IP address to your colleagues, and the range of IP address may generate from 192.168.1.1 to 192.168.10.1 for instance. What can you do to generate them easily? Actually, the Auto Fill feature cannot work with this, or you can just create them manually by entering them in cells one by one? This article will recommend you two methods to fill down IP address with increment in Excel.
- Reuse Anything: Add the most used or complex formulas, charts and anything else to your favorites, and quickly reuse them in the future.
- More than 20 text features: Extract Number from Text String; Extract or Remove Part of Texts; Convert Numbers and Currencies to English Words.
- Merge Tools: Multiple Workbooks and Sheets into One; Merge Multiple Cells/Rows/Columns Without Losing Data; Merge Duplicate Rows and Sum.
- Split Tools: Split Data into Multiple Sheets Based on Value; One Workbook to Multiple Excel, PDF or CSV Files; One Column to Multiple Columns.
- Paste Skipping Hidden/Filtered Rows; Count And Sum by Background Color; Send Personalized Emails to Multiple Recipients in Bulk.
- Super Filter: Create advanced filter schemes and apply to any sheets; Sort by week, day, frequency and more; Filter by bold, formulas, comment...
- More than 300 powerful features; Works with Office 2007-2019 and 365; Supports all languages; Easy deploying in your enterprise or organization.
If you want to generate the range of IP Address from 192.168.1.1 to 192.168.10.1 (the increment number locates in the third octet), the following formula will help you.
1. Select a blank cell (says cell B2), enter formula ="192.168."&ROWS($A$1:A1)&".1" into the formula bar, and then press the Enter key. See screenshot:
2. Then you can see the first IP Address is created, select this cell, drag its Fill Handle down to the cell until all needed IP Addresses are created.
1. In the formula, 192, 168 and 1are the first two octet and the last octet of the IP Address. A1 means that the row number of this cell is extracted as the third octet of the IP Address. If the third octet number begins with 3, A1 should be changed to A3, and the $A$1 is a constant, you needn’t change it.
2. For generating IP Addresses increment the first octet, please use this formula:
3. For generating IP Addresses increment the second octet, pleas apply this formula:
4. And for generating IP Addresses increment the fourth octet, this formula will work.
5. Please change the octet numbers based on your needs.
If the above formulas are hard to remember, the Insert Sequence Number utility of Kutools for Excel can help you easily solve this problem.
1. Click Kutoos > Insert > Insert Sequence Number. See screenshot:
2. In the Insert Sequence Number dialog box, you need to:
(2) Enter the start number of the increment octet into the Start number box.
(3) Specify the increment number in the Increment box.
(4) Specify the number of digits.
(5) Enter the fixed octets of your IP Address separately into the Prefix(optional) and the Suffix(optional) boxes.
(6) Click the Add button.
3. When you need to create the IP Addresses with increment you specified, please select the range of cells you need to locate the IP Addresses, then select this IP Address rule in the Insert Sequence Number dialog box, and finally click the Fill Range button. See screenshot:
You can also use this utility to generate invoice number as well.
Kutools for Excel includes more than 300 handy Excel tools. Free to try with no limitation in 60 days. Download the free trial now!
- How to fill column with series repeating pattern numbers in Excel?
- How to fill series of numbers in a filtered list column in Excel?