Return Col/Row Header for multiple values without FILTER

GeeWhiz7

Board Regular
Joined
Nov 22, 2021
Messages
214
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Hi folks,
I have a few co-users of a worksheet that uses FILTER and SEQUENCE, but as they are on older versions of Excel they lose these results.

The worksheet has something similar to below where,
  • For a given array (B2:E13) of values
  • Return a dynamic list of Column and Row "Header" Values based on the cut-off entered (G3).
I know a few ways to get the single values with using lookups or index/match, but not multiple values that can change depending on the cutoff used. FILTER made things easier, but then I can't share backwards with users until they get a later version of excel so any ideas are appreciated. Thanks!

I thought of looping it in a vba/udf, but it seems like there should be a simpler way using an existing set of functions.

Book1
ABCDEFGHIJ
1DiegoJeffSandyMarkDesired Result
2January45297236>CutoffColumnRow
3February517748988DeigoJuly
4March78897865JeffMarch
5April19353939JeffSeptember
6May8137861JeffDecember
7June76482074MarkFebruary
8July9407825
9August1813834
10September85955246
11October7165152
12November28672738
13December24921374
14
15
Sheet1
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
How about
+Fluff 1.xlsm
ABCDEFGHI
1DiegoJeffSandyMarkDesired Result
2January45297236>CutoffColumnRow
3February517748988DiegoJuly
4March78897865JeffMarch
5April19353939JeffSeptember
6May8137861JeffDecember
7June76482074MarkFebruary
8July9407825  
9August1813834  
10September85955246
11October7165152
12November28672738
13December24921374
14
Lists
Cell Formulas
RangeFormula
H3:H9H3=IFERROR(INDEX($B$1:$E$1,AGGREGATE(15,6,(COLUMN($B$1:$E$1)-COLUMN($B$1)+1)/($B$2:$E$13>$G$3),ROWS(H$3:H3))),"")
I3:I9I3=IF(H3="","",INDEX($A$2:$A$13,AGGREGATE(15,6,(ROW($A$2:$A$13)-ROW($A$2)+1)/($B$1:$E$1=H3)/($B$2:$E$13>$G$3),COUNTIFS(H$3:H3,H3))))
 
Upvote 0
Solution
How about
+Fluff 1.xlsm
ABCDEFGHI
1DiegoJeffSandyMarkDesired Result
2January45297236>CutoffColumnRow
3February517748988DiegoJuly
4March78897865JeffMarch
5April19353939JeffSeptember
6May8137861JeffDecember
7June76482074MarkFebruary
8July9407825  
9August1813834  
10September85955246
11October7165152
12November28672738
13December24921374
14
Lists
Cell Formulas
RangeFormula
H3:H9H3=IFERROR(INDEX($B$1:$E$1,AGGREGATE(15,6,(COLUMN($B$1:$E$1)-COLUMN($B$1)+1)/($B$2:$E$13>$G$3),ROWS(H$3:H3))),"")
I3:I9I3=IF(H3="","",INDEX($A$2:$A$13,AGGREGATE(15,6,(ROW($A$2:$A$13)-ROW($A$2)+1)/($B$1:$E$1=H3)/($B$2:$E$13>$G$3),COUNTIFS(H$3:H3,H3))))
What is impressive to me is I can stew on something to get a working solution for a while and even then what usually gets proposed on this forum is more straightforward and works better. This works perfectly for going backwards in Excel versions. Guess I still have a lot to learn. Thank you Fluff!
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,063
Messages
6,122,934
Members
449,094
Latest member
teemeren

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