Show parts of a table based on a cell value via formulas

WSBirch

Board Regular
Joined
Apr 10, 2018
Messages
59
Office Version
  1. 365
Platform
  1. Windows
Good afternoon,
I can't for the life of me remember what it's called or how I've done it in the past.

Basically, I have a table on Sheet02 with data in columns A-Z and rows 1-a lot, but Row 1 is the header. In Column C there's dates. On Sheet01, I have a Data Validation list of Dates. I want to select a date, say 1/26/2022, from that list then somewhere on Sheet01 (where I have space to expand horizontally right and down on the sheet) show the table from Sheet02 from A-Z but only the rows with the same value as the date selected.

Is this possible? Thank you!

quick edit;
I should specify there's 2 conditions. The date selected from the list matches values in column C from the table on Sheet02 and if there's an N or Y in column F of the table from Sheet02.
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Hi WSBirch,

It's not very pretty but does this work for you?

WSBirch.xlsx
ABCDEF
1Stuff1Stuff2Dates HereStuff3Stuff4ColF
2a205-May-22ed2edaN
3b326-Jan-22fr3frbY
4c418-Jul-22tg4tgcN
5d526-Jan-22hyu5hyudY
6e627-Aug-22uj6ujeN
7f703-Oct-22uj7ujfY
8g826-Jan-22juuu8juuugN
9h926-Jan-22kiki9kikihY
10i1126-Jan-22lle11lleiXX
11
Sheet02


WSBirch.xlsx
ABCDEFGHI
1Select DateResultsStuff1Stuff2Dates HereStuff3Stuff4ColF
226-Jan-22b326-Jan-22fr3frbY
3c418-Jul-22tg4tgcN
4d526-Jan-22hyu5hyudY
5h926-Jan-22kiki9kikihY
6      
7      
Sheet01
Cell Formulas
RangeFormula
D2:I7D2=IFERROR(INDEX(Table1,AGGREGATE(15,6,ROW(Table1[Dates Here])/((Table1[Dates Here]=$A$2)*(SEARCH(Table1[ColF],"YN"))),ROW()-ROW($D$1))-1,COLUMN()-COLUMN($C$2)),"")
Cells with Data Validation
CellAllowCriteria
A2List1/1/2021,1/26/2022,10/3/2022,7/18/2022
B2List1/26/2022,10/3/2022,7/18/2022
 
Upvote 0
Solution

Forum statistics

Threads
1,215,438
Messages
6,124,873
Members
449,192
Latest member
MoonDancer

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