Shaqada Excel TOCOL si ay u beddesho kala duwanaanshaha hal tiir

  • La Wadaag Tan
Michael Brown

Habka fudud ee array ama loo kala qaybin karo tiir leh shaqada TOCOL cabbaar. Laakin u beddelashada unugyo kala duwan oo loo rogo hal tiir waxay ahayd hawl adag in la dildilaaciyo. Hadda, taasi ugu dambeyntii waa is beddeshay. Microsoft waxay soo bandhigtay shaqo cusub, oo loo yaqaan TOCOL, taas oo samayn karta isbeddel isku xidh-ilaa-column oo indho la'aan ah. Hoos waxaa ku qoran liiska hawlaha shaqadan cusubi si fudud u xallin karto.

    Excel TOCOL function

    tiirka.

    Shaqadu waxay qaadataa saddex dood, laakiin tan ugu horreysa ayaa loo baahan yahay.

    TOCOL> Array(loo baahan yahay) - array ama kala duwan si loogu beddelo tiir

    Iilow (ikhtiyaar) - waxay qeexaysaa haddii la iska indho tiro meelaha bannaan ama/iyo khaladaadka. Waxay noqon kartaa mid ka mid ah qiyamkan:

      >
    • 0 ama laga tago (default) - ilaali dhammaan qiimayaasha
    • 1 - iska dhaaf meelaha bannaan
    • > 2 - iska dhaaf khaladaadka 10>3 - iska dhaaf meelaha banaan iyo khaladaadka >
    > Scan_by_column(ikhtiyaar) - waxay go'aamisaa in shaxda toosan ama toosan loo sawiro:>
      >
    • BEEN ama la dhaafay (default) - U sawir shaxanka safka bidix ilaa midig.
    • >
    • RUN - U sawir shaxanka tiirka sare ilaa hoose
    • >
    >>> Talooyin:4>> 10>Si aad u bedesho array hal saf, isticmaal TOROW
  • Si aad u samayso beddelka tiirka-to-array ka soo horjeeda, isticmaal mid ka mid ah shaqada WRAPCOLS si aad ugu duubto tiir ama shaqada WRAPROWS si aad saf ugu duubto
  • > toosan ama lidkeeda, ie. u beddel safafka tiirar, isticmaal shaqada TRANSPOSE.

    helitaanka TOCOL

    TOCOL waa shaqo cusub, kaas oo lagu taageerayo Excel ee Microsoft 365 (loogu talagalay Windows). iyo Mac) iyo Excel ee webka.

    Qaciidada TOCOL ee aasaasiga ah si loogu beddelo kala duwanaanshaha tiirka

    Qaaciddada TOCOL ee qaabka ugu fudud waxay u baahan tahay hal dood - array . Tusaale ahaan, in la dhigo array laba-geesood ah oo ka kooban 3 tiir iyo 4 saf oo hal tiir ah, qaacidadu waa:

    =TOCOL(A2:C5)

    > Tusaalahan) oo si toos ah ugu daadanaya unugyada hoose. Marka la eego Excel, natiijadu waxaa loo yaqaan ' spill range'. > <1 Fadlan u fiirso safafka kala badh-kooban iyo tiirarka kooma- xaddidan:

    {"Apple","Banana","Cherry";1,0,3;4,#N/A,6;7,8,9}

    Shaqada TOCOL waxay sawirtaa shaxanka bidix ilaa midig oo u beddelaa hannaan toosan oo hal-cabbir ah:

    {"Apple";"Banana";"Cherry";1;0;3;4;#N/A;6;7;8;9}

    Natiijadu waxay ku jirtaa unugga E2, kaas oo ay ku daadato unugyada hoose

    > Sida loo isticmaalo shaqada TOCOL ee Excel - tusaaleyaal qaacido 0>Si aad u hesho faham dheeraad ah oo ku saabsanfursadaha shaqada TOCOL iyo hawlaha uu dabooli karo, aynu eegno tusaalooyin qaacido ah.

    U beddelo array to column is ignoring blanks and errors

    Sida aad ku aragtay tusaalihii hore , qaacidada TOCOL ee caadiga ah waxay ka ilaalisaa dhammaan qiyamka soo diyaarinta isha, oo ay ku jiraan unugyo maran iyo khaladaad.

    Hubnaanta natiijada, unugyada madhan waxaa matalaya eber, taas oo noqon karta mid jahawareer leh, gaar ahaan haddii shaxanka asalka ahi leeyahay 0 qiimaha Xalku waa in ka boodo meelaha banaan . Taas awgeed, waxaad dhigaysa xujada 2aad 1:

    =TOCOL(A2:C5, 1)

    Si aad iska indhotirto khaladaadka , dhig xujada 2aad 2:

    > =TOCOL(A2:C5, 2)<3

    Si aad labadaba uga saarto, meelaha bannaan iyo khaladaadka , isticmaal 3 iska dhaaf doodda:

    =TOCOL(A2:C5, 3) >

    Sawirka toosan ama toosan

    > 17> Iyadoo la raacayo scan_by_column dooda (BEEN ama laga saaray), shaqada TOCOL waxay si toos ah u sawirtaa shaxanka oo isku xigta. Si loo habeeyo qiyamka tiirka, u deji dooddan RUN ama 1. Tusaale ahaan:

    =TOCOL(A2:C5, ,TRUE)

    > Ogaysii in, labada xaaladoodba, shaxanka la soo celiyay waa isku cabbir, laakiin qiyamka waa la habeeyey. si kala duwan.><16 ka dib isticmaal TOCOL si aad u beddesho shaxanka la isku daray ee tiir.

    Marka loo maleeyo in kala duwanaanshaha hore uu yahay A2:C4 halka qaybta labaadna ay tahay A8:C9, qaacidadu waxay qaadanaysaa foomkan:

    =TOCOL(VSTACK(A2:C4, A8:C9))

    Qaciidadani waxay muujinaysaa hab-dhaqanka caadiga ah - waxay u akhridaa jaantusyada isku dhafan ee toosan ee bidix dhanka midig sida ka muuqata tiirka E ee sawirka hoose.

    Si aad u akhrido qiyamka kor ilaa hoos, waxaad dejisay xujada 3aad ee TOCOL RUN:

    > =TOCOL(VSTACK(A2:C4, A8:C9), ,TRUE)> Fadlan fiiro gaar ah u yeelo in, kiiskan, qaacido marka hore ka soo celiso qiyamka tiirka A ee labada habab, ka dibna tiirka B, iyo wixii la mid ah. Sababta ayaa ah in TOCOL-ku uu baaro hal meel oo is dulsaaran, oo aan ahayn tirada asalka ah ee shakhsiga ah.

    Haddii macquulka ganacsigaagu u baahan yahay in la isku xidho kala duwanaanshaha asalka ah si toosan halkii uu toos ahaan lahaa, ka dib isticmaal shaqada HSTACK halkii aad ka isticmaali lahayd VSTACK

    habab siman oo la isku daray, qaacidadu waa:

    =TOCOL(HSTACK(A2:C4, A8:C10))

    In array kasta oo soo socda lagu daro midigta safkii hore oo si toos ah loo sawiro shaxanka la isku daray, qaacidadu waa:

    > =TOCOL(HSTACK(A2:C4, A8:C10), ,TRUE)>

    Ka soo saar qiyam gaar ah oo ka soo baxa safaf badan

    Shaqada Excel UNIQUE waxay si fudud u heli kartaa waxyaabo gaar ah hal tiir ama saf sidoo kale waxay soo celisaa safaf gaar ah, laakiin kama soo saari karto qiyam gaar ah safaf badan. Xalku waa in si wada jir ah loo isticmaalo shaqada TOCOL

    Tusaale ahaan, in laga soo saaro dhammaan qiimayaasha kala duwan ee kala duwanA2:C7, qaacidadu waa:

    =UNIQUE(TOCOL(A2:C7))

    Intaa waxa dheer, waxaad ku duubi kartaa qaacidada sare ee shaqada SORT si aad u habayso habka loo soo celiyay sida alifbeetada ah:

    >

    =SORT(UNIQUE(TOCOL(A2:C7)))

    Sida loo beddelo kala duwanaanta tiirka gudaha Excel 365 - 2010

    Xubabka Excel ee aan shaqada TOCOL la taageerin, waxaa jira dhowr siyaabood oo kale oo loogu beddelo tiro unugyo ah oo loo beddelo tiir. Xalalkani waa kuwo aad u dhib badan, laakiin si kastaba ha ahaatee waa shaqeeyaa.

    Si aad u akhrido kala duwanaanta isku xigta:

    INDEX( kala duwan , QUOTIENT( ROW(A1)) -1, COLUMNS( kala duwan ))+1, MOD(ROW(A1)-1, COLUUMNS( kala duwan ))+1)

    Si loo akhriyo kala duwanaanshaha tiirka:

    INDEX( kala duwan , MOD( ROW(A1) -1, ROWS( kala duwanaanshaha ))+1, QUOTIENT(SAFKA(A1) -1 )

    Xogta muunaddeenna, qaacidooyinku waa sida soo socota:

    >Si loo sawiro inta u dhaxaysa goo toos ah bidix ilaa midig :> =INDEX($A$2:$C$5, QUOTIENT(ROW(A1)-1, COLUMNS($A$2:$C$5))+1, MOD(ROW(A1)-1, COLUMNS($A$2:$C$5))+1)

    Qaaciddadani waxay u dhigantaa shaqada TOCOL oo leh dooda 3aad ee loo dhigay BEEN ama laga saaray:

    =TOCOL(A2:C5)

    >Si loo sawiro inta u dhaxaysa kor ilaa hoos:

    =INDEX($A$2:$C$5, MOD(ROW(A1)-1, ROWS($A$2:$C$5))+1, QUOTIENT(ROW(A1)-1, ROWS($A$2:$C$5))+1)

    Qaciidadani waxay la mid tahay shaqada TOCOL iyadoo dooda 3aad loo dhigay RUN:

    =TOCOL(A2:C5, ,TRUE)

    > unugga meesha aad rabto in natiijooyinku ka muuqdaan. Xaaladeena, qaacidooyinka waxay tagaan unugyada E2 (isku xigta) iyo G2 (calaamadaha), ka dibna waxaa lagu koobiyeeyaa ilaa safka 13.

    Haddii qaaciidooyinka lagu koobiyeeyo safaf ka badan intii loo baahnaa, a#REF! khaladku waxa uu ka soo muuqan doonaa unugyo "dheeraad ah". Si aanay taasi u dhicin, waxa aad buul ku samayn kartaa qaacidooyinka shaqada IFERROR sida tan:

    =IFERROR(INDEX($A$2:$C$5, QUOTIENT(ROW(A1)-1, COLUMNS($A$2:$C$5))+1, MOD(ROW(A1)-1, COLUMNS($A$2:$C$5))+1), "")

    A$2:$C$5). Bedelkeeda, waxaad isticmaali kartaa tiro la magacaabay.> <2 0>Fikradda ayaa ah in la isticmaalo shaqada INDEX si loo soo celiyo qiimaha unug gaar ah iyadoo lagu salaynayo safkeeda iyo tirooyinka safafka ee kala duwan lambarkawaxa lagu xisaabiyaa isku-darkan. :

    QUOTIENT(ROW(A1)-1, COLUMNS($A$2:$C$5))+1

    QUOTIENT waxay soo celisaa qaybta isku dhafka qaybta lambarka taxan ee 0 gudaha E2 (unugga kowaad ee caanaha la geliyo) ilaa 11 gudaha E13 $2:$C$5)) waa joogto oo waxay la mid tahay tirada tiirarka ee kala duwanaanshahaaga (3 kiiskeena)

    Hadda, haddii aad hubiso natiijada QUOTIENT ee 3 unug ee ugu horreeya (E2:E4) , waxaad arki doontaa inay le'eg tahay 0 (maxaa yeelay qaybta isku dhafka ee qaybinta waa eber). Ku darista 1 waxay ku siinaysaa lambarka safka 1.

    3-da unug ee xiga (E5:E5), QUOTIENT waxay soo celinaysaa 1, iyo hawlgalka +1 waxay keenaysaa lambarka safka 2. Iyo wixii la mid ah.

    Si kale haddii loo dhigo, qaybtan ka mid ah qaaciddada waxay abuurtaa soo noqnoqoshoisku xigxiga tirada sida 1,1,1,2,2,2,3,3,3,4,4,4,… Tiro kastaa waxay soo celisaa inta jeer ee ay jiraan tiirar aad u kala duwan.

    > xisaabi lambarka safafka, waxaad dhistaa tiro ku habboon oo isku xigta adoo isticmaalaya shaqada MOD:> MOD(ROW(A1)-1, COLUMNS($A$2:$C$5))+1isku xigxiga waa in uu ahaado 1,2,3,1,2,3,…>

    Hawsha MOD waxay soo celisaa inta hadhay ka dib kala qaybinta.

    E2, MOD(ROW(A1)) ($ A$2:$C$5))+1)

    wuxuu noqdaa

    MOD(1-1, 3)+1)

    oo soo noqda 1.

    gudaha E3, MOD(ROW(A2)-1, COLUMNS($A$2:$C$5))+1)

    wuxuu noqonayaa

    > MOD(2-1, 3) +1)

    oo soo noqda 2.

    Iyadoo la sameeyay lambarrada safka iyo tiirka, INDEX dhib kuma lahan soo qaadashada qiimaha loo baahan yahay.

    >E2, INDEX($A$2) :$C$5, 1, 1) waxay ka soo celisaa qiimaha safka 1aad iyo tiirka 1aad ee tirada la tixraacay, tusaale ahaan unuga A2.

    E3, INDEX($A$2:$C$5, 1) . olumn, wuxuu u shaqeeyaa si la mid ah. Farqiga u dhexeeya ayaa ah in ay isticmaasho MOD si ay u hesho nambarka safka iyo QUOTIENT si loo helo lambarka tiirka.

    Shaqada TOCOL ma shaqaynayso

    Haddii shaqada TOCOL ay tuurto qalad, waxay u badan tahay. Si aad u noqoto mid ka mid ah sababahan:

    >

    TOCOL lagama taageero Excel

    Markaad hesho # MAGACA? qalad, higaada saxda ah ee magaca shaqada ayaa ah waxa ugu horeeya ee la sameeyohubi. Haddii magacu sax yahay laakiin khaladku sii jiro, shaqada lagama heli karo noocaaga Excel. Xaaladdan, ka fiirso isticmaalka beddelka TOCOL.

    Array aad buu u weyn yahay

    Qalad #NUM ah ayaa tilmaamaya in shaxdu aanay geli karin tiirka. Kiis caadi ah waa marka aad tixraacdo dhammaan tiirarka ama safafka

    >

    Ma jiraan unugyo madhan oo ku filan

    Marka cilad #SPILL dhacdo, hubi in tiirka meesha qaacidada la geliyey. waxay leedahay unugyo madhan oo ku filan oo lagu buuxiyo natiijooyinka. Haddii unugyadu ay muuqaal ahaan bannaan yihiin, iska hubi in aanay bannaanayn iyo xarfo kale oo aan daabacnayn. Wixii macluumaad dheeraad ah, eeg Sida loo hagaajiyo qaladka #SPILL ee Excel.

    Taasi waa sida aad u isticmaali karto shaqada TOCOL ee Excel 365 iyo xalal kale oo noocyadii hore ah si aad u beddesho 2-cabbir array oo hal tiir ah. Waxaan kaaga mahadcelinayaa inaad akhriday waxaanan rajeynayaa inaan kugu arko blog-keena usbuuca soo socda!

    Buug-shaqeedka ku celceli

    Excel TOCOL function - tusaalooyin qaacido ah (.xlsx file)

    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.