Skip to main content

Conas luach randamach a ghiniúint bunaithe ar dhóchúlacht sannta in Excel?

Má tá tábla ann le roinnt luachanna agus céatadáin sannta comhfhreagracha mar atá thíos an pictiúr a thaispeántar i mbileog. Agus anois, ba mhaith liom luachanna randamacha a ghiniúint bunaithe ar liosta na luachanna agus na dóchúlachtaí sannta dóibh.
doc randamach le dóchúlacht 1

Cruthaigh luach randamach le dóchúlacht


mboilgeog cheart gorm saighead Cruthaigh luach randamach le dóchúlacht

Déanta na fírinne, chun luachanna randamacha a ghiniúint leis an dóchúlacht, níl uait ach dhá fhoirmle.

1. I gcill in aice láimhe an tábla, clóscríobh an fhoirmle seo = SUM ($ B $ 2: B2), agus tarraing an fhoirmle seo síos go dtí na cealla atá uait. Féach an pictiúr:
doc randamach le dóchúlacht 2

2. Roghnaigh cill bhán a gcuirfidh tú an luach randamach uirthi, clóscríobh an fhoirmle seo =INDEX(A$2:A$8,COUNTIF(C$2:C$8,"<="&RAND())+1), brúigh Enter eochair. Agus brúigh F9 eochair chun an luach a athnuachan de réir mar a theastaíonn uait.
doc randamach le dóchúlacht 3


Ailt Choibhneasta:

Uirlisí Táirgiúlachta Oifige is Fearr

🤖 Kutools AI Aide: anailís sonraí a réabhlóidiú bunaithe ar: Forghníomhú Chliste   |  Gin Cód  |  Cruthaigh Foirmlí Saincheaptha  |  Anailís a dhéanamh ar Sonraí agus Cairteacha a Ghin  |  Feidhmeanna Kutools a agairt...
Gnéithe Coitianta: Faigh, Aibhsigh nó Aithnigh Dúblaigh   |  Scrios Sraitheanna Bána   |  Comhcheangail Colúin nó Cealla gan Sonraí a Chailleadh   |   Babhta gan Foirmle ...
Cuardaigh Super: Ilchritéir VLookup    VLookup Illuachanna  |   VLookup Trasna Ilbhileoga   |   Amharc doiléir ....
Liosta anuas Casta: Go tapa Cruthaigh Liosta Anuas   |  Liosta anuas Cleithiúnach   |  Liosta Buail Isteach Ilroghnacha ....
Bainisteoir Colún: Cuir Líon Sonrach Colún leis  |  Colúin Bog  |  Scoránaigh Stádas Infheictheachta na gColún Ceilte  |  Déan comparáid idir Raonta & Colúin ...
Gnéithe Réadmhaoin: Fócas Eangaí   |  Amharc Dearaidh   |   Barra Mór na Foirmle    Leabhar Oibre & Bainisteoir Bileog   |  Leabharlann Acmhainní (Uaththéacs)   |  Piocálaí Dáta   |  Comhcheangail Bileoga Oibre   |  Criptigh/Díchriptigh Cealla    Seol Ríomhphost trí Liosta   |  Scagaire Super   |   Scagaire Speisialta (scagaire trom/iodálach/stailc tríd...) ...
Barr 15 Uirlisí12 Téacs uirlisí (Cuir Téacs, Bain Carachtair,...)   |   50 + Cairt cineálacha (Cairt Gantt,...)   |   40+ Praiticiúil Foirmlí (Ríomh aois bunaithe ar lá breithe,...)   |   19 Insertion uirlisí (Cuir isteach Cód QR, Ionsáigh Pictiúr ón gCosán,...)   |   12 Tiontú uirlisí (Uimhreacha le Focail, Comhshó Airgeadra,...)   |   7 Cumaisc & Scoilt uirlisí (Sraitheanna Comhcheangail Casta, Cealla Scoilt,...)   |   ... agus eile

Supercharge Do Scileanna Excel le Kutools le haghaidh Excel, agus Éifeachtúlacht Taithí Cosúil Ná Roimhe. Kutools le haghaidh Excel Tairiscintí Níos mó ná 300 Ardghnéithe chun Táirgiúlacht a Treisiú agus Sábháil Am.  Cliceáil anseo chun an ghné is mó a theastaíonn uait a fháil ...

Tuairisc


Tugann Tab Oifige comhéadan Tabbed chuig Office, agus Déan Do Obair i bhfad Níos Éasca

  • Cumasaigh eagarthóireacht agus léamh tabbed i Word, Excel, PowerPoint, Foilsitheoir, Rochtain, Visio agus Tionscadal.
  • Oscail agus cruthaigh cáipéisí iolracha i gcluaisíní nua den fhuinneog chéanna, seachas i bhfuinneoga nua.
  • Méadaíonn do tháirgiúlacht 50%, agus laghdaíonn sé na céadta cad a tharlaíonn nuair luch duit gach lá!
Comments (19)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
A formula ta errada... <= altera a P()... Tem que ser < apenas... 

This comment was minimized by the moderator on the site
You're a life saver.
Thanks a million!
This comment was minimized by the moderator on the site
MÌNH KHÔNG HIỂU LẮM. TẠI SAO PHẢI LÀM NHƯ VẬY Ạ?
This comment was minimized by the moderator on the site
Ottimo lavoro! Questo è proprio quello che cercavo. Però non funziona con Calc di Open Office, che fra l'altro accetta solo i comandi in italiano.
E' possibile tradurla in modo che funzioni anche con calc? Io non ci sono riuscito.Grazie.

This comment was minimized by the moderator on the site
THE FORMULA WORKS ONLY IF ONE SUBSTITUTES RAND() WITH RANDBETWEEN(1;X) WHERE X IS THE TOTAL NUMBER OF POSSIBLE OUTCOMES, WHICH WOULD SIMPLY BY AN INTEGER GREATER THAN 1.
This comment was minimized by the moderator on the site
frankly I don't think this formula works.
I am trying to sample the results of an election so I have in a row the votes of different parties. no I want to go in & pick up randomly ten ballots (sort of like exit polling works), but I always get the first party in the rows.
This comment was minimized by the moderator on the site
How can I utilize this random number generator but only have it generate odd or even numbers inside of the criteria? When I add the "ODD" or "EVEN" coding, it only produces the number "1" in the cell.
This comment was minimized by the moderator on the site
Hi, Preston Ehrsam, the Insert Random Data tool cannot insert random even or odd numbers only.
This comment was minimized by the moderator on the site
Sorry Just Noticed that I extend the cumulative prob. outside the desired limits
This comment was minimized by the moderator on the site
Does this work if the data in the cells are horizontal instead of vertical? Mine is not. Thanks
This comment was minimized by the moderator on the site
Hello, can anyone help me getting the correct formula? I would like to get random values but with certain limits. For example, randomly get "red, blue, green, orange or pink", but I have a specific quantity of items for each color so I have to set this condition within the formula.
Thanks!
This comment was minimized by the moderator on the site
You can try the Insert Random Data to create the custom list as red, blue, green, orange and pink, then insert then to range randomly.
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations