Formula Help
Hello,
I am trying to get the formula to produce an outcome that will display the type of kit being ordered from various data points. So I need to to display for instance "Heart Failure Kit Non-Bariatric Scale" or "Heart Failure Kit Bariatric Scale" however I keep receiving the unpears error. So it will need to produce the output from combining the data from the CK Type Helper, CareKit Educational Language and Weight/Scale Helper Columns.
Answers
-
Try this:
=[CK Type Helper]@row + " " + IF(CONTAINS("Regular Scale", [Weight/Scale Helper Column]@row), "Regular Scale", IF(CONTAINS("Bariatric Scale", [Weight/Scale Helper Column]@row), "Bariatric Scale", [Educational Language Helper]@row))
-
HI Paul,
That returned a response, however it returned a blood pressure kit response. So if it is anything other than Heart Failure I need to to return a blank response.
Thanks!
-
My apologies. I didn't notice that requirement initially. Give this one a try:
=IF([CK Type Helper]@row = "whatever would indicate a heart failure kit", [CK Type Helper]@row + " " + IF(CONTAINS("Regular Scale", [Weight/Scale Helper Column]@row), "Regular Scale", IF(CONTAINS("Bariatric Scale", [Weight/Scale Helper Column]@row), "Bariatric Scale", [Educational Language Helper]@row)))
-
Almost there, it is pulling the data minus the language at the end
-
It looked like your other formula was only pulling language if the helper was blank. If you want it added in regardless of helper column, it would look more like this:
=IF([CK Type Helper]@row = "whatever would indicate a heart failure kit", [CK Type Helper]@row + " " + IF(CONTAINS("Regular Scale", [Weight/Scale Helper Column]@row), "Regular Scale", IF(CONTAINS("Bariatric Scale", [Weight/Scale Helper Column]@row), "Bariatric Scale", "")) + " " + [Educational Language Helper]@row)
-
Perfect!!! Thank you so much!
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.5K Get Help
- 448 Global Discussions
- 145 Industry Talk
- 481 Announcements
- 5.1K Ideas & Feature Requests
- 85 Brandfolder
- 152 Just for fun
- 73 Community Job Board
- 492 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 304 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!