Kazu&LotoMania Posted March 26, 2016 Share Posted March 26, 2016 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.