Skip to Content
author's profile photo Former Member
Former Member

String MATCH functions in one variable

I am trying to rename some items to a smaller format to save report space in a table I am building.

I have a column with multiple values that have to much text I need to bring down.

Example, the column would contain

BMW Motorsports

Ferrari Motorsports

Mercedes Motorsports

I want them to display as

BMW

Ferrari

Mercedes

An example of my formula so far is

=If(Match([Competitor];"*BMW*");"BMW";0)

I would like to do something like this =If(Match([Competitor];"*BMW*");"BMW";0) Else If(Match([Competitor];"*Ferrari*");"Ferrari";0)

But this is not working, suggestions?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jul 26, 2016 at 05:49 PM

    If you want to extract the first word from the string then use this.

    =Substr([Object];1;Pos([Object];" ")-1)

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.