Formulas and Functions

Formulas and Functions

Ask for help with your formula and find examples of how others use formulas and functions to solve a similar problem.

CONTAINS with Trigger Search

Hi all,

Thank you in advance for the help. Below is what I am trying to achieve.

The columns are as follows:

Address and Device Type

Explanation:

When Device Type contains the word "Coin". This will use the address of the device type that contains "Coin". This address will then be checked against the address column until it finds a Device Type that is A or B and reports back which one it found first A or B.

My thinking is as follows, but I don't know the link I a missing:

=IF(CONTAINS("COIN", [Device Type]@row), 1, 0) <-- Identifies a TRUE or FALSE to initiate the search

Assume True (1)

=IF(AND(MATCH([Address]@row, [Address]:[Address]), [Device Type]@row = "A"), "A", "B")

Ideally this would then tell me Yes, I found the address that matches this and the device type matches the criteria here is the result A or B.

Appreciate the support.

-Charles

Best Answer

  • ✭✭✭
    Answer ✓

    Hey Paul,

    Apologies for the delay on this. What I ended up doing was adjusting our ERP report export to include a unique identifier for me to flag a keyword in the description of the unit. To answer your question and close this discussion out.

    If a unit was flagged as a COIN. We went back and concat on description and product field we had in our system this gave me enough information to know what Product the coin unit was supposed to paired with. I then just created a report that grouped by PO and the filter worked perfectly to easily identify service, pairing, and location.

    Thanks for the support while I navigated the rabbit hole!

    -Charles

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!

Trending in Formulas and Functions