Array not changing cell number when dragged down

jarhead58

Active Member
Joined
Sep 21, 2017
Messages
364
Office Version
  1. 2021
Platform
  1. Windows
Hey everyone! I must be doing something wrong but for the life of me, I can't figure out what it is. I have cell M21 with =MODE(B2:F3500). Now in M22 I have =MODE(IF(COUNTIF($M21:M22,$B$2:$F$3500),"",$B$2:$F$3500)) to find the next largest number which I make an array via the CTRL-Shift-Alt Enter which brings up "0" into that cell. Am I doing this wrong or is there something I'm missing? TIA
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
How about
Excel Formula:
=MODE(IF((COUNTIF($M$21:M21,$B$2:$F$3500))+($B$2:$F$3500=""),"",$B$2:$F$3500))
 
Upvote 0
Solution
Also verified that the range only contained numbers no formulas.
 
Upvote 0
Did you confirm it with Ctrl Shift enter?
 
Upvote 0
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
Done, I could swear I did that when I first joined.
 
Upvote 0
Thanks for that, maybe it's a version thing as it works for me.
+Fluff 1.xlsm
ABCDEFGHIJKLM
1
264918081474361
359954566198314
467934179013525586
57878441988995397401
68265125786295839
71054428248755825
83486563467655123
94015676565832894814
102913992404503823464
119976555372278953150
121518395527338253923
1375240137945433
146123757473264
15930883269626
1620119499199459
17772123386817858
18814369517417278
19620401123188464
20150827425458839
21855150465656872
22527709285641215
2348959563020463
245673673087033
25627814123296825
Summary
Cell Formulas
RangeFormula
K4:K12K4=COUNTIF($B$2:$F$101,M4)
M4M4=MODE(B2:F3500)
M5:M12M5=MODE(IF((COUNTIF($M$4:M4,$B$2:$F$3500))+($B$2:$F$3500=""),"",$B$2:$F$3500))
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0
Thanks for that, maybe it's a version thing as it works for me.
+Fluff 1.xlsm
ABCDEFGHIJKLM
1
264918081474361
359954566198314
467934179013525586
57878441988995397401
68265125786295839
71054428248755825
83486563467655123
94015676565832894814
102913992404503823464
119976555372278953150
121518395527338253923
1375240137945433
146123757473264
15930883269626
1620119499199459
17772123386817858
18814369517417278
19620401123188464
20150827425458839
21855150465656872
22527709285641215
2348959563020463
245673673087033
25627814123296825
Summary
Cell Formulas
RangeFormula
K4:K12K4=COUNTIF($B$2:$F$101,M4)
M4M4=MODE(B2:F3500)
M5:M12M5=MODE(IF((COUNTIF($M$4:M4,$B$2:$F$3500))+($B$2:$F$3500=""),"",$B$2:$F$3500))
Press CTRL+SHIFT+ENTER to enter array formulas.
Well that's weird! I changed my formula to reflect what your formula had and it didn't work. I then just copied my formula into another cell and then copied your formula into my cell and it worked. I verified both mine and yours via the paste of mine elsewhere and they were identical!!! Hmmm...oh well, it's working!!! Thank you Fluff!!
 
Upvote 0

Forum statistics

Threads
1,215,368
Messages
6,124,520
Members
449,169
Latest member
mm424

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