Identify Orders with empty Project type
Hi dear community, this is my first question here... Please help to understand if i'm doing something incorrectly. I did a search in this site, but didn't find an answer.
I have a number of SalesOrders (SO) and many products inside each SO. I need to create a formula to identify SO containing 1 or more lines with empty Project Type.
I tried to use IF(MAX(CONTAINS) like I use to identify Duplicate, but can't finalize it.
Could you please help to find a right formula?
Thanks in advance
Best Answer
-
Hi @Genevieve P. thanks a lot!
As always, just after I posted my question, an idea with COUNTIFS popped up in my mind ))
I understand that in fact I need to consider 2 conditions: Project Type and Project Start Date. Please find below current solution:
=IF(COUNTIFS([Project Type]:[Project Type], ="", SO:SO, SO@row) + COUNTIFS([Project Start Date]:[Project Start Date], ="", SO:SO, SO@row) > 0, 1, 0)
Very friendly beginning in a Community, thanks a lot again!
Answers
-
Thanks for posting your question, and welcome to the Community! 🙂
For your formula, you'll want to use an IF statement to see if the current row has an SO number that is associated with a blank cell in the Type column. We do this by seeing if the current SO has a COUNT greater than 1 of blank cells in the Type column.
Try something like this:
=IF(COUNTIFS(SO:SO, SO@row, Type:Type, "") > 0, 1, 0)
The "" in the COUNTIFS function is searching for blank cells.
Let me know if this works for you!
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
-
Hi @Genevieve P. thanks a lot!
As always, just after I posted my question, an idea with COUNTIFS popped up in my mind ))
I understand that in fact I need to consider 2 conditions: Project Type and Project Start Date. Please find below current solution:
=IF(COUNTIFS([Project Type]:[Project Type], ="", SO:SO, SO@row) + COUNTIFS([Project Start Date]:[Project Start Date], ="", SO:SO, SO@row) > 0, 1, 0)
Very friendly beginning in a Community, thanks a lot again!
-
Ah that makes sense, thanks for posting your solution, @Stanislav Morozov!
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!