r/excel • • Dec 14 '16

solved Isolating middle IP octets.

Example:

172.20.130.24

10.140.24.154

How can I go about extracting the 3rd octet. The problem is, last octet can be 2 or 3 digits, so I can't use RIGHT. And the 3rd octet itself can be 2 or 3 digits.

2 Upvotes

11 comments sorted by

View all comments

Show parent comment

1

u/Rupispupis Dec 14 '16

Solution verified.

This is the one I ended up using. Thank you!

1

u/Clippy_Office_Asst Dec 14 '16

You have awarded one point to excelevator.
Find out more ^here.