How to identify SPILLs to display their values on a separate worksheet?

rizzo93

Active Member
Joined
Jan 22, 2015
Messages
299
Office Version
  1. 365
I want to display a column of values from one sheet based on a date I select on another sheet.

Changing the date I select will display a different column of values.

Sheet containing the values I want to display:
ABCDEdescription
24143count of values in each column (minus this row and the one immediately below); I thought this might be helpful in knowing how many rows I'd need to display on the sheet below
5/29/226/5/226/12/226/19/226/26/22simple dates
DonaldTimothyGeorgeRingoDavidactual values I want to display; this row is the beginning of a SPILL formula
MarkDanLindaSusan
StuartBobLisa
BurtPeggy

Sheet I want to display on:
AB
[this is a pull-down menu containing the dates in row 2 above]These are the results based on the selected date on the left:
Selection = 6/19/22Ringo
Linda
Bob
Peggy
Selection = 6/12/22George
Selection = 6/5/22Timothy
Dan
Stuart
Burt

The table immediately above is only meant to demonstrate the outcome of values when choosing just one date; I don't want to have three menus to choose three dates.

I tried INDEX/MATCH, but was unsuccessful as I eventually realized that would only produce one value, not all of the values I wanted to display.

I thought if I could somehow identify the appropriate column, I could then reference something like D3#, for example, which would take care of the SPILL.

Anyone have an idea for a solution?
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
How about
Fluff.xlsm
ABCDE
124143
229/05/202205/06/202212/06/202219/06/202226/06/2022
3DonaldTimothyGeorgeRingoDavid
4MarkDanLindaSusan
5StuartBobLisa
6BurtPeggy
7
8
9
10
11
12
1319/06/2022Ringo
14Linda
15Bob
16Peggy
17
Formula
Cell Formulas
RangeFormula
A3:A4,E3:E5,D3:D6,C3,B3:B6A3=FILTER(N3:N10,N3:N10<>"")
B13:B16B13=IFNA(INDEX(A3:E3,MATCH(A13,A2:E2,0))#,"no match")
Dynamic array formulas.
 
Upvote 0
Solution
Fluff, that is amazing! I had no idea you could put the # at the end of the array like that. And that makes perfect sense to reference just the row where the spills live.

I implemented your formula and it works just like I want it. Thank you very much!!
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,606
Messages
6,120,497
Members
448,967
Latest member
visheshkotha

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