Shaxda tusmada
Inta aan ka shaqeyneyno Microsoft Excel , mararka qaarkood waxaan u baahanahay koronto-dhaliye lambar 5 ah oo random ah. Gaar ahaan marka la samaynayo falanqaynta tirakoobka waxaa laga yaabaa inaan u baahanno inaan abuurno lambarro 5-god ah. Mar labaad waxaa laga yaabaa inaan isticmaalno koronto-dhaliye lambar 5 ah si aan u abuurno furaha sirta ah ama aqoonsiga. Nasiib wanaag Excell waxa uu leeyahay dhawr doorasho si uu u helo lambarro 5-god ah oo random ah. Maqaalkani wuxuu kugu hagayaa inaad isticmaasho xulashooyinkaas
Soo deji Buug-shaqeedka La-qabsiga
Waxaad soo dejisan kartaa buug-hawleedkii shaqada ee aan u isticmaalnay diyaarinta maqaalkan.
>1>Random 5 Digit Number Generator.xlsm
7 Tusaalooyinka Random 5 Digit Number Generator in Excel
1. Excel RANDBETWEEN Marka hore, waxaan u isticmaali doonaa shaqada RANDBETWEEN sidii koronto-dhaliye lambar 5 ah. Shaqadani waxay noo ogolaanaysaa inaan helno tirooyin aan toos ahayn inta u dhaxaysa tirooyinka la cayimay. Tusaale ahaan, waxaan soo saari doonaa 5 lambar oo u dhexeeya 10000 iyo 99999 . Si aad u hesho natiijada la rabo raac talaabooyinkan hoose
> Tallaabooyinka:>>- >Ku qor qaacidada hoose Cell B5 oo taabo Geli .
=RANDBETWEEN(10000,99999)
- Natiijo ahaan, waxaanu heli doonaa lambarka hoose ee 5-god. Marka xigta, isticmaal Buuxi Handle ( + ) si aad u hesho nambaro 5-god ah inta u dhexeysa B6:B10 .
- Sidaas darteed, waxaan heli doonnaa soo-saarka hoose. > 13>
- Kadibna ku dheji sida Qiimaha adoo raacaya Home > Ku dheji > Ku dheji qiimayaasha (eeg shaashadda).
- > RANDBETWEEN(0,99999999999999) >
- BIDIX(RANDBETWEEN(1,9)&RANDBETWEEN(0,99999999999999)& ;RANDBETWEEN(0,99999999999999),B5
- Ku qor kan hoose formula ku jira Cell B5 . Marka xigta Enter . >Enter . >
- Natiijo ahaan, waad Lambarada 5-ta hoose ee hoose. >
- RAND() > >>> <1 )*(99999-10000)+10000
- Natiijo ahaan, hel wax soo saarka soo socda. >
- Sida loo Abuuro Xogta Random ee Excel (9 Hababka Fudud) > 12>
- > Farsameeyaha Nambarka Random ee Excel oo aan soo noqnoqoneynin (9Hababka) > >
- > Ka Samee Nambarka Random Liiska Excel (4 Siyadood) > > Nambarka Random Generator inta u dhaxaysa Range gudaha Excel (8 Tusaalayaal) <2 >
- Marka aad garaacdo Enter , qaacidada sare waxay soo celinaysaa 5-god tirooyinka random (integers) korka tiirarka B 2> & C iyo safafka 5:10 . >
- Marka hore, aad File tab ka ribbon >
- Marka labaad, dooro Options . > 13>
- Natiijo ahaan, Add-ins ayaa soo bixi doona , dhig calaamadda ToolPak oo taabo OK . >
- Marka waxa soo baxaya Nambarka Random Number , geli 2 sida Lambarka Kala duwanaanshiyaha , iyo 6 oo ah Lambarka Random Nambarada . >
- kadib, dooro Labbiska ka Qaybinta hoos-hoosaadka. Qaybta Parameters geli tirada kala duwan ee 5 lambar ( 10000 iyo 99999 )) gudaha inta u dhaxaysa garoonka.
- Intaas ka dib, dooro Range Output oo dooro unugga loo socdo (halkan Cell $B$5 ). Riix OK si aad u xidho wada hadalka >
- Ugu dambayntii, waxaan arki karnaa wax-soo-saarka hoose >
> : >
- > Nuqulka ugu horreeya ee lambarrada aan tooska ahayn ee RANDBETWEEN formula adiga oo raacaya Guriga > Koobi ama Ctrl + C . > 13>
- > Natiijo ahaan, waxaad heli doontaa tirooyinka sida qiyamka > 13>
> 3>> > Wax dheeraad ah ka akhri: Formula Excel si loo Abuuro Nambarka Random (5 tusaale) >
> 2. Samee Lambarka Random 5 oo leh BIDIX RANDBETWEEN FunctionsHabkan, waxaan isticmaali doonaa qaacido leh isku darka LEFT iyo RANDBETWEEN shaqo. Qaaciddadani waxay soo saari doontaa tirooyin random ah iyadoo ku xidhan dhererka tirooyinka lagu sheegay unugga lagu tilmaamay qaacidada. Aynu aragno sida aan hawsha u qabsan karno
- > Marka hore, ku qor qaacidada hoose Cell B6 oo ku dhufo Geli . Qaaciddada waxay soo celin doontaa unug madhan.
=LEFT(RANDBETWEEN(1,9)&RANDBETWEEN(0,999999999999999)&RANDBETWEEN(0,999999999999999),B5)
> > - > Hadda, ku qor 5 gudaha Cell B5 sida aad ugu baahan tahay lambar random ah oo leh 5-lambar. Markaad ku dhufatid Enter , gudaha Cell B6 waxaad heli doontaa lambar random ah oo 5-god ah. > Geli >
>>Shaqeeya> ku 9 .
>Halkan RANDBETWEEN soo celisa lambar random inta u dhaxaysa 0 ilaa 999999999999999.
Ugu dambayntii, qaacidada sare waxay soo celinaysaa nambar random ah oo ka kooban dhererka Cell B5 .
> 3 Markan waxaan isticmaali doonaa isku darka ROUND iyo RAND oo u shaqeeya sidii 5-god lambarka random-ka-dhaliye. Qaabka guud ee soo saarista tirooyinka waa: 3> =ROUND(RAND()*(Y-X)+X,0)
Mee X iyo Y waa lambarka hoose iyo kan sare ee u dhexeeya taas oo aad rabto inaad abuurto lambarro 5-god ah .
Tallaabooyin: >
> =ROUND(RAND()*(99999-10000)+10000,0)
> - >
>
Qaybtan, natiijadii RAND shaqada waxaa lagu dhuftey 89999 . Kadibna natiijadu waxa lagu daraa 1000 .
>- > wareeg (RAND()*(99999-10000)+10000,0) > <13
Ugu dambayntii, ROUND waxay ku wareegaa natiijadii qaacidii hore ilaa eber jajab tobanle.
Ka sii akhri jajab tobanle (3 Hab)
4. Isku-dar INT & amp; RAND wuxuu u shaqeeyaa sida 5 Farsameeyaha Nambarka
Qaabkani wuxuu la mid yahay habkii hore. Halkii laga heli lahaa shaqada ROUND , waxaanu isticmaali doonaa INT >shaqada halkan. Si aad u abuurto 5-god tirooyinka random inta u dhaxaysa 10000 iyo 99999 raac tillaabooyinka hoose>Ku qor caanaha hoose ee Cell B5 . Kadibna taabo Enter . >Enter >
=INT(RAND()*(99999-10000)+10000)
>
Halkan qaacidada sare waxay u shaqaysaa si la mid ah oo lagu sheegay Habka 3 . Marka hore, shaqada RAND waxay abuurtaa tirooyin jajab tobanle ah. Kadibna tirada tobanlaha ah ee soo baxday ayaa lagu dhuftey 89999 waxaana lagu daraa 1000 . Ugu dambayntii, shaqada INT waxa ay nambarka ku wareejisaa halbeegga shanta lambar ee ugu dhow.
> Read More 6 Hababka)Akhris la mid ah
Tallaabooyinka: >
>- >Ku qor qaacidada soo socota Cell B5 . > 13> >> >
=RANDARRAY(6,2,10000,99999,TRUE)
>
Akhri wax dheeraad ah: Sidee si aad u abuurto tiro aan toos ahayn oo aan lahayn nuqul ka mid ah Excel (7 Ways) >
> 6. Codso ToolPak Falanqaynta si aad u abuurto 5 lambar oo Excel ahHabkan, waxaan isticmaali doonaa Excel add- sida koronto-dhaliye lambar 5-god ah. Marka hore waxaan ku tusi doonaa ku darista Excel Ribbon . Ka dib, waxaan isticmaali doonaa ku-darkaas si aan u soo saaro lambarro random 5-god ah.
Tallaabooyinka:
> >
>
- > Marka xigta, Excel Options ayaa soo bixi doona, dhagsii Add-ins . Hubi Excel Add-ins oo laga soo doortay Maamul -hoos u dhacamenu oo tabo Go .
>
- > Hadda tag >Data tab, iyo Data Analysis doorashada ayaa diyaar ah. Guji isaga 1>Generation ka Qalabka Falanqaynta liiska, oo taabo OK . >
> >>
>Tallaabooyin: >
>- Marka hore, aad xaashida meesha aad rabto inaad ka hesho lambarrada random-ka ah ee 5-god. Kadibna midig-guji magaca xaashida oo dooro Arag Code si aad u soo saarto VBA daaqada > 13>
>
>- 11>Hadda ku qor koodka hoose Module oo ku orod addoo isticmaalaya furaha F5 >
8102
>>Ugu dambayn, markaad furto koodka waxaad heli doontaa lambarada 5-god ee hoose.
Read More: Sida loo Abuuro Nambarka Random Number ee kala duwan oo leh Excel VBA >
> Waxyaalaha la Xasuusto- >Natiijada aan ka helno RANDBETWEEN shaqada waxay ka kooban tahay nuqullo. Si aad u ogaato nambarada nuqul ka mid ah waxaad isticmaali kartaa shaqada RANK.EQ ee excel.
- Shaqada RAND sidoo kale waa shaqo kacsan. Waxaad u bedeli kartaa natiijooyinka ay soo celisay qaacidada RAND qiyamka adiga oo isticmaalaya Paste Special ikhtiyaarka.