+ Reply to Thread
Results 1 to 4 of 4

Convert IP Address to Just C Class Using a Formula in Excel

  1. #1
    Registered User
    Join Date
    03-04-2023
    Location
    Vancouver, Canada
    MS-Off Ver
    Office 365 for Mac
    Posts
    3

    Convert IP Address to Just C Class Using a Formula in Excel

    Hello everyone,

    I'm looking for a formula I can use to convert an IP address to just the C Class (meaning just the first three series of numbers and two decimals).

    For example, I would like the formula to automatically convert:

    10.171.55.208 to 10.171.55
    562.144.176.82 to 562.144.176
    64.235.222.9 to 64.235.222

    How can I go about doing this?

    Thanks,
    Biztyke
    Last edited by biztyke; 03-04-2023 at 08:25 PM.

  2. #2
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,860

    Re: Convert IP Address to Just C Class Using a Formula in Excel

    If your text is in cell A1:

    =TEXTBEFORE(A1,".",3)

  3. #3
    Registered User
    Join Date
    03-04-2023
    Location
    Vancouver, Canada
    MS-Off Ver
    Office 365 for Mac
    Posts
    3

    Re: Convert IP Address to Just C Class Using a Formula in Excel

    Ah, thanks so much! This will be a huge timesaver.

  4. #4
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,860

    Re: Convert IP Address to Just C Class Using a Formula in Excel

    You're welcome.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Convert local file address to sharepoint address
    By admat in forum Excel General
    Replies: 2
    Last Post: 03-06-2023, 06:36 PM
  2. Extracting the class C address from an IP address via a formula in Excel
    By floep in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-04-2023, 05:53 PM
  3. Convert text address to cell reference address
    By shaod in forum Excel General
    Replies: 1
    Last Post: 12-23-2011, 01:37 AM
  4. convert excel file to address list
    By danman4 in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 01-08-2010, 05:07 PM
  5. Excel - convert row address listing to columnar database
    By Thumbpick in forum Excel General
    Replies: 2
    Last Post: 05-20-2006, 04:14 PM
  6. I need a Palm PDA address template to convert Excel spreadsheets
    By CampDave in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-16-2005, 03:06 PM
  7. [SOLVED] Convert Word address list to Excel
    By Mluera in forum Excel General
    Replies: 1
    Last Post: 02-11-2005, 11:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1