Formula not showing result but shows blanks instead

Patcheen

Active Member
Joined
Sep 28, 2015
Messages
388
Office Version
  1. 365
Platform
  1. Windows
Im using this formula to eliminate any blanks and return the most item value instead...

{=INDEX(B2:B21,MODE(IF(B2:B21<>"",MATCH(B2:B21,B2:B21,0),0)))} (Array Formula)

but it still returns blanks

example in b2:b21 is - oranges x8 - apples x2 - pears x4 and blanks (no value) x6 (it should show "apples"

the X represents the amount of times the word appears in the row from b2:b21 etc etc


thank you all in advance for your input and help
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
yes its returning zero's

Change it to this:

=IFERROR(INDEX('Sheet 1'!$M$4:$M$383,MATCH(B$1&$A18,'Sheet 1'!$F$4:$F$383&'Sheet 1'!$I$4:$I$383,0)),0)

And change your mode formula to:

=INDEX(B2:B21,MODE(IF(B2:B21<>0,MATCH(B2:B21,B2:B21,0))))

Both of these are array formula.

EDIT NOTE: Removed that else zero from the IF() function
 
Last edited:
Upvote 0
thats it ta finally says you thank you so very much for your help
 
Upvote 0

Forum statistics

Threads
1,215,024
Messages
6,122,729
Members
449,093
Latest member
Mnur

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