Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2012

    Unanswered: Extract text before the space

    Hello all, Good morning.

    I am trying to generate a job number out of some values in columns. Values look like this : 051502-003502 MP

    As you can see that value contains Dash and space. What i am trying to do is capture only the numbers before the space. So it would be 051502-003502.

    How can i do this? I have tried using the Format Function. But its not doing anything. Need some help on this

  2. #2
    Join Date
    Mar 2009
    Provided Answers: 14
    Left([Column], Instr([Column], " ") - 1)
    Have a nice day!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts