Find function case sensitive
Hello,
I have the following formula that only works if a time is entered hh:mm pm. I can't seem to find a way to get this to accept PM. Only works with pm.
=IF(FIND("pm", [Tech Arrival Time]@row) > 0, "P", "A")
Exhausting my resources before dictating how time is entered.
Thank you in advance
Sharon C.
Best Answer
-
If it is manually entered then you can use a CONTAINS function which is not case sensitive in place of the FIND.
=IF(CONTAINS("pm", [Tech Arrival Time]@row), "P", "A")
Answers
-
How is the data in [Tech Arrival Time]@row entered? Is it part of a date/time stamp system column, or is it manually entered?
-
Hello Paul,
The Tech Arrival Time is entered by the tech onsite.
-
If it is manually entered then you can use a CONTAINS function which is not case sensitive in place of the FIND.
=IF(CONTAINS("pm", [Tech Arrival Time]@row), "P", "A")
-
Thank you so much.
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.3K Get Help
- 364 Global Discussions
- 199 Industry Talk
- 428 Announcements
- 4.4K Ideas & Feature Requests
- 136 Brandfolder
- 127 Just for fun
- 128 Community Job Board
- 445 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 283 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!