Hi,
I’m stumped and need help. I have a file with thousands of entries and I’m trying to add 3 columns that count the first instance of a word in that specific range. It will check for “notable”, “minor”, “test”.
Column B will have ticket numbers (many of them are duplicates ticket numbers but for different clients), column F will have notable, minor and test. which many of them are duplicates. I only want to count the first instance of each word based on the ticket (notable, minor and test). The below works great for doing just that. However, the problem is that in some cases one client may count it as minor where another counts it as notable. In that scenario I only want notable to be counted, as that takes priority and don’t want to count both. If they don’t both show up for that ticket number they should be counted independently like below.
=IF($F2=”Notable”,IF(Countifs($B2:B2,B2,$F$2:F2,”Notable”)=1,1,0),0)
=IF($F2=”Minor”,IF(Countifs($B2:B2,B2,$F$2:F2,”Minor”)=1,1,0),0)
=IF($F2=”Test”,IF(Countifs($B2:B2,B2,$F$2:F2,”Test”)=1,1,0),0)
4th column is a sum of those theee columns to get me a total.
https://www.dropbox.com/s/373d3s8lhbyiedl/Copy of Notable vs minor.gsheet?dl=0
I’m stumped and need help. I have a file with thousands of entries and I’m trying to add 3 columns that count the first instance of a word in that specific range. It will check for “notable”, “minor”, “test”.
Column B will have ticket numbers (many of them are duplicates ticket numbers but for different clients), column F will have notable, minor and test. which many of them are duplicates. I only want to count the first instance of each word based on the ticket (notable, minor and test). The below works great for doing just that. However, the problem is that in some cases one client may count it as minor where another counts it as notable. In that scenario I only want notable to be counted, as that takes priority and don’t want to count both. If they don’t both show up for that ticket number they should be counted independently like below.
=IF($F2=”Notable”,IF(Countifs($B2:B2,B2,$F$2:F2,”Notable”)=1,1,0),0)
=IF($F2=”Minor”,IF(Countifs($B2:B2,B2,$F$2:F2,”Minor”)=1,1,0),0)
=IF($F2=”Test”,IF(Countifs($B2:B2,B2,$F$2:F2,”Test”)=1,1,0),0)
4th column is a sum of those theee columns to get me a total.
https://www.dropbox.com/s/373d3s8lhbyiedl/Copy of Notable vs minor.gsheet?dl=0