Random Name from List in Google Sheets || Select Random Number

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

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

  • @irmareyes9805
    @irmareyes9805 11 месяцев назад +2

    Awesome video and information! I was able to create an auto meal planner for each day of the week using these formulas :)

    • @akistepinska
      @akistepinska  11 месяцев назад

      That is such a great use for this function @irmareyes9805! Thank you for sharing ( ^◡^)っ

    • @patrickburr3059
      @patrickburr3059 10 дней назад

      This is literally what I'm trying to do. Now i need to figure out how to keep it from repeating selections.

  • @cameronparry562
    @cameronparry562 Месяц назад

    Enjoyed this - thank you

  • @TheQuizzyMind
    @TheQuizzyMind 6 месяцев назад +1

    Very good tutorial. Solved my problems 👏👏🙂🙂

    • @akistepinska
      @akistepinska  6 месяцев назад

      Thank you so much @TheQuizzyMind!. 🍀

  • @littlebill42
    @littlebill42 Месяц назад +1

    Hi! Just wondering, what are you pressing to get the absolute value?

    • @akistepinska
      @akistepinska  Месяц назад +1

      To create an absolute reference in you need to press the F4 key after selecting or typing a cell reference. This works on both Mac and PC:
      On a PC: Simply press F4 after typing a cell reference to toggle between relative, absolute, and mixed references.
      On a Mac: Press Command (⌘) + T if the F4 key doesn't work directly. If your Mac has a standard function key layout (F1, F2, etc.), F4 should work similarly to a PC or press Fn key + F4
      Here are all the shortcuts: support.google.com/docs/answer/181110

  • @Stencilpirate
    @Stencilpirate Год назад +1

    Great video! I was able to follow it al lthe way, is there a way to trigger the pick function without needing to edit the sheet? like a button needing to be clicked or something

    • @akistepinska
      @akistepinska  Год назад

      Thanks @Stencilpirate,
      You could create a function or a button that would do that, but it . Here is a forum discussion and code:
      An easier solution is to make like typing a letter or deleting a letter in any cell or refreshing the sheet. Manual but still effective. ( ^◡^)っ
      Cheers!

  • @matacra
    @matacra 5 месяцев назад

    are the formulas always different to one another? or just doesnt matter cuz its a big sample size? im doing this with 4 cells, i want them to not repeat, i dont know how to make it work the way i wanted, anyways great video, really helped me even if its not exactly the way i want

  • @AnnaJefferies-o7n
    @AnnaJefferies-o7n 7 месяцев назад +1

    Is there a way to ensure that each name is used in the randomized list once? I am using short lists of 10-12 words and find that when randomizing, the list is doubling up on some words and not including others.

    • @akistepinska
      @akistepinska  7 месяцев назад

      Hi,
      I see the problem. You would have to modify the formula as follows:
      1. Enter the Rand formula in B2, and copy it down the column:
      2. Put the below formula in C2 to extract a random value from column A:
      3. Copy the above formula to as many cells as you want selected.
      Here is a much better step-by-step explanation. Scroll down to the "How to randomly select in Excel without duplicates" section:
      www.ablebits.com/office-addins-blog/excel-random-selection-sample/?AVGAFFILIATE=55741&__c=1
      Good Luck🍀

  • @pincer2885
    @pincer2885 5 месяцев назад +1

    is there a way to make it so that the randomizer only changes when you click a button or change a cell?

    • @akistepinska
      @akistepinska  5 месяцев назад

      Hi @princer2885,
      You would have to either create a Script or a Macro, which can, unfortunately, be complex.
      Here are couple of forum discussions that I found that talks about how to do it.
      stackoverflow.com/questions/32290795/run-function-on-button-click-as-the-creator-user-google-spreadsheet
      shorturl.at/vbb1P
      www.reddit.com/r/excel/comments/rxgpgk/run_formula_when_button_pressed/
      Good Luck🍀

    • @zackyep
      @zackyep 4 месяца назад

      idk if this was what you were looking for but i just put a checkbox above and used =if([ABOVE CELL]=true,index('[RANGE],RANDBETWEEN(1,counta('[RANGE]))))

  • @dakotahedwards1670
    @dakotahedwards1670 Год назад +1

    How can you keep track of the winners?

    • @akistepinska
      @akistepinska  Год назад

      Hi @dakotahedwards1670,
      There are two ways you can lock or keep track of the winners:
      1. You can either COPY & PASTE VALUES to another place or Tab; or
      2. Take a screenshot
      Here is a Google Sheets response; they also mention using scripts, but that is a more advanced solution.
      support.google.com/docs/thread/8555804/randbetween-result-convert-into-static-numbers?hl=en
      Hope that helps. Good Luck!🍀

  • @cathymathias9805
    @cathymathias9805 Год назад

    it's hard to understand, too much information at once. you have to be specific. I couldn't get anything at all

    • @akistepinska
      @akistepinska  Год назад +4

      Hello @cathymathas9805
      To generate a random name using the RANDBETWEEN formula, follow these steps. First, use the RANDBETWEEN formula to obtain a random integer between the specified numbers in column A (A2:A). If you want to keep the list dynamic, you may need to add a COUNTA function to define the last row.
      However, if you want to retrieve an actual name as a result, you need to wrap this function in the INDEX formula. The INDEX function allows you to retrieve the value of a specified cell, which we found using the RANDBETWEEN formula.
      And if you also want to include additional information, such as an email address, phone number, or other data for the randomly selected name, you can use the VLOOKUP function.
      Here is the final formula you can use to generate a random name: =INDEX(A2:A, RANDBETWEEN(1, COUNTA(A2:A)))
      All these concepts are intermediate level and just take a little practice. Testing it out a few times will make everything clearer with time.
      Cheers, & good luck! 🍀

    • @cathymathias9805
      @cathymathias9805 Год назад +1

      Thank you very much, now it's clear. Thanks once again

    • @akistepinska
      @akistepinska  Год назад

      @@cathymathias9805 You are very welcome ;-)