Partial Text Search in Range - Index/Match

Rhonda Mitchell
Rhonda Mitchell ✭✭✭
edited 12/09/19 in Formulas and Functions

I have searched for solutions and getting weary.

Challenge find PO# (a 6 digit alpha-numeric) in a string of text (GL_Remark on another sheet to index the actual value cleared general ledger. I had this formula working in Excel:

=INDEX(General Ledger_AmtPaid,MATCH("*"&[@[PO/INV]]&"*",GL_Remark,0))

In SmartSheet

Only finds exact match, ie. KAM307 when nothing else in cell:

=INDEX({General Ledger_AmtPaid}, MATCH([PO/INV]2, {General Ledger_GL Remark 4}, 0))

=INDEX(COLLECT({General Ledger_AmtPaid}, {General Ledger_GL Remark}, [PO/INV]1), 1)

Unparsable:

=INDEX({General Ledger_AmtPaid}, match("*"&[PO/INV]1&"*",FIND({General Ledger_GL Remark})

Invalid Column Value:

=INDEX(COLLECT({General Ledger_AmtPaid}, {General Ledger_GL Remark}, [PO/INV]1), 0)

=INDEX({General Ledger_AmtPaid}, COLLECT({General Ledger_GL Remark}, {General Ledger_GL Remark}, [PO/INV]1))

Invalid Data Type:

=if(FIND([PO/INV]1, {General Ledger_GL Remark},1),"Cleared","Unpaid")

All fields are text/number and did try other types.

I also get invalid data type for a simple Find:

=FIND("KAM", {General Ledger_KAM Range 1})

Any help is appreciated!

 

Tags:

Comments

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!