buschman007
New Member
- Joined
- May 30, 2018
- Messages
- 6
I have a list of IP addresses:
10.9.8.14
10.9.8.24
10.9.8.17
10.9.8.56
10.115.4.3
10.115.4.16
10.115.4.88
10.24.2.132
10.24.2.55
I am looking for a formula to take this column and generate the following in the next column:
10.9.8.0
10.9.8.0
10.9.8.0
10.9.8.0
10.115.4.0
10.115.4.0
10.115.4.0
10.24.2.0
10.24.2.0
The best I have gotten thus far is this:
=REPLACE(H3,10,FIND(".",H3)+2,"0")
However, this only works for longer IPs. Shorter ones don't seem to work. I can adjust the "10" to a shorter number, which will work for shorter IPs. however then longer IPs will replace everything after the 2nd '.'
This formula isn't actually counting out the third dot and replacing the number after said dot with 0, which is what I'm after. I have been scouring around and have not found what I am looking for. Any help would be appreciated.
Thanks,
Mike
10.9.8.14
10.9.8.24
10.9.8.17
10.9.8.56
10.115.4.3
10.115.4.16
10.115.4.88
10.24.2.132
10.24.2.55
I am looking for a formula to take this column and generate the following in the next column:
10.9.8.0
10.9.8.0
10.9.8.0
10.9.8.0
10.115.4.0
10.115.4.0
10.115.4.0
10.24.2.0
10.24.2.0
The best I have gotten thus far is this:
=REPLACE(H3,10,FIND(".",H3)+2,"0")
However, this only works for longer IPs. Shorter ones don't seem to work. I can adjust the "10" to a shorter number, which will work for shorter IPs. however then longer IPs will replace everything after the 2nd '.'
This formula isn't actually counting out the third dot and replacing the number after said dot with 0, which is what I'm after. I have been scouring around and have not found what I am looking for. Any help would be appreciated.
Thanks,
Mike