KA DOORO shaqada Excel oo wata tusaalooyin qaacido ah

  • La Wadaag Tan
Michael Brown

Tababarku wuxuu sharxayaa hab-raacyada iyo adeegsiga aasaasiga ah ee shaqada DOORASHADA oo waxay soo bandhigaysaa tusaalooyin aan fududayn oo muujinaya sida loo isticmaalo qaacidada DOORASHADA ee Excel. Hawlaha Excel ee laga yaabo inaysan u muuqan mid faa'iido leh keligood, laakiin marka lagu daro hawlaha kale waxay siinayaan tiro faa'iidooyin cajiib ah. Heerka aasaasiga ah ee ugu badan, waxaad isticmaashaa shaqada DOORASHADA si aad qiime uga hesho liiska adiga oo tilmaamaya booska qiimahaas. Intaa ka dib casharkan, waxaad ka heli doontaa dhowr adeegsi oo horumarsan kuwaas oo runtii mudan in la baadho loogu talagalay in lagu soo celiyo qiimaha liiska iyadoo lagu saleynayo boos cayiman.

Shaqada waxa ay ku jirtaa Excel 365, Excel 2019, Excel 2016, Excel 2013, Excel 2010, iyo Excel 2007.

Halka shaqadu waa sidan soo socota:

Dooro (index_num, value1, [value2], …)

Halkee:

Index_num (loo baahan yahay) - booska qiimaha lagu noqonayo. Waxay noqon kartaa tiro kasta oo u dhaxaysa 1 iyo 254, tixraac unug, ama qaacido kale.

Qiimaha1, value2, … - liis ilaa 254 qiyam ah oo laga dooranayo. Qiimaha 1 ayaa loo baahan yahay, qiyamka kale waa ikhtiyaari. Kuwani waxay noqon karaan tirooyin, qiyamka qoraalka, tixraacyada unugga, qaacidooyinka, ama magacyo qeexan.

Halkan waxaa ah tusaale ah DOORASHADA qaacidada qaabka ugu fudud:

> =CHOOSE(3, "Mike", "Sally", "Amy", "Neal")> soo celiyaa "Amy" sababtoo ah index_numwaa 3 iyo "Amy" waa qiimaha 3aad ee liiska:>>

Excel DOORASHADA shaqada - 3 shay oo ay tahay in la xasuusto!

>> DOORASHADA waa shaqo aad u cad oo dhib kugu noqon mayso inaad ku dhaqangeliso xaashidaada shaqo. Haddii natiijada aad soo celisay qaacidada aad dooratay ay tahay mid lama filaan ah ama aysan ahayn natiijadii aad raadinaysay, waxay noqon kartaa sababaha soo socda awgood:
    > Tirada qiimayaasha aad dooranayso waxay ku kooban tahay 254.
  1. Haddii index_num uu ka yar yahay 1 ama ka badan yahay tirada qiimayaasha ku jira liiska, #VALUE! qaladka waa la soo celiyaa
  2. Hadii index_num dooddu tahay jajab, waxa loo gooyaa integer-ka ugu hooseeya
>

Sida loo isticmaalo DOORASHADA function gudaha Excel - formula Tusaalooyinka

Tusaalahan soo socdaa waxay muujinayaan sida DOORASHADA ay u kordhin karto awoodda hawlaha kale ee Excel oo ay u bixiso xalal kale oo ku saabsan hawlaha caadiga ah qaarkood, xitaa kuwa loo arko kuwo aan macquul ahayn dad badan.

Excel DOORO IFs

Mid ka mid ah hawlaha ugu badan ee Excel waa soo celinta qiyamka kala duwan ee ku salaysan xaalad cayiman. Xaaladaha intooda badan, tan waxaa lagu samayn karaa iyadoo la isticmaalayo qoraal caadi ah oo buul leh IF. Laakiin shaqada DOORASHADA waxay noqon kartaa mid degdeg ah oo si sahlan loo fahmi karo beddelka

>Tusaale 1. Soo celi qiimayaal kala duwan oo ku saleysan shuruud> Haddii aad u maleyneyso inaad leedahay safka buundooyinka ardayga oo aad rabto inaad calaamadiso. buundooyinka ku salaysanshuruudaha soo socda: > 20> > 23> > 21> 0 - 50<22 > 51 - 100 > > > >

Hal dariiqo oo tan lagu sameeyo waa in la buul dhawr HADDII qaacidooyinka midba midka kale ku jiro:

> =IF(B2>=151, "Excellent", IF(B2>=101, "Good", IF(B2>=51, "Satisfactory", "Poor")))

Si kale ayaa ah in la doorto calaamad u dhiganta xaaladda:

> =CHOOSE((B2>0) + (B2>=51) + (B2>=101) + (B2>=151), "Poor", "Satisfactory", "Good", "Excellent")

>

Sida qaaciddadani u shaqeyso:

0> Doodda index_num , waxaad qiimeysaa xaalad kasta oo soo celi RUN haddii shuruudda la buuxiyo, BEEN haddii kale. Tusaale ahaan, qiimaha unugga B2 wuxuu la kulmaa saddexda shuruudood ee ugu horreeya, markaa waxaan helnaa natiijadan dhexdhexaadka ah:

=CHOOSE(TRUE + TRUE + TRUE + FALSE, "Poor", "Satisfactory", "Good", "Excellent")

Marka la eego in inta badan qaababka Excel TRUE ay la mid tahay 1 iyo BEEN 0, our qaacidadu waxay maraysaa isbeddelkan:

=CHOOSE(1 + 1 + 1 + 0, "Poor", "Satisfactory", "Good", "Excellent")

Ka dib markii qalliinka dheeriga ah la sameeyo, waxaan leenahay:

=CHOOSE(3, "Poor", "Satisfactory", "Good", "Excellent")

>Natiijadu, qiimaha 3aad ee liiska waa la soo celiyaa, kaas oo ah "Wanaagsan"

Talooyin:

    > 14>Si aad qaaciddada uga dhigto mid dabacsan, waxaad isticmaali kartaa tixraacyada unugga halkii aad ka isticmaali lahayd calaamado adag, tusaale ahaan:

    =CHOOSE((B2>0) + (B2>=51) + (B2>=101) + (B2>=151), $E$1, $E$2, $E$3, $E$4)

    >
  • Haddii shuruudahaaga midkoodna uusan RUN ahayn, index_num doodda waxaa loo dejin doonaa 0 oo ku qasbaysa caanahaaga inay soo celiso #QIIMAHA! qalad Si taas looga fogaado, si fudud ugu duub DOORASHADA shaqada IFERROR sidan oo kale:

    =IFERROR(CHOOSE((B2>0) + (B2>=51) + (B2>=101) + (B2>=151), "Poor", "Satisfactory", "Good", "Excellent"), "")

    >
  • >>

    Tusaale 2. Samee xisaabin kala duwan oo ku salaysan xaalad

    >

    Si la mid ah, adigawaxay isticmaali kartaa shaqada Excel CHOOSE si ay u sameeyaan hal xisaabin taxane ah oo xisaabin/formulas ah oo suurtagal ah iyada oo aan la buuleynin dhowr IF odhaahyo gudaha midba midka kale.

    Tusaale ahaan, aan xisaabino komishanka iibiye kasta iyadoo ku xiran iibkooda:

    3>
Natiijooyinka Dhibcaha
Miskiin
Ku qanacsan Fiican in ka badan 151
> > 24> >23 > 7% > 21> $ 51 ilaa $100 > 20> 21> 10% > 21> ka badan $ 101 > 25> 26>>

Iyadoo xaddiga iibka ee B2, qaacidodu waxay qaadataa qaabkan soo socda:

=CHOOSE((B2>0) + (B2>=51) + (B2>=101), B2*5%, B2*7%, B2*10%)

Waxaad tixraaci kartaa unugga u dhigma ee miiskaaga tixraaca, haddii uu jiro. Kaliya xasuuso inaad hagaajiso tixraacyada adoo isticmaalaya calaamadda $.

=CHOOSE((B2>0) + (B2>=51) + (B2>=101), B2*$E$2, B2*$E$3, B2*$E$4)

Excel DOORO qaacidada si aad u abuurto xog random

>Sida aad u badan tahay inaad ogtahay, Microsoft Excel waxay leedahay shaqo gaar ah oo lagu soo saaro. Tirooyinka random-ka ee u dhexeeya tirooyinka hoose iyo kuwa sare ee aad sheegtay - RANDBETWEEN function. Ku dhex geli index_num dooda ee DOORO, qaacidadaadu waxay soo saari doontaa ku dhawaad ​​xog kasta oo random ah oo aad rabto.

Tusaale ahaan, qaacidadani waxay soo saari kartaa liiska natiijooyinka imtixaannada random:

=CHOOSE(RANDBETWEEN(1,4), "Poor", "Satisfactory", "Good", "Excellent")

=CHOOSE(RANDBETWEEN(1,4), "Poor", "Satisfactory", "Good", "Excellent")

>

> Caqligga qaaciddada waa iska caddahay: RANDBETWEEN waxay soo saartaa tirooyin random ah min 1 ilaa 4 oo DOORASHADA waxay ka soo celinaysaa qiime u dhigma liiska hore loo sii qeexay ee afarta qiyam.

Ogow. RANDBETWEEN waa shaqo kacsan oo waxay dib u xisaabisaa mid kastabeddel aad ku samayso xaashida shaqada. Natiijadu waxay tahay, liiskaaga qiyamka random sidoo kale wuu beddeli doonaa. Si aysan taasi u dhicin, waxaad ku beddeli kartaa qaacidooyinka qiyamkooda adiga oo isticmaalaya sifada Paste Special .

Dooro qaacidada si aad u samayso Vlookup bidix

Haddii aad waligaa samaysay U fiirsashada tooska ah ee Excel, waxaad ogtahay in shaqada VLOOKUP ay ka raadin karto oo kaliya tiirka bidix ee ugu badan. Xaaladaha marka aad u baahan tahay inaad qiimaha ku soo celiso bidix ee tiirka raadinta, waxaad isticmaali kartaa isku darka INDEX / MATCH ama waxaad khiyaami kartaa VLOOKUP adiga oo ku dhejinaya shaqada DOORASHADA. Waa kuwan sida:

Adiga oo u malaynaya in aad haysatid liiska buundooyinka tiirka A, magacyada ardayda ee tiirka B, oo aad rabto in aad soo ceshato buundada arday gaar ah. Maadaama tiirka soo laabashada uu yahay dhanka bidix ee tiirka raadinta, qaacidada Vlookup ee caadiga ah waxay soo celisaa #N/A qaladka:

> > 3> Si tan loo hagaajiyo, hel shaqada DOORASHADA si aad isku beddesho. boosaska tiirarka, isagoo u sheegaya Excel in tiirka 1 uu yahay B iyo tiirka 2 uu yahay A: > =CHOOSE({1,2}, B2:B5, A2:A5) >Sababtoo ah waxaan bixinaa soo diyaarsan {1,2} ee index_num dood, shaqada DOORASHADA waxay aqbashaa kala duwanaanshaha qiimaha doodaha (sida caadiga ah, ma aha). VLOOKUP:

=VLOOKUP(E1,CHOOSE({1,2}, B2:B5, A2:A5),2,FALSE)

Oo voilà - eegis dhanka bidixda ah ayaa la sameeyaa iyada oo aan la joojin! maalin >

Haddii aadan hubin iyo in kalewaa in aad shaqada aado berri ama aad guriga joogtid oo aad ku raaxaysato maalmaha fasaxa ah ee aad u qalanto, Excel CHOOSE function waxa uu ogaan karaa marka maalinta shaqadu tahay maalinta xigta Waxay u socotaa sida soo socota:

=TODAY()+CHOOSE(WEEKDAY(TODAY()),1,1,1,1,1,3,2)

> Aragtida ugu horreysa ee khiyaanada leh, marka si dhow loo eego caqli-galka qaaciddada waa ay fududahay in la raaco:

Toddobaadka (Maanta()) waxay soo celisaa lambar taxane ah oo u dhiganta taariikhda maanta, laga bilaabo 1 (Axad) ilaa 7 (Sabti). Tiradani waxa ay tagtaa index_num doodda DOORASHADA qaacidadayada.

Qiimaha1 - qiimaha7 (1,1,1,1,1, 3,2) go'aami inta maalmood ee lagu daro taariikhda hadda jirta. Haddii maanta ay tahay Axad - Khamiis (index_num 1 - 5), waxaad ku daraysaa 1 si aad u soo noqoto maalinta xigta. Haddii maanta ay Jimce tahay (index_num 6), waxaad ku dartay 3 si aad u soo noqoto Isniinta soo socota. Haddii maanta ay tahay Sabti (index_num 7), waxaad ku dartaa 2 si aad u soo noqoto Isniinta soo socota mar labaad. Haa, way fududahay :)

> DOOR qaacidada si aad u soo celiso magaca maalinta/bishii laga bilaabo taariikhda >Xaaladaha aad rabto inaad hesho magac maalin ah qaabka caadiga ah sida magaca buuxa ( Isniin, Talaado, iwm.) ama magac gaaban (Isniin, Talaado, iwm.), waxaad isticmaali kartaa shaqada TEXT sida lagu sharraxay tusaalahan: Hel maalinta toddobaadka laga bilaabo taariikhda Excel.

Haddii aad rabto soo celi maalinta toddobaadka ama magaca bisha oo qaab caada ah, u isticmaal hawsha DOORASHADA habkan soo socota> Si aad u hesho abisha:

=CHOOSE(MONTH(A2), "Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")

Halka A2 ku yaalo unuga ka kooban taariikhda asalka sida aad u isticmaali karto shaqada DOORASHADA ee Excel si aad kor ugu qaaddo moodooyinka xogtaada. Waxaan kaaga mahadcelinayaa inaad akhriday waxaanan rajeynayaa inaan kugu arko blog-keena toddobaadka soo socda!

> 11> Soo deji buug-hawleed shaqo

Excel DOORO tusaalayaal shaqo

Guddiga Iibka
5% $0 illaa $50

Michael Brown waa xamaasad tignoolajiyada u heellan oo xiise u leh fududaynta hababka adag iyadoo la adeegsanayo aaladaha software. In ka badan toban sano oo waayo-aragnimo ah oo ku saabsan warshadaha teknoolajiyada, wuxuu ku horumariyay xirfadihiisa Microsoft Excel iyo Outlook, iyo sidoo kale Google Sheets iyo Docs. Blog-ga Michael wuxuu u heellan yahay inuu la wadaago aqoontiisa iyo khibradiisa dadka kale, isagoo siinaya tabo-fudud oo la raaco iyo casharro lagu horumarinayo wax soo saarka iyo hufnaanta. Haddii aad tahay xirfadle khibrad leh ama bilow ah, Michael's blog wuxuu bixiyaa fikrado qiimo leh iyo talooyin wax ku ool ah si aad uga faa'iidaysato qalabkan software-ka ah ee muhiimka ah.