Excel: How to randomly pick a number of items from a list using only 1 formula

  Рет қаралды 2,205

Access Analytic

Access Analytic

Күн бұрын

⚡⚡ This is a tutorial in Dynamic Array Excel, LET and LAMBDA ⚡⚡
The team and I at Access Analytic develop Power BI and Excel solutions for clients in Australia and deliver training around the World. accessanalytic.com.au/
00:00 Introduction
00:46 The Basic formulas in separate columns
03:17 Bringing it together in a single formula using LET
07:36 Naming the formula using LAMBDA
11:05 Storing your LAMBDAS in a GIST
🔢The Formula ( I realised I could AVOID the HSTACK by using SORTBY )
=LET(
SelectedList,B3:B12,
NumberOfItemsToReturn,4,
TAKE(
SORTBY(
SelectedList, RANDARRAY(ROWS(SelectedList))
),
NumberOfItemsToReturn,1
)
🖥️ My GIST
gist.github.com/wynhopkins/2e...
⏬Download my file
aasolutions.sharepoint.com/:x...
📕 BOOK
Did you know I've written a book "Power BI for the Excel Analyst"?
pbi.guide/book/
Connect with me
wyn.bio.link/
( apologies to Tahlia for accidentally missing her name out 😩 )

Пікірлер: 16
@chrism9037
@chrism9037 3 ай бұрын
Thanks Wyn, this is a great video!
@AccessAnalytic
@AccessAnalytic 3 ай бұрын
Cheers Chris
@daXcel7448
@daXcel7448 29 күн бұрын
Thanks for the video!. How about this one without a Lambda. =CHOOSEROWS(A1:A10,SORTBY(SEQUENCE(C1), RANDARRAY(C1)))
@AccessAnalytic
@AccessAnalytic 29 күн бұрын
Nice one. Another option: =TAKE( SORTBY(A1:A10,RANDARRAY(ROWS(A1:A10) ) ), C1)
@barttitulaerexcelbart9400
@barttitulaerexcelbart9400 3 ай бұрын
Well very nice to see so many stuff in one video! as for the brackets, the last one should always be black...😉😉
@AccessAnalytic
@AccessAnalytic 3 ай бұрын
Cheers, and good tip!
@yulinliu850
@yulinliu850 3 ай бұрын
❤❤
@brianxyz
@brianxyz 3 ай бұрын
Is there a way to add tooltips to parameters? Also, what's the easiest way to make a Lambda global?
@AccessAnalytic
@AccessAnalytic 3 ай бұрын
No to tooltips. You could share centrally held Excel templates and set up to open by default when opening excel ( there’s a templates file path under file - options - ( advanced I think
@grahamc5531
@grahamc5531 3 ай бұрын
The battle I've had to get the Advanced Formula Editor enabled in our corporate Excel....a year for them to say no....oh well, keep to the old method of adding LAMBDAs.... 😒😒
@AccessAnalytic
@AccessAnalytic 3 ай бұрын
😩 why no?
@grahamc5531
@grahamc5531 3 ай бұрын
No reason given, just no - I assume they think because it is an add-in there may be a security risk....even though it comes from MS themselves...here's hoping it gets added as a standard button at some point so everyone gets it
@ExcelWithChris
@ExcelWithChris 3 ай бұрын
Please please help. Power Query. Somewhere I saw you can get a result in a step, then export that result to another query, come back to this query and ref the step before "exporting" and carry on with the current query.
@AccessAnalytic
@AccessAnalytic 3 ай бұрын
I think I saw Chandeep ( Goodly KZbin channel ) do that a while back. Not sure I’d recommend it from a process understandability point of view.
@ExcelWithChris
@ExcelWithChris 3 ай бұрын
Think that is where I also saw it, but cannot find the video again. Left comment on one of his videos as well, but he seldom comes back. Do you by any chance know how to do it? (as a in between step and then carry on)@@AccessAnalytic
@AccessAnalytic
@AccessAnalytic 3 ай бұрын
@ExcelWithChris kzbin.info/www/bejne/rZbEl6N9Z956Z9ksi=mcjxVeA7uAUeu7Na
3 Essential Excel skills for the data analyst
18:02
Access Analytic
Рет қаралды 1,5 МЛН
The day of the sea 🌊 🤣❤️ #demariki
00:22
Demariki
Рет қаралды 85 МЛН
СНЕЖКИ ЛЕТОМ?? #shorts
00:30
Паша Осадчий
Рет қаралды 8 МЛН
Just try to use a cool gadget 😍
00:33
123 GO! SHORTS
Рет қаралды 85 МЛН
The Amazing New Slicer and Card visual in Power BI (Tutorial)
16:14
Access Analytic
Рет қаралды 4,8 М.
How to make an Excel Array Spill when referencing another Array
8:48
Access Analytic
Рет қаралды 2,2 М.
Power BI how to un-filter a Single Page
8:03
Access Analytic
Рет қаралды 2,2 М.
5 Advanced Excel Formulas You Probably Didn't Know!
11:41
Kenji Explains
Рет қаралды 218 М.
Visual Calculations in Power BI
8:51
Access Analytic
Рет қаралды 37 М.
5 ways to export data from Power BI
19:31
Access Analytic
Рет қаралды 2,3 М.
How to display an image from SharePoint or OneDrive in Excel
2:30
Access Analytic
Рет қаралды 2,8 М.
Introducing Python in Excel
19:01
Leila Gharani
Рет қаралды 1,5 МЛН
Ready for the Skincare 🧼🫧🧴 #behindthescenes ? #vfx #3d #cgi
0:19