Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default I am trying to set up a formula to show a subsequent IP Address.

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?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
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
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
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?



Shortened version:

=LEFT(A1,FIND("*",SUBSTITUTE(A1,".","*",3))-1)&"."&
TRIM(RIGHT(SUBSTITUTE(A1,".",REPT(" ",9)),9))+1
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default I am trying to set up a formula to show a subsequent IP Address.



Please show us what you have and what you want with an example.


--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"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?

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
Copy Excel address book to Word for subsequent use with MSN Hotmai Mike A. Excel Discussion (Misc queries) 1 October 14th 08 01:22 PM
copy formula into the subsequent cells, not contents Janis Excel Discussion (Misc queries) 1 July 30th 07 11:38 PM
use row numbers from a list in subsequent formula carl43m Excel Discussion (Misc queries) 1 August 29th 06 05:47 PM
Formula that will change subsequent cells in a column to match fir Scott B Excel Discussion (Misc queries) 1 March 31st 06 12:19 AM
How can I use a time difference in a subsequent formula in Excel? numberman37 Excel Worksheet Functions 10 July 26th 05 07:42 PM


All times are GMT +1. The time now is 05:15 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"