Skip to main content
Question

Formula using Contain

  • April 18, 2024
  • 0 replies
  • 264 views

Forum|alt.badge.img+5

Hello,

I'm trying to count how many records I have that have for Field "Account Name" that contains the work "Wire" and the Field Name "Funding Indicator Name" that contains ASC.  I'm not getting an error for the way I did the formula but its not counting when the two fields on a record have the "contains" word.

If((Contains([Account Name],"Wire" & Contains([Funding Indicator Name],"ASC"))),1,0)

Appreciate any suggestions.  Thank you

 

 

This topic has been closed for replies.

Forum|alt.badge.img+20
  • Registered
  • April 18, 2024

Syntax is wrong. Try this:

If(
  Contains([Account Name],"Wire") and Contains([Funding Indicator Name],"ASC")
  ,1,0
  )

If this is a checkbox formula, you can also shortcut by only giving it the true option and eliminating the If statement all together. ie:

Contains([Account Name],"Wire") and Contains([Funding Indicator Name],"ASC")


Forum|alt.badge.img+5
  • Author
  • Registered
  • April 19, 2024

Thank you!