Trying to create separate formulas to extract substrings from a cell.
My application exports to a csv and combines data from different areas, putting into one cell.
I would like to split the data like this.
Example: {A1} = 192.168.1.1bi.OPC.1:Analog Item '123-10.5555' Bits 2
{B1} = 192.168.1.1
{C1} = obi.OPC.1
{D1} = Analog Item
{E1} = '123-10.2222'
{F1} = Bits 2
I was able to get the first two substrings but having trouble getting the remaining.
Formula: {B1} =LEFT(A1, SEARCH(":",A1)-1) 'IP Address
{C1} =MID(A1, SEARCH(":",A1) + 1, SEARCH(":",A4,SEARCH(":",A1)+1) - SEARCH(":",A1) - 1)
Appreciate any assistance !!
PuJo
My application exports to a csv and combines data from different areas, putting into one cell.
I would like to split the data like this.
Example: {A1} = 192.168.1.1bi.OPC.1:Analog Item '123-10.5555' Bits 2
{B1} = 192.168.1.1
{C1} = obi.OPC.1
{D1} = Analog Item
{E1} = '123-10.2222'
{F1} = Bits 2
I was able to get the first two substrings but having trouble getting the remaining.
Formula: {B1} =LEFT(A1, SEARCH(":",A1)-1) 'IP Address
{C1} =MID(A1, SEARCH(":",A1) + 1, SEARCH(":",A4,SEARCH(":",A1)+1) - SEARCH(":",A1) - 1)
Appreciate any assistance !!
PuJo