Help with making the formula a Dynamic Array

Stephen_IV

Well-known Member
Joined
Mar 17, 2003
Messages
1,180
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
I am trying to make a Dynamic Array formula for the data below. Any help would be appreciated! Thanks in advance!

Dynamic Array Min.xlsm
ABCDEF
1ALJoeBobJohnLowest Score
21st Hole3512Bob
32nd Hole5343Joe, John
43rd Hole2422AL, Bob, John
54th Hole2322AL, Bob, John
65th Hole4344Joe
76th Hole2245AL, Joe
87th Hole4222Joe, Bob, John
98th Hole2425AL, Bob
109th Hole2323AL, Bob
1110th Hole7334Joe, Bob
1211th Hole2532AL, John
1312th Hole5445Joe, Bob
1413th Hole3332John
1514th Hole6233Joe
1615th Hole4435Bob
1716th Hole3333AL, Joe, Bob, John
1817th Hole2334AL
1918th Hole3331John
Sheet2
Cell Formulas
RangeFormula
F2:F19F2=TEXTJOIN(", ",TRUE,IF(B2:E2=MIN(B2:E2),$B$1:$E$1,""))
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Hi, the formula that you have posted seems ok. What is it you are trying to achieve?
 
Upvote 0
What is it you are trying to achieve?
I am trying to make a Dynamic Array formula for the data below.
Try this

(BTW, I hope you have a special prize for Bob & John :LOL: )

23 01 21.xlsm
BCDEF
1ALJoeBobJohnLowest Score
23512Bob
35343Joe, John
42422AL, Bob, John
52322AL, Bob, John
64344Joe
72245AL, Joe
84222Joe, Bob, John
92425AL, Bob
102323AL, Bob
117334Joe, Bob
122532AL, John
135445Joe, Bob
143332John
156233Joe
164435Bob
173333AL, Joe, Bob, John
182334AL
193331John
Lowest
Cell Formulas
RangeFormula
F2:F19F2=BYROW(B2:E19,LAMBDA(rw,TEXTJOIN(", ",,FILTER(B1:E1,rw=MIN(rw)))))
Dynamic array formulas.
 
Last edited:
Upvote 0
Solution
LOL!!! Thank you Peter_SSs. That is exactly what I needed! I just came up with something that is nowhere near as robust as yours! I always appreciate your posts and learned a lot from you! Thanks again!

VBA Code:
=BYROW(IF(B2:E19=BYROW(B2:E19,LAMBDA(x,MIN(x))),$B$1:$E$1,""),LAMBDA(x,TEXTJOIN(", ",1,x)))
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,175
Members
453,021
Latest member
Justyna P

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