IF/AND Statement with CountIf
I'm trying to create a formula that will look at my "Measurement" column for the text "PBI" at the beginning of this formula: =IF([Rank/Actual PTR]434 > [Score/Goal PTR]434, "PTR Exceeded", IF([Rank/Actual PTR]434 = [Score/Goal PTR]434, "PTR Met", IF([Rank/Actual PTR]434 < [Score/Goal PTR]434, "PTR Not Met", ""))).
So, I only want the Rank/Actual & Score/Goal fields to result in a value IF the Measurement column contains "PBI". I'm assuming I need to include a CountIf formula, but don't know where to put it in my existing formula.
Hope that makes sense. Any help is appreciated.
Comments
-
Hi Donni -
If i have understood your question correctly, you could use a formula like below (see image):
=IF(FIND("PBI", Measurement1) <> 0, IF([Rank/Actual PTR]1 > [Score/Goal PTR]1, "PTR Exceeded", IF([Rank/Actual PTR]1 = [Score/Goal PTR]1, "PTR Met", IF([Rank/Actual PTR]1 < [Score/Goal PTR]1, "PTR Not Met", ""))), "")
This will first look to see if the measurement column contains the phrase "PBI", if so then move onto your existing logic.
I hope this helps you out?
Sean
-
That did it! Thank you so much!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.8K Get Help
- 410 Global Discussions
- 219 Industry Talk
- 457 Announcements
- 4.7K Ideas & Feature Requests
- 143 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!