sharky12345
Well-known Member
- Joined
- Aug 5, 2010
- Messages
- 3,421
- Office Version
- 2016
- Platform
- Windows
I'm trying to find the most frequent string in a range but with criteria.
I want to search the range E2:AH77 for the most common string that occurs but only in the rows where the value in column C matches "TEST". I have this, which works if I search a single column, (i.e. E2:E77), but gives me #N/A if I try to search the whole range, presumably because there are blank cells in that range too.
Can anyone help me move this forward please?
I want to search the range E2:AH77 for the most common string that occurs but only in the rows where the value in column C matches "TEST". I have this, which works if I search a single column, (i.e. E2:E77), but gives me #N/A if I try to search the whole range, presumably because there are blank cells in that range too.
Excel Formula:
=INDEX(ISSUES!E2:E77,MODE(IF(ISSUES!C2:C77="TEST",IF(ISSUES!E2:E77<>"",MATCH(ISSUES!E2:E77,ISSUES!E2:E77,{0,0})))))
Can anyone help me move this forward please?