Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Extract IP address from...

Hello All,
I am trying to extract the IP address from the following:

Capsuletech: 10E-PICU Rm 10-436 Bed 20 10.102.42.213 ping
Capsuletech: 10E-PICU Rm 10-434 Bed 21 10.102.42.215 ping

I've tried the following but it keeps the word ping after the IP address.

=RIGHT(A3,FIND(".",A3,FIND(".",A3,FIND(".",A3)-3)-3)-24)

Results:
10.102.42.213 ping
10.102.42.215 ping

I can't figured out how to get rid of the word ping.

Thanks
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Extract IP address from...

On Tuesday, January 19, 2016 at 11:00:36 AM UTC-5, Claus Busch wrote:
Hi,

Am Tue, 19 Jan 2016 07:50:14 -0800 (PST) schrieb :

Results:
10.102.42.213 ping
10.102.42.215 ping

I can't figured out how to get rid of the word ping.


try:

=SUBSTITUTE(MID(A3,FIND(".",A3)-2,99)," ping",)


Regards
Claus B.
--
Vista Ultimate / Windows7
Office 2007 Ultimate / 2010 Professional


That did it. Thank you very much!
Jim
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Extract email(s) from address field Eli[_4_] Excel Discussion (Misc queries) 3 November 7th 14 10:42 AM
How do I extract a string from an IP address in Excel? mardoh Excel Discussion (Misc queries) 2 February 3rd 10 02:54 PM
How do I extract a string from an IP address in Excel? Don Guillett[_2_] Excel Discussion (Misc queries) 0 February 3rd 10 02:21 PM
Extract address data Marco Margaritelli Excel Worksheet Functions 2 August 31st 09 07:58 PM
How to extract a web address from a hyperlink cell? El Rebelde Excel Discussion (Misc queries) 2 November 16th 06 04:44 PM


All times are GMT +1. The time now is 06:45 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"