Hi All,
Quick question:
I have the following data in excel cell:
"alpha.beta.charlie.delta.epsilon.foxtrot.gamma"
I wish to retrieve the value between the last and second last dot("."). That in this case is Foxtrot
I have done several methods to do this, such as using a nested find function in this case to find the the position of the 5th dot and and 6th dot. Once i have the positions of each simply use a mid function between these 2 locations to find "Foxtrot"
The problem with this however is that the number of dots in a text will change, and i always wish to pick up the value between the last and second last dot.
e.g in another case if i have "av.ac.ad.o"
i would want to return "ad"
Is there any easy way to do this, without using vba or plugins
Thanks
Atif
Quick question:
I have the following data in excel cell:
"alpha.beta.charlie.delta.epsilon.foxtrot.gamma"
I wish to retrieve the value between the last and second last dot("."). That in this case is Foxtrot
I have done several methods to do this, such as using a nested find function in this case to find the the position of the 5th dot and and 6th dot. Once i have the positions of each simply use a mid function between these 2 locations to find "Foxtrot"
The problem with this however is that the number of dots in a text will change, and i always wish to pick up the value between the last and second last dot.
e.g in another case if i have "av.ac.ad.o"
i would want to return "ad"
Is there any easy way to do this, without using vba or plugins
Thanks
Atif