Help finding 0 value and most value

Mike75

New Member
Joined
Oct 29, 2016
Messages
6
I have a range of B2:U18 in these cell I input a number

At the bottom in row 21 I have countif counting the different numbers

Now in row 24 I would like it to tell me what numbers have a counting value of 0

And in row 26 I would like it to tell me what numbers I have the most of

I had a formula for row 24 in another file but when I tried to rewrite for this file it didn't work

It got me thinking if it could tell me what I have the less of could it tell me what I have the most of

it would make my job easier and faster

13456891456891
10111213141516171819
345689156891
18171615141312111020
5891891
19201918171615141312
89191
18171615141312111011
1345689145689
19201918171615141312
1568916891
20191817161514131211
89191
19181716151413121110
13456891456
20191817161514131211
89156891568
1234567891011121314151617181920
200471212001747888888885
Missing Items
Most Items

<tbody>
</tbody>
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Going over my report I realize there is one other thing I need from this report. Numbers used/found in the report.

I used numbers 1 - 20 in the report above but numbers 2 and 7 where not used. So 18 numbers where used.

Is there a way to make a formula for that
 
Upvote 0
you can use equation as below

=COUNTIF(B2:U21,"=0") &"( Zeros)" will give how many zeros used

=COUNTIF(B2:U21,MAX(B2:U21))&" ("&MAX(B2:U21)& "s)" will give how many and which max number is used
 
Upvote 0
To get all the values not used,

<style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Lucida Grande'}span.s1 {color: #006107}span.s2 {color: #0057d6}span.s3 {color: #ab30d6}span.s4 {color: #a54a29}span.s5 {color: #33af4a}</style>{=IFERROR(INDEX($A$19:$T$19,1,SMALL(IF($A$20:$T$20=0,COLUMN($A$20:$T$20)),ROW(1:1))),"")}
Array Formula input with CONTROL SHIFT ENTER not just enter. The curly braces {} will appear automatically. Do not put them in manually.

Then drag this down.
red = Range where your actual numbers are stored
pink = Range where the count for each number is stored.

To get the values that appear the highest amount of time,

<style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Lucida Grande'}span.s1 {color: #006107}span.s2 {color: #0057d6}span.s3 {color: #ab30d6}span.s4 {color: #a54a29}span.s5 {color: #33af4a}</style>
{=IFERROR(INDEX($A$19:$T$19,1,LARGE(IF($A$20:$T$20=MAX($A$20:$T$20),COLUMN($A$20:$T$20)),ROW(1:1))),"")}
same deal with the Array Formula and ranges.

To get # of used and unused numbers, use Anand's formulas.
 
Upvote 0
Thanks for the help but not what I need. While waiting for help I did some researched for the and answer and figured part of the answer out. All I need is my countif row and us{=SMALL(B48:J48,2)} or {=LARGE(B48:J48,2)} and do it for 1,2,3, and 4 I will get the amount of the smallest and largeset

but the trouble I am having now is when I {=INDEX($B$47:$J$47,MATCH(C56,$B$48:$J$48,0))}
when I looked for the small and large and there was more than 1 of the same value it just input both of them than went to the next
when I try to index it now it only gives me the first one no matter if there are one, two, or more of the same value
I need to know what numbers have the same value.
 
Upvote 0

Forum statistics

Threads
1,214,646
Messages
6,120,717
Members
448,985
Latest member
chocbudda

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