# 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.

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!

• Employee
edited 11/22/22

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

October 8 - 10, Seattle, WA | Register now

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!

• Employee

Ah that makes sense, thanks for posting your solution, @Stanislav Morozov!