IF cell contains specific letter then return value

I'd like to return a value of 120/208 in Service Volts for Xfmr# ending in E
value of 277/480 for Xfmr# ending in X
value of 120/240 for Xfmr# ending with no letter
Thanks
Best Answer
-
Hi @mromaire,
Try this!
=IF(RIGHT([xfmr#]@row, 1) = "X", "277/480", IF(RIGHT([xfmr#]@row, 1) = "E", "120/208", "120/240"))
Hope that helps!
BRgds,
-Ray
Answers
-
Hi @mromaire,
Try this!
=IF(RIGHT([xfmr#]@row, 1) = "X", "277/480", IF(RIGHT([xfmr#]@row, 1) = "E", "120/208", "120/240"))
Hope that helps!
BRgds,
-Ray
-
Thats it! Thanks Ray.
-
I forgot to add how would I exclude cells that are blank?
-
Hi @mromaire,
So glad it worked for you. To exclude the blanks, use this:
=IF(ISBLANK([xfmr#]@row), "", IF(RIGHT([xfmr#]@row, 1) = "X", "277/480", IF(RIGHT([xfmr#]@row, 1) = "E", "120/208", "120/240")))
BRgds,
-Ray
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66.9K Get Help
- 441 Global Discussions
- 153 Industry Talk
- 501 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 79 Community Job Board
- 511 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!