Discussion:
increment IP address.
(too old to reply)
d
2013-04-18 15:23:47 UTC
Permalink
Hi all,
is it possible to create a formula to increment (only in the last octet) an IP address present in a cell and display it in another cell?

if P30 has ip address 192.168.10.1 I need A10 to display 192.168.10.2
Claus Busch
2013-04-18 15:43:49 UTC
Permalink
Hi,
Post by d
is it possible to create a formula to increment (only in the last octet) an IP address present in a cell and display it in another cell?
if P30 has ip address 192.168.10.1 I need A10 to display 192.168.10.2
in A10 try:
=SUBSTITUTE(P30,TRIM(RIGHT(SUBSTITUTE(P30,".",REPT("
",255)),255)),TRIM(RIGHT(SUBSTITUTE(P30,".",REPT(" ",255)),255))+1)


Regards
Claus Busch
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2
Loading...