Jump to content

Loteria da Mega-Sena (GERA NÚMEROS ALEATÓRIOS)


Recommended Posts

Mega-Sena =INT(ALEATÓRIO()*(1-60)+60) ou ALEATÓRIOENTRE(1;60)
=INT(ALEATÓRIO()*(1-60)+60) ou ALEATÓRIOENTRE(1;60)
=INT(ALEATÓRIO()*(1-60)+60) ou ALEATÓRIOENTRE(1;60)
=INT(ALEATÓRIO()*(1-60)+60) ou ALEATÓRIOENTRE(1;60)
=INT(ALEATÓRIO()*(1-60)+60) ou ALEATÓRIOENTRE(1;60)
=INT(ALEATÓRIO()*(1-60)+60) ou ALEATÓRIOENTRE(1;60)

 

GERA NUMEROS ALEATÓRIOS
Mega-Sena 9
17
45
29
27
43

É interessante ressaltar que a função INT() é utilizada para fornecer números inteiros, uma outra forma que considero não padronizada para se obter tal resultado é reduzindo as casas decimais pela própria ferramenta do Excel.

(*) Obs.: A função ALEATÓRIOENTRE(), encontra-se nas versões posteriores ao Excel 2003.

Mérito ao Carlos Roberto Roa

kazu.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...