What function to use when looking for part of a string?
Hmm, I've been wondering how to explain this.
I have a column that is either filled through a query, but also with manual comments. So as you've guessed they don't always match in layout. The layout should be XXXX (building number) XX (date) (text) (invoice number). But when entered manually it's sometimes: (invoice number) (text) XXXX XX.
Now I need the date XX, which I can't get when using a right or left, cause they're not always in the same position.
I have 1 column with the XXXX building numbers and I somehow need to match these 4 XXXX in the other column and then go right 2 positions.
For example:
The second line is as it should be, so the date is 00.
The first line is entered wrongly, so it should look for 7112 and then give me 03.
Gebouw1 TransactieOmschrijving
7112 209909 NUON 711203, voorschot
7112 711200 Af030708240609 31072803
Does anyone have any ideas?
Regards,
Joyce
Hmm, I've been wondering how to explain this.
I have a column that is either filled through a query, but also with manual comments. So as you've guessed they don't always match in layout. The layout should be XXXX (building number) XX (date) (text) (invoice number). But when entered manually it's sometimes: (invoice number) (text) XXXX XX.
Now I need the date XX, which I can't get when using a right or left, cause they're not always in the same position.
I have 1 column with the XXXX building numbers and I somehow need to match these 4 XXXX in the other column and then go right 2 positions.
For example:
The second line is as it should be, so the date is 00.
The first line is entered wrongly, so it should look for 7112 and then give me 03.
Gebouw1 TransactieOmschrijving
7112 209909 NUON 711203, voorschot
7112 711200 Af030708240609 31072803
Does anyone have any ideas?
Regards,
Joyce
Last edited: