Hello! I need assistance creating a custom formula in HubSpot. I’m trying to count the number of conversions if a recent conversion (form name) includes any of the following:
Arts, Wit, Geo, Mag, ELA
I created this formula, but there are a few erros that I do not know how to resolve.
I hope this helps guide you in the right direction. Please don’t hesitate to reach out if you have any additional questions, both myself and the Community are here to assist!
Sam, Community Manager
Thank you, this was the AI-generated solution that HubSpot came up with, and it worked. I finally asked the quesiton in the correct way.
COUNT(IF(CONTAINS([CONTACT.recent_conversion_event_name], “Arts”) OR CONTAINS([CONTACT.recent_conversion_event_name], “Geo”) OR CONTAINS([CONTACT.recent_conversion_event_name], “Wit”) OR CONTAINS([CONTACT.recent_conversion_event_name], “Mag”) OR CONTAINS([CONTACT.recent_conversion_event_name], “ELA”), [CONTACT.recent_conversion_event_name], NULL))