More excel help !!!!
#1
Scooby Regular
Thread Starter
Join Date: Mar 2001
Location: Berkshire
Posts: 5,528
Likes: 0
Received 0 Likes
on
0 Posts
More excel help !!!!
Hello all
Can I ask for some more help from the Excel wizards ?
I am trying to use the replace function but I am not sure its the right thing, and even if it can do what I want.
I have a cell, A1 with the contents "bf400_p4unulf01", A2 has "28". In A3 I want to have the resulting output that says "9.0.0.28", where...
9.0. is entered as text
0. is generated because of the 1 in the string "bf400_p4unulf01"
28 is taken from cell A2
in the same manner, I have a cell, B1 with the contents "bf400_p4unulf02", A2 has "43". In A3 I want to have the resulting output that says "9.0.1.43", where...
9.0. is entered as text
1. is generated because of the 2 in the string "bf400_p4unulf02"
43 is taken from cell A2
I have tried with REPLACE and I cant get the 0. or 1. to appear in the right place.
Does anyone understand what I want to get, and how to do it ?
Thanks
Dave
Can I ask for some more help from the Excel wizards ?
I am trying to use the replace function but I am not sure its the right thing, and even if it can do what I want.
I have a cell, A1 with the contents "bf400_p4unulf01", A2 has "28". In A3 I want to have the resulting output that says "9.0.0.28", where...
9.0. is entered as text
0. is generated because of the 1 in the string "bf400_p4unulf01"
28 is taken from cell A2
in the same manner, I have a cell, B1 with the contents "bf400_p4unulf02", A2 has "43". In A3 I want to have the resulting output that says "9.0.1.43", where...
9.0. is entered as text
1. is generated because of the 2 in the string "bf400_p4unulf02"
43 is taken from cell A2
I have tried with REPLACE and I cant get the 0. or 1. to appear in the right place.
Does anyone understand what I want to get, and how to do it ?
Thanks
Dave
#2
Moderator
iTrader: (5)
Join Date: Nov 2001
Location: Not all those who wander are lost
Posts: 17,863
Received 0 Likes
on
0 Posts
Dave,
Can you confirm the rules for the 3rd part of the IP address?
1 = 0
2 = 1
Minus one each time?
If so:
=CONCATENATE("9.0.",RIGHT(A1,1)-1,".",B1)
. . . in cell C1 and drag it down.
Can you confirm the rules for the 3rd part of the IP address?
1 = 0
2 = 1
Minus one each time?
If so:
=CONCATENATE("9.0.",RIGHT(A1,1)-1,".",B1)
. . . in cell C1 and drag it down.
Thread
Thread Starter
Forum
Replies
Last Post
Mattybr5@MB Developments
Full Cars Breaking For Spares
28
28 December 2015 11:07 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
12
18 November 2015 07:03 AM
bluebullet29
General Technical
9
05 October 2015 02:17 PM