VLOOKUP Loop to return multiple rows and columns

5_Stripes_Fan

New Member
Joined
Sep 24, 2021
Messages
4
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Hi All,

I am looking for a solution to allow the below VLOOKUP code to loop and return all results in a table meeting the criteria in D2.. I have found several pages that have parts or other use case solutions but not one that fits issue this directly. Any help would be appreciated.

=IFERROR(VLOOKUP($D$2,Table1[#All],{3,5,6,7,8,9},FALSE),"")

This formula returns the data I need just need it to loop to other instances of the data in the table and return those as well. I know this can be done in VBA but I really need the VLOOKUP functionality as the lookup value will change daily. Any help is much appreciated.
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Was not able to get this formula to populate the data I needed, looks like it isn't liking the below referenced Table1[Col1] in the formula. I have attached an image of the sheet structure I am using hopefully this can provide more info on what I am working with. I also moved the D2 reference to D4 in the new sheet.

=FILTER(INDEX(Table1, SEQUENCE(ROWS(Table1)), {3,5,6,7,8,9}),Table1[Col1]=$D$4,"")
 

Attachments

  • Dashboard View.PNG
    Dashboard View.PNG
    13.6 KB · Views: 21
  • Schedule View.PNG
    Schedule View.PNG
    65.8 KB · Views: 21
Upvote 0
You need to replace “Col1” with what is in the heading row for the column you are comparing to D4.
I am guessing Rollout Date
eg
=FILTER(INDEX(Table1, SEQUENCE(ROWS(Table1)), {3,5,6,7,8,9}),Table1[Rollout Date]=$D$4,"")
 
Upvote 0

Forum statistics

Threads
1,215,054
Messages
6,122,895
Members
449,097
Latest member
dbomb1414

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