arrange IP's in Excel Sheet.

Posted on 2012-09-02
Last Modified: 2012-09-02
Dear All,

I have an excel sheet which included more than 900 IP’s as the attached.

I need to take all the IP’s and make them with the following format:,, …

I need to add a “,” between each IP without any space.

Can you help me doing this please? And how?
Question by:ACS2012
    LVL 20

    Expert Comment

    Download Notepad++ from here:
    Copy the cells from Excel and paste them in a new text file in Notepad++
    Press Ctrl+H in Notepad++ which will bring up the replace dialog. Enter:

    In "Find what": \n
    In "Replac with": ,
    Make sure Extended is selected in the Search Mode
    Press Replace All

    You will now have the list in your desired way. You can easily copy paste it back in Excel if you need it

    Author Comment

    anything I can do from excel without a 3rd party?
    LVL 20

    Expert Comment

    You can do it with a formula. There is a nice guide here: Your case is described under "Create delimiting character"
    LVL 20

    Accepted Solution

    If this is still not what you are looking for, attached is a file with some formulas in column B which can help you. Note that B1 has a formula different from the others (B2, B3, etc.) The final result is in the last cell in the column B, in this case in B3

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
    The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now