V lookup Across Multiple Tabs and Return Multiple values if found on a tab

VBA learner ITG

Active Member
Joined
Apr 18, 2017
Messages
267
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
hi all,

Need your guidance if possible on how to amend the below array formula to do a lookup all tabs listed below?


=IFERROR(INDEX('4.RANGING CONVENIENCE'!$B:$B,SMALL(IF(B$1='4.RANGING CONVENIENCE'!$A:$A,ROW('4.RANGING CONVENIENCE'!$A:$A)- MIN(ROW('4.RANGING CONVENIENCE'!$A:$A))+1,""), ROW()-2)),"")


Tabs that needs to be lookedup:

4.RANGING CONVENIENCE
5.RANGING FRESH
6.RANGING GROCERY & HOME
7.RANGING DRINKS
8.RANGING BAKERY SNACKING

<colgroup><col></colgroup><tbody>
</tbody>



I have tried also amending the above formula to a Named Range and removed the ref to a singlular worksheet but it doesnt work.

Any advice and guidance appreciated.
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Usual reply on something like this would be nested IFERRORS, e.g.

IFERROR(INDEX(...SMALL..),IFERROR(INDEX(...SMALL..),IFERROR(INDEX(...SMALL..),IFERROR(INDEX(...SMALL..),IFERROR(INDEX(...SMALL..),IFERROR(INDEX(...SMALL..))))))

And if it's an array formula change that A:A, B:B to something more sensible to reflect the maximum data you're likely to have, e.g. A1:A100000 B1:B100000
As it stands it will ne slow returning a result, and if you're having to nest IFERRORS it'll be even worse.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,405
Messages
6,119,323
Members
448,887
Latest member
AirOliver

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