SMALL function not showing first result

Akbarov

Active Member
Joined
Jun 30, 2018
Messages
347
Office Version
  1. 365
Platform
  1. Windows
Hello dear users,

i use this formula =IFERROR(SMALL($C$2:$C$991,B2),"") to get numbers from c2:c1000 there are 3 results but formula shows only 2 results and if there 10 results it shows 9. can anybody help me please?

C contains this formula : =IF(ISNUMBER(SEARCH(Sheet1!$K$2,A2)),B2,"")


Regards
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
A contain names

B has ROW() formula

C =IF(ISNUMBER(SEARCH(Sheet1!$K$2,A2)),B2,"")

D =IFERROR(SMALL($C$2:$C$991,B2),"")

SHEET1K2 is serach box



217
320
421
539
644
755
856
963
1064
1167
1268
1369
1478
1515122
16124
1717127
18128
19142
2020146
2121153
22163
23166
24168
25174
26181
27192
28195
29205
30217
31222
32223

<colgroup><col width="72" span="3" style="width:54pt"> </colgroup><tbody>
</tbody>
 
Upvote 0
can anybody help me please?
I can tell you why your SMALL function always misses the first value.

Your SMALL functions uses the values in column B as its second argument. As you can see from your sample data, the first value in column B is 2 (not 1), so that SMALL function will return the second smallest value, not the smallest.

Perhaps this would do what you want?
=IFERROR(SMALL($C$2:$C$991,B2-1),"")
 
Upvote 0
I can tell you why your SMALL function always misses the first value.

Your SMALL functions uses the values in column B as its second argument. As you can see from your sample data, the first value in column B is 2 (not 1), so that SMALL function will return the second smallest value, not the smallest.

Perhaps this would do what you want?
=IFERROR(SMALL($C$2:$C$991,B2-1),"")

Thank you very much Mr.Peter!
 
Upvote 0

Forum statistics

Threads
1,215,193
Messages
6,123,560
Members
449,108
Latest member
rache47

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