How to use ISERROR in the following Formula ?

RapchikM

Board Regular
Joined
Oct 5, 2020
Messages
97
Office Version
  1. 2021
Platform
  1. Windows
Hello
Formula obtained from Missing Numbers From a Range
=SMALL(IF(COUNTIF($B$3:$D$5, ROW($1:$9))=0, ROW($1:$9), ""), ROWS(B8:$B$8))

How Can i use ISERROR in above syntax/Formula ?

I don't know whether the above link reference is misleading because when going through it I got confused when
i read the following

COUNTIF($B$3:$D$5, ROW($1:$9)

becomes

COUNTIF({1,3,4; 5,6,7; 8,8,3},{1; 2; 3; 4; 5; 6; 7; 8; 9})

and returns

{1;0;2;1;1;1;1;2;0}.
Because 0 or Zero indicates "TRUE" and 1 indicates "FALSE" So where does 2 Come from ?
So Basically i wanted to avoid Error #NUM

Thanks
Rapchik
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Can be used
VBA Code:
=IF(ISERROR(COUNTIF($B$3:$D$5, ROW($1:$9)),"Is an error",COUNTIF($B$3:$D$5, ROW($1:$9))
 
Upvote 0
Sorry the below gave Error
VBA Code:
=IF(ISERROR(COUNTIF($B$3:$D$5, ROW($1:$9)),"Is an error",COUNTIF($B$3:$D$5, ROW($1:$9))

Too many arguments Entered

RapchikM
 
Upvote 0
sorry, try
VBA Code:
=IF(ISERROR(COUNTIF($B$3:$D$5,ROW($1:$9))),"Is an error",COUNTIF($B$3:$D$5,ROW($1:$9)))
 
Upvote 0
Tried

Now values are in 0 and 1 instead of Missing Numbers

RapchikM
 
Upvote 0
How about either of these
Fluff.xlsm
IJKLMN
1
213422
356799
4883 
5 
6 
7 
8
Master
Cell Formulas
RangeFormula
M2:M3M2=FILTER(SEQUENCE(9),ISNA(MATCH(SEQUENCE(9),TOCOL(I2:K4),0)))
N2:N7N2=IFERROR(SMALL(IF(COUNTIF($I$2:$K$4, ROW($1:$9))=0, ROW($1:$9), ""), ROWS(N$3:N3)),"")
Dynamic array formulas.
 
Upvote 0
Solution
Fluff Sir,

Thank you so much for valuable help. Indeed i 've tried the N2 Formula as this is in mind since morning IFERROR and SMALL. Just Perfect
Tried M2 Formula but gave me #CALC! Error.

The Link posted as per #1 of this thread Is it misleading between 0, 1 and 2. TRUE =0 and 1=FALSE How does 2 come ? or is it typo Error

RapchikM
 
Upvote 0
Tried M2 Formula but gave me #CALC! Error.
Do you have the TOCOL function?

TRUE does not equal 0.
The array {1;0;2;1;1;1;1;2;0} shows how many times each number from 1 to 9 occurs in the range.
So 1 occurs once 2 is missing, 3 occurs twice etc.
 
Upvote 0
Hello
Formula obtained from Missing Numbers From a Range
=SMALL(IF(COUNTIF($B$3:$D$5, ROW($1:$9))=0, ROW($1:$9), ""), ROWS(B8:$B$8))

How Can i use ISERROR in above syntax/Formula ?

I don't know whether the above link reference is misleading because when going through it I got confused when
i read the following


Because 0 or Zero indicates "TRUE" and 1 indicates "FALSE" So where does 2 Come from ?
So Basically i wanted to avoid Error #NUM

Thanks
Rapchik
Hi, I created a table with the explanation.

Analysis.xlsx

Analysis.png
 
Upvote 0
I added two more sentences to the table.

Analysis2.png
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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