VLOOKUP Formula?
Hello,
I need help with creating a formula that captures two criteria:
1- It assigns a score based on the type of incident.
2- If multiple incidents are logged in a single cell (via a multiple-choice dropdown), the score assigned will correspond to the incident with the lowest weight. For example, if two incidents are logged, such as First Aid and Record Only, the formula will score for First Aid, as it has the lower score.
Please note that having a single dropdown for this column and logging additional incidents in separate columns is not a viable option for us.
I appreciate any help you can provide.
Best Answers
-
Can you try this?
=IF(HAS( [Incident Type]@row, "recordable"), 1, IF(OR(HAS( [Incident Type]@row, "Environmental Release"), HAS([Incident Type]@row, "First Aid"), HAS([Incident Type]@row, "Vehicle Incident")), 2, IF(OR(HAS( [Incident Type]@row, "Property Damage"), HAS([Incident Type]@row, "Subcontractor Incident")), 3, IF(OR(HAS( [Incident Type]@row, "Near Miss"), HAS([Incident Type]@row, "Personal Medical"), HAS([Incident Type]@row, "Record Only"), HAS([Incident Type]@row, "Regulatory Agency Visits")), 4, ""))))
...
-
@heyjay it worked! thank you so much!
Answers
-
Can you try this?
=IF(HAS( [Incident Type]@row, "recordable"), 1, IF(OR(HAS( [Incident Type]@row, "Environmental Release"), HAS([Incident Type]@row, "First Aid"), HAS([Incident Type]@row, "Vehicle Incident")), 2, IF(OR(HAS( [Incident Type]@row, "Property Damage"), HAS([Incident Type]@row, "Subcontractor Incident")), 3, IF(OR(HAS( [Incident Type]@row, "Near Miss"), HAS([Incident Type]@row, "Personal Medical"), HAS([Incident Type]@row, "Record Only"), HAS([Incident Type]@row, "Regulatory Agency Visits")), 4, ""))))
...
-
@heyjay it worked! thank you so much!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 423 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 59 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!