watercooler
Programmer
I have inherited an abundance of Excel files that had some sloppy data input. Here is an example:
BBR 689.5 - 690.5 683.0 - 684.0 673.0 - 678.0
LUF1 653.0 - 654.5
LUF2 632.5 - 636.0
MUF1 621.5 - 623.0
MUF2 591.5 - 593.0 589.0 - 590.0
Column A contains the zone name and column B contains the zone intervals. If a zone contains more than 1 zone interval it is separated by at least 4 spaces. I can't figure out how to extract it so there is only 1 zone interval per a line, like so:
BBR 689.5 690.5
BBR 683 684
BBR 673 678
LUF1 653 645.5
LUF2 632.5 636
MUF1 621.5 623
MUF2 591.5 593
MUF2 589 590
Can anyone please help me?
BBR 689.5 - 690.5 683.0 - 684.0 673.0 - 678.0
LUF1 653.0 - 654.5
LUF2 632.5 - 636.0
MUF1 621.5 - 623.0
MUF2 591.5 - 593.0 589.0 - 590.0
Column A contains the zone name and column B contains the zone intervals. If a zone contains more than 1 zone interval it is separated by at least 4 spaces. I can't figure out how to extract it so there is only 1 zone interval per a line, like so:
BBR 689.5 690.5
BBR 683 684
BBR 673 678
LUF1 653 645.5
LUF2 632.5 636
MUF1 621.5 623
MUF2 591.5 593
MUF2 589 590
Can anyone please help me?