same formula two tabs different result?

kindred21101982

New Member
Joined
Jan 19, 2018
Messages
3
Hello all

I'm a basic MS Excel user.

I'm having some issues with the below array formula. I have a sheet called 4a where the formula is located. The formula works well in sheet 4a.

=IFERROR(INDEX($'3'.$I$2:$I$9999,SMALL(IF($'3'.$B$2:$B$9999=$'4'.$B$9,ROW($'3'.$B$2:$B$9999)-ROW($'3'.$B$2)+1),ROWS($'3'.$B$2:$B3))),"")

However! when I change the formula to the below it doesn't work. I'm not sure why.

=IFERROR(INDEX($'3'.$I$2:$I$9999,SMALL(IF($'3'.$B$2:$B$9999=$'5'.$B$9,ROW($'3'.$B$2:$B$9999)-ROW($'3'.$B$2)+1),ROWS($'3'.$B$2:$B3))),"")

The only change is the formula is used in sheet 5a and $'4'.$B$9 becomes $'5'.$B$9. The sheets are identical. The data is identical. I'm not sure why it isn't working.

$'4'.$B$9 points to a drop down box (list). The data in the list is identical to sheet 4. Not sure what's happening.


Any thoughts?

Regards
kinred21101982
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Below is what the formula looks like in MS Excel. As previously stated, it works on one sheet. On another sheet with the search field changed it doesn't work.

=IFERROR(INDEX('3'!$I$2:$I$9999,SMALL(IF('3'!$B$2:$B$9999='4'!$B$9,ROW('3'!$B$2:$B$9999)-ROW('3'!$B$2)+1),ROWS('3'!$B$2:$B3))),"")
 
Upvote 0

Forum statistics

Threads
1,214,819
Messages
6,121,749
Members
449,050
Latest member
excelknuckles

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