View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Glenn Glenn is offline
external usenet poster
 
Posts: 1,240
Default I am trying to set up a formula to show a subsequent IP Address.

jewell wrote:
I am trying to set up a formula where i can enter an IP address and have that
the cell below that shows that IP adress + 1. The problem is the decimal
points in the 1 st ip address. It's causing a value error. Any idea how to
do what i'm attempting?



With no error checking for valid IP addresses:

=LEFT(SUBSTITUTE(A1,".","*",3),FIND("*",SUBSTITUTE (A1,".","*",3))-1)&
"."&TRIM(RIGHT(SUBSTITUTE(A1,".",REPT(" ",9)),9))+1