IP address extraction

Ninja2k

New Member
Joined
Jan 8, 2014
Messages
6
Office Version
  1. 2021
As an example I have the following in A1

8.8.8.8 % This is the IP address
55.55.55.55 % This is the IP address
100.100.100.100 % This is the IP address

In B1, B2, B3 I need a formula that searches for the string "% This is the IP address" and returns the IP address. My output should be
8.8.8.8
55.55.55.55
100.100.100.100

Anyone know how I could do this?
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Is this
8.8.8.8 % This is the IP address
55.55.55.55 % This is the IP address
100.100.100.100 % This is the IP address
all in cell A1
or in cells a1:a3
 
Upvote 0
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0
Book1
AB
18.8.8.8 % This is the IP address8.8.8.8
255.55.55.55 % This is the IP address55.55.55.55
3100.100.100.100 % This is the IP address100.100.100.100
Sheet1
Cell Formulas
RangeFormula
B1:B3B1=LEFT(A1,FIND("%",A1)-1)
 
Upvote 0
Solution

Forum statistics

Threads
1,215,172
Messages
6,123,447
Members
449,100
Latest member
sktz

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