Why is my iferror not working?

saraapple

Board Regular
Joined
Feb 3, 2020
Messages
165
Office Version
  1. 2010
Platform
  1. Windows
I have the following formula and despite me putting an iferror "" I am still getting 0 - what am I doing wrong?
Cell Formulas
RangeFormula
C106:C110C106=IFERROR(VLOOKUP(B106,x!B:L,11,FALSE),"")
D106:K110D106=IFERROR(INDEX(x!$B$2:$J$999,SMALL(IF(x!$B$2:$B$999=$B106,ROW(x!B$2:$J$999)-1),COLUMNS($D106:D106)),9),"")
A106:A110A106=IFERROR(VLOOKUP(B106,x!B:P,15,FALSE),"")
Press CTRL+SHIFT+ENTER to enter array formulas surrounded with curly braces.
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
0 is not an error value, so wouldn't be affected by IFERROR. I'd suggest you add a separate test for the lookup value cell being blank.
 
Upvote 0
I suspect you have blank cells in B2:B999, try
=IFERROR(INDEX(x!$B$2:$J$999,SMALL(IF((x!$B$2:$B$999=$B106)*(x!$B$2:$B$999<>""),ROW(x!B$2:$J$999)-1),COLUMNS($D106:D106)),9),"")
 
Upvote 0

Forum statistics

Threads
1,214,978
Messages
6,122,547
Members
449,089
Latest member
davidcom

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