Counting # of WOs in Excel meeting specific criteria
I need a formula for Column F of attached sample spreadsheet based on the following conditions:
If following conditions are met:
Col A is not blank, and the number is unique (format of number is always "yyyy-#######")
Col B does not contain the text string "amd" or "AMD"
Col D is not blank
Col E is not blank, and does not contain "N/A"
Then:
Column F (COUNT_WO) = 1
If the above conditions are not met, then:
Column F (COUNT_WO) = 0
Yes, you're right - only the first occurrence of the WO# is considered unique. Your formula works perfectly...thank you!
NBVC - your formula didn't work correctly in all instances but thanks for offering a solution.
Cheers,
Andrea
Rob Henson
Where there are multiple occurrences of an item in an ID/Reference field I often find it is easier to summarise the data in a Pivot Table. The pivot then gives only row per ID.
If you don't have numbers to summarise, you can use one of the text fields as a Value field and it will apply a count to that field.
You can then use Filters on the Pivot to include/exclude certain values.
=IFERROR(IF(AND(A2<>"",COU