ignoring 1 word when looking for the most common word

Patcheen

Active Member
Joined
Sep 28, 2015
Messages
391
Office Version
  1. 365
Platform
  1. Windows
Hi all as i want to ignore the word "undelivered" when searching for the most common word

what i have is - =MODE(IF(A6:A1000<>unknown,A6:A1000)) (array formula)

it says #Name as a result

TIA
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
how? as an image?

No, not as image or picture. The sample must be Excel readable.

Is this something like what you have?


Book1
E
8ITEMS
9London
10undelivered
11Cambridge
12Nottingham
13Dublin
14
15London
16Cambridge
17Bristol
18
19Oxford
Sheet1


If it's what is the output you expect, that is, which cities should be in the output/the results list?
 
Upvote 0
[TABLE="width: 175"]
<colgroup><col></colgroup><tbody>[TR]
[TD="align: left"]Unknown[/TD]
[/TR]
[TR]
[TD="align: left"]Unknown[/TD]
[/TR]
[TR]
[TD="align: left"]Hackney[/TD]
[/TR]
[TR]
[TD="align: left"]C Woan[/TD]
[/TR]
[TR]
[TD="align: left"]Unknown[/TD]
[/TR]
[TR]
[TD="align: left"]Unknown[/TD]
[/TR]
[TR]
[TD="align: left"]RE Smith[/TD]
[/TR]
[TR]
[TD="align: left"]RJ Leafe[/TD]
[/TR]
[TR]
[TD="align: left"]R Chillis[/TD]
[/TR]
[TR]
[TD="align: left"]G Owen[/TD]
[/TR]
[TR]
[TD="align: left"]Unknown[/TD]
[/TR]
[TR]
[TD="align: left"]Kevin smith[/TD]
[/TR]
[TR]
[TD="align: left"]KG Salmon[/TD]
[/TR]
[TR]
[TD="align: left"]M Scott[/TD]
[/TR]
[TR]
[TD="align: left"]M Robinson[/TD]
[/TR]
[TR]
[TD="align: left"]KG Salmon[/TD]
[/TR]
[TR]
[TD="align: left"]Graham english[/TD]
[/TR]
[TR]
[TD="align: left"]Kevin smith[/TD]
[/TR]
[TR]
[TD="align: left"]Formula from other sheets[/TD]
[/TR]
[TR]
[TD="align: left"]Formula from other sheets[/TD]
[/TR]
[TR]
[TD="align: left"]Formula from other sheets[/TD]
[/TR]
[TR]
[TD="align: left"]Formula from other sheets[/TD]
[/TR]
[TR]
[TD="align: left"]Formula from other sheets[/TD]
[/TR]
[TR]
[TD="align: left"]

[/TD]
[/TR]
</tbody>[/TABLE]
I want to ignore the "Unknown and formula from other sheets - Result kevin smith

Hope this helps but not sure if it will.
 
Upvote 0


Book1
EF
8ITEMS2
9UnknownKevin smith
10UnknownKG Salmon
11Hackney
12C Woan
13Unknown
14Unknown
15RE Smith
16RJ Leafe
17R Chillis
18G Owen
19Unknown
20Kevin smith
21KG Salmon
22M Scott
23M Robinson
24KG Salmon
25Graham english
26Kevin smith
27
28
29
30
31
Sheet1


In F8 control+shif+enter, not just enter:

=MAX(FREQUENCY(IF(ISNA(MATCH($E$9:$E$31,{"","unknown"},0)),MATCH($E$9:$E$31,$E$9:$E$31,0)),ROW($E$9:$E$31)-ROW($E$9)+1))

In F9 control+shift+enter, not just enter, and copy down:

=IFERROR(INDEX($E$9:$E$31,SMALL(IF(FREQUENCY(IF(ISNA(MATCH($E$9:$E$31,{"","unknown"},0)),MATCH($E$9:$E$31,$E$9:$E$31,0)),ROW($E$9:$E$31)-ROW($E$9)+1)=$F$8,ROW($E$9:$E$31)-ROW($E$9)+1),ROWS($F$9:F9))),"")
 
Upvote 0
Using MODE.MULT...

In F9 control+shift+enter, not just enter, and copy down:

=IFERROR(INDEX($E$9:$E$31,INDEX(MODE.MULT(IF(ISTEXT($E$9:$E$31),IF(ISNA(MATCH($E$9:$E$31,{"","unknown"},0)),MATCH($E$9:$E$31,$E$9:$E$31,0)))),ROWS($P$2:$P2))),"")
 
Upvote 0

Forum statistics

Threads
1,223,905
Messages
6,175,297
Members
452,633
Latest member
DougMo

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top