Lookup from one sheet to another (backwards)

queysoft

New Member
Joined
Aug 3, 2021
Messages
49
Office Version
  1. 2016
Platform
  1. Windows
Hello. I am stuck. I have tried to use INDEX and MATCH but i must be doing it wrong, or there is another solution.

Column F contains words "first, second or third". Column D contains numbers.

On another sheet I am trying to automatically create a row list of all numbers where the word "third" appears in the column F.

Any ideas?
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
How about like.
In A2 & drag down
Excel Formula:
=IFERROR(INDEX(Sheet1!$D:$D,AGGREGATE(15,6,ROW(Sheet1!$D$2:$D$200)/(Sheet1!$F$2:$F$200="Third"),ROWS(A$2:A2))),"")
 
Upvote 0
How about like.
In A2 & drag down
Excel Formula:
=IFERROR(INDEX(Sheet1!$D:$D,AGGREGATE(15,6,ROW(Sheet1!$D$2:$D$200)/(Sheet1!$F$2:$F$200="Third"),ROWS(A$2:A2))),"")
This works well - as needed - Many thanks! Is it possible to add other conditions in for other columns as in bold below? I have tried this but this does not seem to work


=IFERROR(INDEX(Sheet1!$D:$D,AGGREGATE(15,6,ROW(Sheet1!$D$2:$D$200)/(Sheet1!$F$2:$F$200="Third"&Sheet1!$G$2:$G$200="Second"),ROWS(A$2:A2))),"")
 
Upvote 0
For both columns to match you would need
Excel Formula:
=IFERROR(INDEX(Sheet1!$D:$D,AGGREGATE(15,6,ROW(Sheet1!$D$2:$D$200)/(Sheet1!$F$2:$F$200="Third")/(Sheet1!$G$2:$G$200="Second"),ROWS(A$2:A2))),"")
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,732
Members
448,987
Latest member
marion_davis

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