darrenmccoy
New Member
- Joined
- Mar 26, 2019
- Messages
- 37
- Office Version
- 2019
Hi Experts, Could you help me with formulas to split addresses?
I need to count the spaces from the left and split the street number into column B, then split the street name(s) into column C, then count the spaces from the right and split the the street type into column D.
[TABLE="class: grid, width: 580"]
<colgroup><col><col><col><col></colgroup><tbody>[TR]
[TD]ADDRESS[/TD]
[TD]STREET NUMBERS[/TD]
[TD]STREET NAME[/TD]
[TD]STREET TYPE[/TD]
[/TR]
[TR]
[TD]478 ST KILDA RD[/TD]
[TD="align: right"]478[/TD]
[TD]ST KILDA[/TD]
[TD]RD[/TD]
[/TR]
[TR]
[TD]23 HAMPTON AVE[/TD]
[TD="align: right"]23[/TD]
[TD]HAMPTON[/TD]
[TD]AVE[/TD]
[/TR]
[TR]
[TD]45 WEST LANGHAM RD[/TD]
[TD="align: right"]45[/TD]
[TD]WEST LANGHAM[/TD]
[TD]RD[/TD]
[/TR]
[TR]
[TD]42 JACKSON ST[/TD]
[TD="align: right"]42[/TD]
[TD]JACKSON[/TD]
[TD]ST[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
</tbody>[/TABLE]
I need to count the spaces from the left and split the street number into column B, then split the street name(s) into column C, then count the spaces from the right and split the the street type into column D.
[TABLE="class: grid, width: 580"]
<colgroup><col><col><col><col></colgroup><tbody>[TR]
[TD]ADDRESS[/TD]
[TD]STREET NUMBERS[/TD]
[TD]STREET NAME[/TD]
[TD]STREET TYPE[/TD]
[/TR]
[TR]
[TD]478 ST KILDA RD[/TD]
[TD="align: right"]478[/TD]
[TD]ST KILDA[/TD]
[TD]RD[/TD]
[/TR]
[TR]
[TD]23 HAMPTON AVE[/TD]
[TD="align: right"]23[/TD]
[TD]HAMPTON[/TD]
[TD]AVE[/TD]
[/TR]
[TR]
[TD]45 WEST LANGHAM RD[/TD]
[TD="align: right"]45[/TD]
[TD]WEST LANGHAM[/TD]
[TD]RD[/TD]
[/TR]
[TR]
[TD]42 JACKSON ST[/TD]
[TD="align: right"]42[/TD]
[TD]JACKSON[/TD]
[TD]ST[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
</tbody>[/TABLE]