Returning Result from Adjacent Cell (Small Array with MIN)

Kbobbitt

New Member
Joined
Aug 16, 2022
Messages
2
Office Version
  1. 2019
Platform
  1. Windows
Hello! Novice here; I'm trying to find a way to populate a "report card" from multiple sheets; one sheet per subject.

I have an array function that checks through a subject page (English 101, for example) using a location code in G1, and displaying all found dates:

=IFERROR(INDEX('English 101'!$B$1:$B$100,SMALL(IF('English 101'!$A$1:$A$100=August!$G$1,ROW('English 101'!$B$1:$B$100) - MIN(ROW('English 101'!$B$1:$B$100)) + 1),ROWS(August!$A$4:A4))),"")

What I can't get it to do is display the ID # from the English 101 sheet that's in Column C, after the matches are made.

My Google-fu has failed; thank you for taking a look!
 

Attachments

  • Excel1.PNG
    Excel1.PNG
    54.2 KB · Views: 5
  • Excel2.PNG
    Excel2.PNG
    61.7 KB · Views: 6

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Hi & welcome to MrExcel.
How about in A4 dragged down & across
Excel Formula:
=IFERROR(INDEX('English 101'!B$1:B$100,AGGREGATE(15,6,(ROW('English 101'!$A$1:$A$100)-ROW('English 101'!$A$1)+1)/('English 101'!$A$1:$A$100=$G$1),ROWS($A$4:$A4))),"")

This is a normal formula, so does not need Ctrl Shift Enter
 
Upvote 0
Solution
Hi & welcome to MrExcel.
How about in A4 dragged down & across
Excel Formula:
=IFERROR(INDEX('English 101'!B$1:B$100,AGGREGATE(15,6,(ROW('English 101'!$A$1:$A$100)-ROW('English 101'!$A$1)+1)/('English 101'!$A$1:$A$100=$G$1),ROWS($A$4:$A4))),"")

This is a normal formula, so does not need Ctrl Shift Enter

Thank you for the welcome and fabulous solution! It works wonderfully; thank you again.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,929
Messages
6,122,315
Members
449,081
Latest member
tanurai

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