11 Amazing functions like XLOOKUP, RANDARRAY, INDEX, CHOOSE, NORM.INV, EMONTH & RANDBETWEEN EMT 1745

Поделиться
HTML-код
  • Опубликовано: 22 авг 2024

Комментарии • 79

  • @excelisfun
    @excelisfun  3 года назад +1

    To spill the Bonus formula at the 06:53 minute mark, use:
    =CHOOSE(RANDARRAY(C6,,1,3,1),INT(NORM.INV(RANDARRAY(C6),44,10)),RANDARRAY(C6,,1,5,1),RANDARRAY(C6,,C7,C8,1))
    This is thanks to our Excel Teammate Exceλambda!!!! Go Team!!!!! P.S. This formula is in download workbook also : )

  • @wayneedmondson1065
    @wayneedmondson1065 3 года назад +3

    Awesome Mike! Great way to generate a list of random data from a few inputs. Nice bonus to generate different distribution logic. Just for fun, you can shoehorn everything into a single dynamic formula with the help of CHOOSE, as in: =CHOOSE({1,2,3,4},RANDARRAY(C6,,C4,C5,1),RANDARRAY(C6,,C7,C8,1),INDEX(H3:H6,RANDARRAY(C6,,1,ROWS(H3:H6),1)),ROUND(XLOOKUP(INDEX(H3:H6,RANDARRAY(C6,,1,ROWS(H3:H6),1)),H3:H6,I3:I6)*(1-LOOKUP(RANDARRAY(C6,,C7,C8,1),E3:F6)),2)). Thanks for the Tuesday formula fun :)) Thumbs up!!

    • @excelisfun
      @excelisfun  3 года назад +1

      That is some rad showhorning, O Master Formula Guy Wayne : ) : ) Thanks for sharing with the Team. I will add it to the download workbook. Go Team!!!

    • @wayneedmondson1065
      @wayneedmondson1065 3 года назад

      @@excelisfun Thanks Mike! Was trying to figure out how to SPILL the NORM.INV function. The only thing I could come up with was CHOOSE again which can be set to SPILL the number of rows with SEQUENCE, but you are forced to put the NORM.INV function in every value argument of CHOOSE, as in: =CHOOSE(SEQUENCE(C6),NORM.INV(RAND(),44,10),NORM.INV(RAND(),44,10),NORM.INV(RAND(),44,10),NORM.INV(RAND(),44,10),NORM.INV(RAND(),44,10),NORM.INV(RAND(),44,10),NORM.INV(RAND(),44,10),NORM.INV(RAND(),44,10),NORM.INV(RAND(),44,10),NORM.INV(RAND(),44,10)). The above SPILLS up to 10 results, but would require continuing to repeat the function for the option of many more results. So, not really practical unless the desired number of SPILLED results were limited. Still, fun to experiment :)) Go Team!!!

    • @excelisfun
      @excelisfun  3 года назад +1

      @@wayneedmondson1065 Yes, that would be hard for a big data set. But fun knows no limit and is not constrained by the spill-less Excel distribution functions!!!!!

    • @Excelambda
      @Excelambda 3 года назад +2

      Great formula Wayne!!, Great video Mike!! King of statistics!! 😉✌✌ One question, these formula are good for the case or not?
      =NORM.INV(RANDARRAY(12),44,10) (it spills), even =NORM.INV(RANDARRAY(12,3),44,10) spills.

    • @wayneedmondson1065
      @wayneedmondson1065 3 года назад +2

      @@Excelambda Awesome! Thanks for sharing those formulas. Go Team!!

  • @KevinPGA
    @KevinPGA 3 года назад +1

    Beautiful template Professor! Great reminder to not hard code numbers in formulas that may change. So flexible! 👍👍👍

    • @excelisfun
      @excelisfun  3 года назад +1

      Yes, Excel's Golden Rule is the best = as you say: so flexible!!!

  • @simfinso858
    @simfinso858 3 года назад

    Date Randomization,Price Look up This video useful in Stock prices Analysis as well.very useful video.

  • @RogerStocker
    @RogerStocker 3 года назад +3

    Just another great video from the XL-Entertrainer. I really enjoyed the lesson. 👍

    • @excelisfun
      @excelisfun  3 года назад

      Glad you enjoyed it, Roger!!!!!

  • @darrylmorgan
    @darrylmorgan 3 года назад +2

    Boom!Super Cool Tutorial With Some Awesome Formulas...Thank You Mike :)

    • @excelisfun
      @excelisfun  3 года назад

      You are welcome, darryl. Thanks for your awesome BOOM!

  • @vijayarjunwadkar
    @vijayarjunwadkar 3 года назад +1

    Mike, you are simply great! Hats off for this video! Learnt so many tricks in one go! Thanks a lot! 😊👍

    • @excelisfun
      @excelisfun  3 года назад

      You are welcome a lot, Vijay!!!

  • @johnborg5419
    @johnborg5419 3 года назад +1

    Thanks Mike. Nice Video for Breakfast this morning. :) :)

    • @excelisfun
      @excelisfun  3 года назад

      Yes!!! You are welcome for the breakfast, Formula Guy John : )

  • @mattschoular8844
    @mattschoular8844 3 года назад +1

    Thanks Mike....That was great! The Bonus Formula however may require me to rewatch this video =RANDBETWEEN(2,20) more time to grasp your level of thinking. It was awesome!

    • @excelisfun
      @excelisfun  3 года назад

      Nice way to generate a random number of videos lol. You are welcome, Matt!!!!

  • @SyedMuzammilMahasanShahi
    @SyedMuzammilMahasanShahi 3 года назад

    Lovely. Thanks Mike for this EXCELlent video.

    • @excelisfun
      @excelisfun  3 года назад

      You are welcome, Fellow Teacher Syed MM : ) : )

  • @vida1719
    @vida1719 3 года назад +1

    Great example how to randomise data

    • @excelisfun
      @excelisfun  3 года назад

      Glad you like it, Vida : )

  • @excelisfun
    @excelisfun  3 года назад +2

    From my Analytics class, here is a video about other types of variables and distributions that you can use in randomizing formulas: ruclips.net/video/7NNtUs5xAkw/видео.html

  • @yasertaherkhani3174
    @yasertaherkhani3174 3 года назад +1

    Thank you Mike 🌺🌺

    • @excelisfun
      @excelisfun  3 года назад

      You are welcome, Yaser!!!

  • @pcodello
    @pcodello 3 года назад +1

    Very helpful information. Thank you for sharing.

    • @excelisfun
      @excelisfun  3 года назад

      You are welcome for the share, Paulo!!!

  • @rajeshghai1494
    @rajeshghai1494 3 года назад +1

    Great Teacher 🙏🙏🙏

    • @excelisfun
      @excelisfun  3 года назад

      Glad you like it all, RAJESH!!!!

  • @ricos1497
    @ricos1497 3 года назад +1

    Very interesting Mike. Hope all is well with you. I created a lambda for generating random data (on the lambda page on Mr Excel), but this is more interesting and specific. I like it!

    • @excelisfun
      @excelisfun  3 года назад +1

      Great to hear from you, Rico S!!!! That is cool that you created a LAMBDA : ) there are so many ways to create random data. With the many distribution .INV functions so you can really spread out the data as you would like : )

  • @maheshvinchhi3785
    @maheshvinchhi3785 3 года назад +1

    Liked and Thumbs Up👍 Sirji...

  • @chrism9037
    @chrism9037 3 года назад +1

    This is awesome Mike, thanks

    • @excelisfun
      @excelisfun  3 года назад

      You are welcome, Chris : )

  • @adrianl4766
    @adrianl4766 3 года назад

    omg I am so glad I found your channel. I have been trying to figure out a two way index match function for my data set analysis for 3 whole days and I failed. But after checking out one of your vids, I did it in 5 minutes! Thank you so so much!

    • @excelisfun
      @excelisfun  3 года назад

      You are welcome so much, Adrian!!!

  • @SantiagoMolero
    @SantiagoMolero 3 года назад +1

    Great. Thank you!!

    • @excelisfun
      @excelisfun  3 года назад

      You are welcome, Santiago!!!

  • @usmaniqbal1836
    @usmaniqbal1836 3 года назад +1

    Always amazing..

  • @HusseinKorish
    @HusseinKorish 3 года назад +1

    Perfect

    • @excelisfun
      @excelisfun  3 года назад +1

      Glad you like it, Hussein!!!

  • @brianxyz
    @brianxyz 3 года назад +1

    Have you ever used Power Query to create random data sets?

    • @excelisfun
      @excelisfun  3 года назад

      Yes, but I have not found a good practical use, yet. I just like the F9 ability and the ability to change inputs without having to click refresh too much with worksheet formulas ; )

  • @KamleshKumar-lg9xo
    @KamleshKumar-lg9xo 3 года назад +1

    Thanks sir🙏

    • @excelisfun
      @excelisfun  3 года назад

      You are welcome, Kamlesh!!!!

  • @Al-Ahdal
    @Al-Ahdal 3 года назад +1

    First comment, great as always

    • @excelisfun
      @excelisfun  3 года назад

      You get the first place trophy!!!!! : )

  • @EPS-tz6qg
    @EPS-tz6qg 3 года назад

    You the Man Mike! Here's a curve ball for you, do you know if there's a way to apply an absolute cell reference within a formula, via the use of another conditional formula? (e.g. absolute cell refence if true, else relative? Thanks for all the years of great content!

  • @patrickschardt7724
    @patrickschardt7724 3 года назад

    Does the unary + trick work on the distribution formulas for dynamic arrays?
    Great tutorial as always. In depth, bonus tricks, and interesting
    I’m working a RANDDATA LET/ LAMBDA where you provide the number of rows and columns to return from a master data table that would. This would be used to create random smaller datasets.

    • @excelisfun
      @excelisfun  3 года назад

      I do not understand what you are asking. Sorry.

  • @adamreeves3150
    @adamreeves3150 2 года назад +1

    I have question for you. How would you be able to get the dates to randomize, but without repeating the same date in that data set? Would love to be to randomize an adjustable number items/row but randomize all items/rows without repeating. Thank you very much for your response.

    • @excelisfun
      @excelisfun  2 года назад

      Here are two formulas that might work:
      =INDEX(SORT(CHOOSE({1,2},RANDARRAY(COUNT(Date)),Date)),,2)
      or
      =DROP(SORT(HSTACK(RANDARRAY(COUNT(Date)),Date)),,1)

    • @adamreeves3150
      @adamreeves3150 2 года назад

      @@excelisfun Wow! Mr. Girvin - Thank you very much for the prompt response. I will give them a try and see what happens. Might have to watch some INDEX and CHOOSE videos first.

  • @GeertDelmulle
    @GeertDelmulle 3 года назад +1

    Great little exercise!!
    Wait,… what?! Those Stats functions don’t vectorise?
    Come on Microsoft, fix that glitch already!… :-)
    PS: shouldn’t you be using ‘your’ banker’s rounding there? ;-)

    • @excelisfun
      @excelisfun  3 года назад +1

      Yes, too bad about the stats functions not spilling. I guess if we were drinking from the stats functions, that no spill aspect would be great! lol
      Banker's rounding? Why? It is just random data.

    • @GeertDelmulle
      @GeertDelmulle 3 года назад

      @@excelisfun Because they're financial values?
      (Note to self: add the Banker's rounding Excel function to LAMBDA.LET Library).

    • @excelisfun
      @excelisfun  3 года назад +1

      @@GeertDelmulle Cash register data uses the typical round, that is why I always use ROUND : ) Those darn bankers... lol

    • @GeertDelmulle
      @GeertDelmulle 3 года назад

      @@excelisfun LOL! :-)

  • @MrHenri911
    @MrHenri911 3 года назад

    Can anyone share where would they have applied techniques such as this? I think its brilliant but I'm challenged with finding applications for this.

    • @excelisfun
      @excelisfun  3 года назад

      Two: 1) Monte Carlo Simulations used in accounting, finance and analytics. 2) Teachers, book writers and bloggers that need data sets to help teach and have relevant data : )

  • @DevineDigital
    @DevineDigital 3 года назад

    This is really awesome, is there a way to expand this to say display inconsistent group count information from a database?
    Ex. I have 3 groups A,B,C (10,15,7). If I type A in a cell it counts the rows and gives the data for the 10 locations in a nice table? Almost like a pivot table but formula driven instead. Sorry anti-pivot person, they are clunky.

    • @excelisfun
      @excelisfun  3 года назад

      Not sure. You can try this great Excel question site: mrexcel.com/board

  • @kartickchakraborty9135
    @kartickchakraborty9135 3 года назад

    Hi Sir, How are you? Sir, I have office 2019. I want to randomise some texts and number but without repeatation in Cell "A2" to "E10" Excel 2019. Would you kindly teach us, how to do it?

    • @excelisfun
      @excelisfun  3 года назад

      I am not sure how to do that. You can try this great Excel question site: mrexcel.com/board

    • @kartickchakraborty9135
      @kartickchakraborty9135 3 года назад

      @@excelisfun Thank you Sir for your reply. I've learnt a lot of things from you. I've been your loyal subscribers since 2013. You are doing absolutely greate work. May God bless you.

    • @excelisfun
      @excelisfun  3 года назад +1

      @@kartickchakraborty9135 I am glad to help when I can : )

  • @mobilestore47
    @mobilestore47 3 года назад

    U+2764