Shaxda tusmada
Haddii aad raadinayso qaar ka mid ah siyaabaha ugu fudud ee SUMIF u dhexeeya laba taariikhood iyo shuruudo kale, markaa waxaad arki doontaa qodobkan mid faa'iido leh. Isku-darka qiyamka waqti xaddidan oo ku saleysan shuruudo ayaa loo baahan yahay in la sameeyo mararka qaarkood si aad hawshan dhaqso ugu qabato waxaad raaci kartaa maqaalkan.
Download Buuga Shaqada
>> SUMIF inta u dhaxaysa Taariikhaha.xlsm
7 Siyood oo loo SUMIF inta u dhaxaysa Laba Taariikhood iyo Shuruudo kale
Halkan, waxaanu ku haynaa xogtan soo socota oo ay ku jiraan diiwaanada iibka ee badeecadaha qaarkood oo lagu qiyaasay taariikhda bixinta iyo iibinta gobollada shirkadda. Isticmaalka xogtan waxaanu muujin doonaa siyaabaha loo soo koobo qiimaha iibka iyadoo lagu salaynayo gobol cayiman iyo kala duwanaanshaha taariikhda.
Waxaan isticmaalnay Microsoft Excel 365 nooca Halkan, waxaad isticmaali kartaa nooc kasta oo kale iyadoo loo eegayo habboonaantaada.
> Habka-1: Isticmaalka Shaqada SUMIFS ilaa SUMIF inta u dhaxaysa Laba Taariikhood oo leh Shuruudo kale>Waxaan rabnaa inaan soo koobno qiimaha iibka ee Bariga Gobol > iyo taariikhaha u dhexeeya 1/10/2022 iyo 3/20/2022 (m-dd-yyyy) adiga oo isticmaalaya Shaqada SUMIFS halkan➤ Ku qor caanaha soo socda unugga E14 .
=SUMIFS(E4:E11,C4:C11,">="&B14,C4:C11,"<="&C14,D4:D11,"East")
Halkan, E4:E11 waa kala-duwanaanshaha iibka ee qiimaha aan rabno inaan soo koobno, C4:C11 waa tirada taariikhda ee shuruudaha ugu horreeya, “>=”&B14 waa shuruudaha ugu horreeyaoo macneheedu yahay ka weyn ama la siman taariikhda bilawga 1/10/2022 > Kala duwanaanta shuruudaha labaad waxay la mid tahay kan hore oo shuruudaha xadkani waa “<=”&C14 oo macnaheedu yahay wax ka yar ama la mid ah taariikhda dhammaadka 3/20/2022 > iyo xadka ugu dambeeya ee cabbirku waa D4:D11 oo ka kooban gobollada, shuruudaha cabbirkan ayaa noqon doona > Bari
.
➤ Riix ENTER .
Hadda, waxaad heli doontaa wadarta iibka >>$13,806.00 ee kala duwanaanshahayada taariikhda la cayimay oo leh shuruudo kale: > Bari Gobol .
> > 3>Faahfaahin dheeraad ah ka sii akhri: Sida loo Sameeyo SUMIF Taariikhda Xadka Bisha ee Excel (9 Siyood)
> Habka-2: Isticmaalka SUMIFS iyo EOMONTH si ay u SUMIF inta u dhaxaysa Laba Taariikhood oo leh Shuruudo kaleQaybtan, waxaan isku dayi doonaa inaan helno wadarta qiimaha iibka ee taariikhaha Janaayo > Bisha iyo >South Gobolka. 2>. Markaa, waxaanu isticmaali doonaa Shaqada EOMONTH oo leh Shaqada SUMIFS halkan 3>> waa kala duwanaanshaha iibka ee qiimaha aan rabno inaan soo koobno, C4:C11 waa tirada taariikhda ee shuruudaha ugu horreeya, “>=”&B14 waa shuruudaha ugu horreeya oo macnaheedu yahay ka weyn ama la mid ah taariikhda bilawga 1/1/2022 Kala duwanaanshaha shuruudaha labaad waxay la mid yihiin kii hore iyo kanshuruudaha xadkani waa “<=”&EOMONTH(B14,0) taas oo macnaheedu yahay wax kayar ama la mid ah taariikhda dhamaadka >>Janaayo <10 bisha, 1/31/2022 > , iyo cabbirka ugu dambeeya waa D4:D11 oo ka kooban gobollada, Shuruudaha xadkani waxa uu noqonayaa >Bari > .
> > > ➤ Riix ENTER . 0>> Intaa ka dib, waxaad heli doontaa wadarta iibka, $ 6,835.00 > ee taariikhaha >Janaayo oo wata shuruudo kale: Koonfurta Gobol . > >> > Ka sii akhri Excel >Habka-3: SUMIFS iyo DATE function
, si loo soo koobo, qiimaha iibka ee Waqooyi Gobolka >iyo taariikhaha gudaha 1/10/2022 > iyo 9>3/20/2022 > qaacidada soo socota ee unugga E14 . =SUMIFS(E4:E11,C4:C11,">="&DATE(2022,1,10),C4:C11,"<="&DATE(2022,3,20),D4:D11,D14)
Halkan, E4: E11 waa kala duwanaanshaha iibka ee aan rabno in aan soo koobno, C4:C11 waa kala duwanaanshaha taariikhda shuruudaha koowaad iyo labaad, cabbirka ugu dambeeyana waa D4:D11 oo ka kooban gobollada
>>- > 21>
DATE(2022,1,10)
→ waxay soo celisaa tiro qiimo taariikheed > Wax-soo-saar →
-
">="&DATE(2022,1,10)
waxay noqotaa1>
">= 44571"
-
DATE(2022,3,20)
→ soo celisa tiro ka mid ah qiimaha taariikhdawax soo saarka → 44640
> 23> -
"<="&DATE(2022,3,20)
waxay noqonaysaa44640
- 21>
SUMIFS(E4:E11,C4:C11,">="&DATE(2022,1,10),C4:C11,"<="&DATE(2022,3,20),D4:D11,D14)
wuxuu noqonayaa 1> SUMIFS(E4:E11,C4:C11,">= 44571",C4:C11,"<= 44640",D4:D11, “North”)
→
>> Wax-soo-saar →
$9,496.00
➤ Riix ENTER .
Markaa, waxaad heli doontaa wadarta iibka, <1 $9,496.00 > ee taariikhdayada la cayimay waxay la mid tahay shuruudaha kale: > Waqooyi Gobol .
>> 3>> Nuxurka La Xidhiidha: >Sida Loo Isticmaalo HADDII Foomamka Taariikhda Kala Duwan ee Excel (6 Hababka)
> Akhris la mid ahHabka-4: Isticmaalka Shaqada SUMIFS ee Maanta
>S Ka hor, waxaad rabtaa inaad hesho wadarta qiimaha iibka ee taariikhaha u dhexeeya >1/1/2022 > iyo taariikhda maanta ( 3/23/2022 )) iyo > Bari Gobol . Si aad tan u samayso waxaad isticmaali kartaa Shaqada MAANTA oo ay la socoto Shaqada SUMIFS >: > waa kala duwanaanshaha iibka kaas ooqiyamka aan rabno in aan soo koobno, C4:C11 waa tirada taariikhda ee shuruudaha koowaad iyo labaad, iyo cabbirka ugu dambeeya waa D4:D11 oo ka kooban gobollada. <6- >
-
">="&B14
wuxuu noqonayaa1>
">= 44562"
Wax soo saarka → 44643 (3/23/2022)
-
"<="&TODAY()
waxay noqonaysaa1>
"<= 44643"
-
SUMIFS(E4:E11,C4:C11,">="&DATE(2022,1,10),C4:C11,"<="&DATE(2022,3,20),D4:D11,D14)
waxay noqotaaSUMIFS(E4:E11,C4:C11,">= 44562",C4:C11,"<= 44643",D4:D11, “East”)
→ waxay hubisaa haddii qiimaha taariikhda inta u dhaxaysa > C4: C11 way ka weyn yihiin ama la siman yihiin 44562 oo ka yar ama la mid ah 44643 iyo gobolka Bari gudaha D4: D11 kala duwan> Wax-soo-saar → $15,208.00
>
Ugu dambayntii, waxaad heli doontaa wadarta iibka oo ah >$15,208.00 taariikhda u dhaxaysa maalinta kowaad ee >January 2022 iyo taariikhda maanta oo leh shuruudo: > Bari Gobol .
> > Haddii aad rabto inaad bedesho taariikhda u dambaysa ee taariikhda laga bilaabo taariikhda maanta ilaa 10 maalmood ka hor taariikhda maanta ka dibna isticmaal qaacidada soo socota > > =SUMIFS(E4:E11,C4:C11,">="&B14,C4:C11,"<="&TODAY()-10,D4:D11,C14)
> >> =SUMIFS(E4:E11,C4:C11,">="&B14,C4:C11,"<="&TODAY()-10,D4:D11,C14)
>
>Taariikhda u dambaysa sida tariikhda 10 maalmood ee ku xiga taariikhda maanta >>>>>> > =SUMIFS(E4:E11,C4:C11,">="&B14,C4:C11,"<="&TODAY()+10,D4:D11,C14)
Wax badan ka sii akhri: Excel VBA: Taariikhda Shaandhaynta maanta ka hor (Tallaabooyinka Degdega ah) >
> Habka-5: Isku-darka SUM iyo IF Hawlaha SUMIF inta u dhaxaysa Laba Taariikhood iyo Shuruudo kaleWaxaad isticmaali kartaa isku-darka SUM function iyo IF function kuxisaabi wadarta iibka taariikhaha u dhexeeya >1/10/2022 > ilaa 3/20/2022 >iyo 9> Bari Gobolka .
> Tallaabooyinka :
>➤ Ku qor caanaha soo socda unugga E14 . =SUM(IF((C4:C11)>=B14,IF((C4:C11)<=C14,IF(D4:D11=D14,E4:E11))))
Halkan, E4:E11 waa kala duwanaanshaha iibka ee aan rabno in aan soo koobno, C4 :C11 waa tirada taariikhda ee shuruudaha koowaad iyo labaad, iyo cabbirka ugu dambeeya waa D4:D11 oo ka kooban gobollada.
> >20> IF((C4:C11)>=B14
→ waxay hubisaa haddii qiimayaasha taariikhda ee kala duwanaanshaha C4:C11 ay ka weyn yihiin ama la siman yihiin qiimaha B14 . Wax soo saarka → {FALSE; TRUE; TRUE; TRUE; TRUE; TRUE; TRUE; TRUE}
IF((C4:C11)<=C14
→ waxay hubisaa haddii qiimayaasha taariikhda ee kala duwan C4:C11 ay ka yar yihiin ama la siman yihiin qiimaha C14 . Wax soo saarka → {TRUE; TRUE; TRUE; TRUE; TRUE; FALSE; TRUE; FALSE}
- >
IF(D4:D11=D14,E4:E11)
→ waxay hubisaa haddii gobollada inta u dhaxaysa D4:D11 waxay la mid yihiin gobolka >Bariga > ee C14 oo soo noqda({TRUE; TRUE; FALSE; TRUE; FALSE; FALSE; FALSE; FALSE}, E4:E11)
{TRUE; TRUE; TRUE; TRUE; TRUE; FALSE; TRUE; FALSE}
,
{1402; 5935; FALSE; 7871; FALSE; FALSE; FALSE; FALSE}
→
{FALSE; TRUE; TRUE; TRUE; TRUE; TRUE; TRUE; TRUE}, {1402; 5935; FALSE; 7871; FALSE; FALSE; FALSE; FALSE}
> Wax soo saar →
Sidoo kale eeg: Ka samee Liiska Hoos-u-dhaca Excel ee Shaxda (5 Tusaalayaal){FALSE; 5935; FALSE; 7871; FALSE; FALSE; FALSE; FALSE}
>SUM({FALSE; 5935; FALSE; 7871; FALSE; FALSE; FALSE; FALSE})
>> Wax-soo-saar →
$13,806.00 > 2>. -
{1;1;1;2;2;3;3;3}=1
> > Wax-soo-saarka →{TRUE; TRUE; TRUE; FALSE; FALSE; FALSE; FALSE; FALSE}
>
Ugu dambayntii, waxaad heli doontaa wadarta iibka, >$13,806.00 > ee kala duwanaanshaha taariikhdayada oo leh shuruudo kale: > Bari Gobol .
Qodobka Laxidhiidha: Excel SUMIF oo leh Xadka Taariikheed ee Bisha &Sannadka (4 Tusaalooyinka)
Habka-6: Isticmaalka SUMPRODUCT, MONTH, iyo YEAR SHURUUD
Halkan, waxaan adeegsan doonnaa SUMPRODUCT function , the MONTH function , iyo shaqada SANADKA si loo soo koobo qiimaha iibka ee taariikhaha >Janaayo > iyo Bari Gobol.>
Tallaabooyin :
➤Ku qor caanaha soo socda unugga E14 .<3 > > =SUMPRODUCT((MONTH(C4:C11)=1)*(YEAR(C4:C11)=2022)*(D4:D11=D14)*E4:E11)
Halkan, E4:E11 waa kala duwanaanshaha iibka ee aan rabno inaan soo koobno, C4:C11 waa kan Taariikhdu waxay u dhaxaysaa shuruudaha koowaad iyo labaad, shuruudaha u dambeeyana waa D4:D11 oo ka kooban gobollada.
>- > 21>
MONTH(C4:C11)
→ BIL wax soo saarka → {1;1;1;2;2;3;3;3}
MONTH(C4:C11)=1
-
YEAR(C4:C11)
→ waxay soo celisaa qiyamka sannadka ee taariikhahawax soo saarka →
>{2022;2022;2022;2022;2022;2022;2022;2022}
-
YEAR(C4:C11)=2022
wuxuu noqonayaa1>
> 22>{2022;2022;2022;2022;2022;2022;2022;2022}=2022
>3>> Wax soo saarka →{TRUE; TRUE; TRUE; TRUE; TRUE; TRUE; TRUE; TRUE}
- >
D4:D11=D14
→ waxay hubisaa haddii gobollada kala duwan D4:D11 waxay la mid yihiin gobolka >Bariga > ee C14{TRUE; TRUE; FALSE; TRUE; FALSE; FALSE; FALSE; FALSE}
-
SUMPRODUCT((MONTH(C4:C11)=1)*(YEAR(C4:C11)=2022)*(D4:D11=D14)*E4:E11)
wuxuu noqonayaa→
SUMPRODUCT({TRUE; TRUE; TRUE; FALSE; FALSE; FALSE; FALSE; FALSE}*{TRUE; TRUE; TRUE; TRUE; TRUE; TRUE; TRUE; TRUE}*{TRUE; TRUE; FALSE; TRUE; FALSE; FALSE; FALSE; FALSE}*E4:E11)
→
SUMPRODUCT({1;1;1;0;0;0;0;0}*{TRUE; TRUE; FALSE; TRUE; FALSE; FALSE; FALSE; FALSE}*E4:E11)
→
SUMPRODUCT({1;1;0;0;0;0;0;0}*E4:E11) SUMPRODUCT({1402;5935;0;0;0;0;0;0})
Output → $7,337.00
>$22>> 23> > ➤ Riix ENTER . >kadib, waxaad heli doontaa wadarta iibka, $7,337.00 > ee >Janaayo bisha oo leh shuruudo kale: > Bari Gobol .>
>Akhri wax dheeraad ah: Excel SUMIF oo leh Xadka Taariikheed ee Bisha & Sannadka (4 Tusaalooyinka)
>Habka-7: Xeerka VBA ilaa SUMIF inta u dhaxaysa Laba Taariikhood oo leh Shuruudo kala duwan
Waxaan isticmaali doonnaa VBA halkan si aan u fulinno xisaabinta wadarta qiimaha iibka ee u dhexeeya labada taariikhood 1/10/2022 >iyo 3/20/2022 > oo leh shuruudo Bariga Gobolka .
>> Tallaabooyinka :
>➤ Tag > Horumariye Tab >> Muuqaal Aasaasiga ah Doorasho . > a Module ayaa la abuuri doonaa.>
iyo DATEVALUE waxay u rogi doonaan xadhkaha taarikhda qiimo taariikheed ka dibna ka dib marka ay buuxiyaan shuruudaha SUMIFS waxay soo celin doonaan qiimaha iibka ee lagu daray unugga E14 .
➤ Riix F5 .
Ugu dambayntii, waxaad heli doontaa wadarta iibka >$13,806.00 ee kala duwanaanshaha taariikhdayada ee la cayimay shuruud kale: Bari Gobol .
Wax dheeraad ah ka akhri: Sida loo Isticmaalo SUMIFS Xaddiga Taariikhda iyo Shuruudaha Kala Duwan (7 Wadooyinka Degdega ah) >
> Qaybta Tababarka > Si aad adigu u sameyso ku-dhaqanka naftaada waxaan ku siinnay Practice qeybta hoose sida xaashida la magacaabay ku celceli . Fadlan sameeNaftaada. GabagaboMaqaalkan, waxaan isku daynay inaan daboolno siyaabaha SUMIF u dhexeeya laba taariikhood iyo shuruudo kale si fudud. . Waxaan rajeynayaa inaad ka heli doonto faa'iido. Haddii aad hayso wax talo ah ama su'aalo ah, xor ayaad u tahay inaad la wadaagto qaybta faallooyinka.