Shaxda tusmada
Hawooyin badan oo aad ku qabato Excel waxay ku lug leeyihiin isbarbardhigga xogta unugyo kala duwan. Taas awgeed, Microsoft Excel waxay bixisaa lix hawlwadeen oo macquul ah, kuwaas oo sidoo kale loo yaqaan hawlwadeennada isbarbardhigga. Casharradan waxay ujeedadeedu tahay inay kaa caawiso fahamka fahamka hawl-wadeennada macquulka ah ee Excel oo aad qorto hababka ugu waxtarka badan ee falanqaynta xogtaada waxaa loo isticmaalaa in Excel si loo barbardhigo laba qiime. Hawlwadeenada macquulka ah waxaa mararka qaarkood loogu yeeraa hawlwadeenada Boolean sababtoo ah natiijada isbarbardhigga xaalad kasta waxay noqon kartaa mid run ah ama been ah.
Lix hawlwadeenno macquul ah ayaa laga heli karaa Excel. Jadwalka soo socdaa wuxuu sharxayaa mid kasta oo iyaga ka mid ah wuxuu sameeyo wuxuuna ku tusayaa aragtida tusaalooyin qaacido ah.
Shaqeeyaha | Tusaale Formula | 8>Sharaxaad||
La mid ah | = | =A1=B1 | Qaciddu waxay soo celisaa RUN haddii qiimaha uu ku jiro unugga A1 wuxuu la mid yahay qiyamka unugga B1; Been abuur haddii kale. |
Lama sina | =A1B1 | Qaciddu waxay soo celisaa RUN haddii qiimaha unugga A1 aanu ahayn oo le'eg qiimaha unugga B1; BEEN haddii kale. | |
Ka weyn | > | =A1>B1 | Qaciidada waxay soo celisaa RUN haddii qiimaha unugga A1 waa ka weyn yahay qiimaha unugga B1; Haddii kale waxay soo noqotaa BEEN. |
In ka yar | < | =A1 Qaciidada waxay soo celisaa RUN haddii qiimaha unugga A1 wuu ka yar yahay unugga B1; BEENmaxay qaacidada 2aad ee ka wayn iyo ka yar ama la mid ah hawlwadeenada macquulka ahi sameeyaan. Waxay kaa caawineysaa in la ogaado in xisaabinta xisaabta Excel uu la mid yahay qiimaha Boolean TRUE 1, iyo BEENTA 0. Anigoo tan maskaxda ku hayna, aan aragno waxa mid kasta oo ka mid ah tibaaxaha macquulka ah uu dhab ahaantii soo celinayo. | Haddii qiimaha unugga B2 way ka weyn tahay qiimaha C2, ka dib tibaaxda B2>C2 waa RUN, oo sidaas awgeed waxay la mid tahay 1. Dhanka kale, B2C2, qaaciddadayadu waxay maraysaa isbeddelka soo socda: > >Maadaama nambar kasta oo lagu dhufto eber ay bixiso eber, waxaan iska tuuri karnaa qaybta labaad ee qaacidada ka dib calaamadda lagu daray. Sababtoo ah nambar kasta oo lagu dhufto 1 waa lambarkaas, qaacidadayada kakan waxay isu beddeshaa mid fudud = B2*10 oo soo celisa wax soo saarka B2 lagu dhufto 10, taas oo ah sida saxda ah ee kor ku xusan HADDII qaaciddada : ) , haddii qiimaha unugga B2 uu ka yar yahay kan C2, markaas tibaaxaha B2>C2 waxay ku qiimeeyaan BEEN (0) iyo B2<=C2 ilaa RUN (1), taasoo la macno ah in soo-rogista tan kor lagu sharraxay ay dhici doonto.3. Hawlwadeennada macquulka ah ee qaabaynta shuruudaha Excel>Isticmaalka kale ee caadiga ah ee hawlwadeennada macquulka ah ayaa laga helayaa Habaynta Shuruudaha ah ee Excel kaas oo kuu ogolaanaya inaad si dhakhso ah u muujiso macluumaadka ugu muhiimsan ee xaashida. >Tusaale ahaan, xeerarka fudud ee soo socda ku muuji unugyo la xushay ama safafka oo dhan xaashidaada shaqo iyadoo ku xiran qiimaha gudahatiirka A: In ka yar (orange): Ka weyn (cagaaran): > Tallaabada faahfaahsan- Tilmaamaha tallaabo-tallaabo ah iyo tusaalooyinka qaanuunka, fadlan eeg maqaallada soo socda: >
|
Ka weyn ama la mid ah | >= | =A1>=B1 | Qaaciddada waxay soo celisaa RUN haddii qiimaha unugga A1 uu ka weyn yahay ama la mid yahay qiyamka unugga B1; Been abuur haddii kale. |
In ka yar ama la mid ah | <= | =A1<=B1 | Qaciidada waxay soo noqotaa RUN haddii qiimaha unugga A1 uu ka yar yahay ama la mid yahay qiyamka unugga B1; BEEN haddii kale. |
>
Waxay u ekaan kartaa in shaxda sare ku dhan tahay oo aanay jirin wax kale oo laga hadlayo. Laakiin dhab ahaantii, hawlwadeen kasta oo macquul ah wuxuu leeyahay sifooyin gaar ah oo ogaanshaha iyaga ayaa kaa caawin kara inaad ka faa'iideysato awoodda dhabta ah ee qaababka Excel.
Isticmaalka "La mid ah" hawlwadeenka macquulka ah ee Excel
The U dhigma hawl wadeen macquul ah (=) waxaa loo isticmaali karaa isbarbardhigga dhammaan noocyada xogta - lambarada, taariikhaha, qiimaha qoraalka, Booleans, iyo sidoo kale natiijooyinka ay soo celiyeen hababka kale ee Excel. Tusaale ahaan:
=A1=B1 | Waxay soo celisaa RUN haddii qiyamka unugyada A1 iyo B1 ay isku mid yihiin, been haddii kale. |
=A1="oranges" | Wuxuu soo noqdaa RUN haddii unugyada A1 ay ku jiraan kelmadda "liimi", haddii kale BEEN. |
=A1=RUN | Run soo noqda haddii unugyadu A1 ku jiraan qiimaha Boolean TRUE, haddii kale waxay soo celisaa BEEN. haddii alambarka unugga A1 waxa uu la mid yahay qaybinta B1 ee 2, BEEN haddii kale. |
Tusaale 1. Isticmaalka hawlwadeenka "La mid ah" taariikhaha
Waxaa laga yaabaa inaad la yaabto inaad ogaato in La mid ah hawlwadeenka macquulka ahi aanu u barbar dhigi karin taariikhda si fudud sida lambarada. Tusaale ahaan, haddii unugyada A1 iyo A2 ay ku jiraan taariikhda "12/1/2014", qaacidada =A1=A2
waxay ku soo celin doontaa RUN sida ay tahay.
=A1=12/1/2014
ama =A1="12/1/2014"
midkood waxaad heli doontaa BEEN. natiijada. Wax yar oo lama filaan ah, eh?Aragtidu waxay tahay in Excel uu kaydiyo timirta sida lambarada ka bilaabmaya 1-Jan-1900, taas oo loo kaydiyay 1. Taariikhda 12/1/2014 waxa loo kaydiyaa sida 41974. Kor ku xusan qaacidooyinka, Microsoft Excel waxay u tarjumeysaa "12/1/2014" sida xariijinta qoraalka caadiga ah, iyo tan "12/1/2014" kuma eka 41974, waxay soo celisaa BEEN.
Si aad u hesho natiijada saxda ah, waxaad waa in had iyo jeer ku duubtaa taariikhda shaqada DATEVALUE, sidan oo kale =A1=DATEVALUE("12/1/2014")
Tusaale 2. Isticmaalka hawlwadeenka "Equal to" with text values
Isticmaalka Excel's Waxay la mid tahay Hawlwadeenka qiimaha qoraalka lehuma baahnid wax qalloocan oo dheeri ah. Waxa kaliya ee ay tahay inaad maskaxda ku hayso waa La mid ah hawl wadeenka macquulka ah ee Excel waa kiis-aan-jirin , taasoo la micno ah in kala duwanaanshaha kiis la iska indho tiro marka la barbardhigo qiimaha qoraalka.
Tusaale ahaan, haddii unugga A1 uu ka kooban yahay ereyga " oranges " iyo unugga B1 ka kooban yahay " Orange ", qaacidada =A1=B1
waxay soo celinaysaa RUN.
Haddii aad rabto inaad is barbar dhig qiyamka qoraalka iyadoo lagu xisaabtamayo kala duwanaanshahooda kiis, waa inaad isticmaashaa shaqada EXACT halkii aad ka isticmaali lahayd Equal to operator. Isku dhafka shaqada EXACT waa mid fudud sida:
EXACT(text1, text2)Halka qoraalka 1 iyo qoraalka2 ay yihiin qiyamka aad rabto inaad is barbar dhigto. Haddii qiyamku ay isku mid yihiin, oo ay ku jiraan kiis, Excel wuxuu soo celinayaa RUN; haddii kale, waxay soo noqotaa BEEN. Waxa kale oo aad isticmaali kartaa shaqada EXACT ee qaababka HADDII marka aad u baahan tahay isbarbardhigga kiis xasaasi ah ee qiyamka qoraalka, sida ka muuqata sawirka hoose:
>>>>>> Ogow. Haddii aad rabto inaad is barbardhigto dhererka labada qiyamka qoraalka, waxaad isticmaali kartaa shaqada LEN halkii, tusaale ahaan =LEN(A2)=LEN(B2)
ama =LEN(A2)>=LEN(B2)
.Tusaale 3. Isbarbardhigga qiyamka Boolean iyo nambarada
>Waxaa jira fikrad baahsan oo ku jirta Microsoft Excel qiimaha Boolean ee TRUE had iyo jeer waxay la mid tahay 1 iyo BEEN ilaa 0. Si kastaba ha ahaatee, tani waa qayb ahaan run, ereyga muhiimka ah ee halkan waa "had iyo jeer" ama si ka badan "mar walba ma aha" : ) Markaad wax qorayso odhaah maangal ah oo 'la siman' oo is barbar dhigaysa Booleanqiimaha iyo nambarka, waxaad u baahan tahay inaad si gaar ah u tilmaanto Excel in qiimaha Boolean-ka ee aan tirsiga ahayn waa in loola dhaqmaa sidii lambar. Waxa aad taas samayn kartaa adiga oo ku dara calaamadda laba jibbaarka ah ee ka horraysa qiimaha Boolean ama tixraac unug, e. g. =A2=--TRUE
ama =A2=--B2
.
Calaamadda 1aad ee laga jaray, oo farsamo ahaan loo yaqaan hawlwadeenka aan la garanayn, waxay ku khasabtaa RUN/BEEN siday u kala horreeyaan, kan labaadna wuxuu diidaa qiyamka u beddelaya +1 iyo 0. Tani waxay u badan tahay inay fududaan doonto in la fahmo fiirinta shaashadda soo socota:
>>Xusuusin. Waa in aad ku darto hawlwadeen labanlaab ah Boolean ka hor marka aad isticmaalayso hawlwadeeno kale oo macquul ah sida oo aan la mid ahayn, ka weynama in ka yarsi aad si sax ah u barbar dhigto tiro iyo Qiimaha BooleanMarkaad isticmaalayso hawlwadeennada macquulka ah ee qaacidooyinka adag, waxa kale oo laga yaabaa inaad u baahato inaad ku darto labanlaab unary ka hor hadal kasta oo macquul ah oo soo celinaya RUN ama BEEN natiijada. Waa kuwan tusaalaha qaacidada noocaan ah: SUMPRODUCT iyo SUMIFS ee Excel.
Isticmaalka "Lama simanna" hawlwadeenka macquulka ah ee Excel
Waxaad isticmaashaa Excel's Lama eka operator ) marka aad rabto inaad hubiso in qiimaha unugu aanu la mid ahayn qiime cayiman. Isticmaalka oo aan la mid ahayn wada shaqayntu waxay aad ula mid tahay adeegsiga La mid ah ee aynu ka hadalnay daqiiqad ka hor.
Natiijooyinka waxa soo celiyay Aan u dhigmin hawlwadeenku waa la mid yahay natiijooyinkaoo uu soo saaray Excel MA shaqeeyo taas oo beddeleysa qiimaha dooddeeda. Jadwalka soo socdaa waxa uu bixinayaa dhawr tusaale oo qaacido ah.
Lama sina hawlwadeenka | Uma shaqeeyo | Sharaxaad | >=A1B1 | >=MAY
=A1"oranges" | =MAYA(A1=«oranges») | Run soo celiyaa haddii unugga A1 ka kooban yahay wax qiimo ah oo aan ahayn "liimi" BEEN AH haddii ay ka kooban tahay "oranges" ama "ORANGES" ama "Orange", iwm. |
=A1TRUE | =MAYA(A1=RUN) | Run soo noqda hadii unugga A1 waxa uu ka kooban yahay qiime kasta oo aan ahayn RUN, BEEN haddii kale. 8>soo celiyaa RUN haddii lambarka ku jira unugga A1 aanu la mid ahayn tirada qaybinta B1 2, BEEN haddii kale. |
=A1DATEVALUE("12/1/2014") | =MAYA qaab, BEEN haddii kale.
Ka weyn, ka yar, ka weyn ama la mid ah, ka yar ama la mid ah
0 Microsoft Excel waxay bixisaa 4 isbarbardhig oo ku shaqeeya magacyadooda is-sharaxaadda:>- >Ka weyn (>) >Ka weyn ama la mid ah (>=)
- In ka yar (<) >
- In ka yar ama la mid ah (<=)
Inta badan,Hawlwadeenada isbarbardhigga Excel waxaa loo isticmaalaa nambarada, taariikhda iyo qiimaha waqtiga. Tusaale ahaan:
=A1>20 | Waxa uu soo noqdaa RUN haddii tirada unugga A1 ka weyn tahay 20, BEEN haddii kale. |
=A1>=(B1/2) | Soo celiyaa RUN haddii tirada unugga A1 ka weyn tahay ama la mid tahay tibaaxaha kala qaybinta B1 2, BEEN haddii kale.<9 |
=A1 Soo noqda RUN haddii taariikhda unugga A1 ay ka yar tahay 1-Dec-2014, been haddii kale. | |
=A1<=SUM(B1:D1) | Soo celiyaa RUN haddii tirada unugga A1 ka yar tahay ama la mid tahay wadarta qiyamka unugyada B1:D1, haddii kale BEEN. 9> |
Isticmaalka hawlwadeennada isbarbardhigga Excel ee leh qiimayaasha qoraalka
Aragti ahaan, waxaad sidoo kale isticmaali kartaa ka ka weyn , ka weyn ama la mid ah hawlwadeennada iyo sidoo kale wax ka yar dhiggooda oo leh qiyamka qoraalka. Tusaale ahaan, haddii unugga A1 uu ka kooban yahay " tufaax " iyo B1 ka kooban yahay " mooska ", qiyaas muxuu soo celin doonaa caanaha =A1>B1
? Hambalyo kuwa saamiga ku yeeshay BEEN ABUUR qiimaha qoraalka ugu sarreeya.
Marka, marka la barbar dhigo qiyamka " tufaax " (A1) iyo " mooska " (B1), Excel wuxuu ku bilaabmaa xarfaha ugu horreeya " a" iyo "b", siday u kala horreeyaan, iyo mar haddii "b" uu ka weyn yahay "a", qaacidada =A1>B1
waxay soo celisaa BEEN ABUUR.
Hadii xarfaha hore isku mid noqdaan, xarfaha 2aad waa la is barbar dhigayaa, haddii ay isku mid noqdaanna, Excel waxa uu gelayaa xarfaha 3aad, 4aad iyo wixi la mid ah. Tusaale ahaan, haddii A1 ay ku jiraan " tufaax " iyo B1 ka kooban " agave ", qaacidada =A1>B1
waxay soo celinaysaa RUN sababtoo ah "p" ayaa ka weyn "g".
Isticmaalka caadiga ah ee hawl wadeenada macquulka ah ee Excel
Shaqada dhabta ah, hawl wadeenada macquulka ah ee Excel si naadir ah ayaa loo istcimaali karaa keligood. Ogow, Booleanku waxay qiimeeyaan RUN iyo BEEN way soo noqdaan, in kasta oo aad run u ah (ka raali noqo hadalka), macno badan maaha. Si aad u hesho natiijooyin macquul ah oo dheeraad ah, waxaad isticmaali kartaa hawlwadeenada macquulka ah sida qayb ka mid ah hawlaha Excel ama xeerarka qaabaynta shuruudaha, sida lagu muujiyay tusaalooyinka hoose.
> 1. Isticmaalka hawlwadeennada macquulka ah ee doodaha shaqooyinka ExcelMarka ay timaaddo hawl-wadeennada macquulka ah, Excel waa mid aad u oggol oo u oggolaanaya isticmaalka iyaga oo ku jira xuduudaha hawlo badan. Mid ka mid ah isticmaalka ugu caansan ayaa laga helaa Excel IF function halkaas oo hawlwadeenada isbarbardhigga ay gacan ka geysan karaan dhisidda imtixaan macquul ah, iyo IF qaaciddada waxay soo celin doontaa natiijada ku habboon iyadoo ku xiran haddii imtixaanku u qiimeeyo RUN ama BEEN. Waayotusaale:
=IF(A1>=B1, "OK", "Not OK")
Tan fudud HADDII ay qaacidadu soo noqoto OK haddii qiimaha unugga A1 uu ka weyn yahay ama la mid yahay qiimaha unugga B1, "Maya OK" haddii kale.
Haddana waa tusaale kale:
=IF(A1B1, SUM(A1:C1), "")
Qaacdadu waxay is barbardhigtaa qiyamka unugyada A1 iyo B1, haddii A1 aanu la mid ahayn B1, wadarta qiyamka unugyada A1:C1 waa la soo celinayaa. , xadhig madhan haddii kale.
Excel logistics sidoo kale waxaa si weyn loogu isticmaalaa hawlaha gaarka ah HADDII sida SUMIF, COUNTIF, AVERAGEIF iyo dhiggooda jamac kuwaas oo soo celin natiijada ku salaysan xaalad gaar ah ama xaalado badan.
Waxaad ka heli kartaa tusaalooyin badan oo qaacido ah casharrada soo socda:
>>Dabcan, hawlaha Excel aad bay u xoog badan yihiin, laakiin had iyo jeer uma baahnid inaad isticmaasho si aad u gaadho natiijada la rabo. Tusaale ahaan, natiijooyinka ay soo celiyeen labada qaacido ee soo socda waa isku mid:
IF function: =IF(B2>C2, B2*10, B2*5)
Formula with logical operators: =(B2>C2)*(B2*10)+(B2<=C2)*(B2*5)