ignoring 1 word when looking for the most common word

Patcheen

Active Member
Joined
Sep 28, 2015
Messages
388
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

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
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
Unknown
Unknown
Hackney
C Woan
Unknown
Unknown
RE Smith
RJ Leafe
R Chillis
G Owen
Unknown
Kevin smith
KG Salmon
M Scott
M Robinson
KG Salmon
Graham english
Kevin smith
Formula from other sheets
Formula from other sheets
Formula from other sheets
Formula from other sheets
Formula from other sheets



<colgroup><col></colgroup><tbody>
</tbody>
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,215,147
Messages
6,123,297
Members
449,095
Latest member
Chestertim

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