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
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!