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
- 63K Get Help
- 380 Global Discussions
- 212 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 305 Events
- 34 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!