30/60/90 maalmood laga bilaabo maanta ama maanta ka hor - xisaabiyaha taariikhda ee Excel

  • La Wadaag Tan
Michael Brown

Tababarku wuxuu muujinayaa sida loo sameeyo xisaabiyaha taariikhda gudaha Excel si sax ah baahidaada si aad u hesho taariikh N maalmood laga bilaabo ama ka hor maanta, iyadoo la tirinayo maalmaha oo dhan ama maalmaha shaqada oo kaliya. >

> Ma waxaad raadineysaa inaad xisaabiso taariikhda dhicitaanka ee saxda ah 90 maalmood laga bilaabo hadda? Mise waxaad la yaaban tahay taariikhda 45 maalmood kadib maanta? Ama waxaad u baahan tahay inaad ogaato taariikhda dhacday 60 maalmood ka hor maanta (tirinta kaliya maalmaha shaqada iyo maalmaha oo dhan)?> Wax kasta oo hawshaadu tahay, casharkan wuxuu ku bari doonaa sida loo sameeyo xisaabiyaha taariikhdaada ee Excel ee hoos yimaada 5 daqiiqo Haddii aadan haysan waqti intaas le'eg, markaa waxaad isticmaali kartaa xisaabiyahayaga khadka tooska ah si aad u heshid taariikhda tirada la cayimay ee maalmaha ka dambeeya ama ka hor maanta
    >
>Taariikhda Xisaabiyaha ee Excel Online

Ma doonaysaa xal degdeg ah "waa maxay 90 maalmood laga bilaabo maanta" ama "waa maxay 60 maalmood ka hor maanta"? Ku qor tirada maalmaha unugga u dhigma, taabo Gelida, waxaadna isla markiiba heli doontaa dhammaan jawaabaha:

Fiiro gaar ah. Si aad u aragto buuga shaqada ee ku lifaaqan, fadlan u oggolow cookies-ka suuq-geynta.

Ma u baahan tahay inaad xisaabiso 30 maalmood laga bilaabo taariikhda la cayimay ama go'aamiso 60 maalmood oo shaqo ka hor taariikh cayiman ? Ka dib isticmaal xisaabiyaha taariikhda

Ma jeceshahay inaad ogaato qaababka loo isticmaalo xisaabinta taariikhahaaga? Dhammaantood iyo kuwo kale oo badan waxaad ka heli doontaa tusaalooyinka soo socda

Sida loo xisaabiyo 30/60/90 maalmood laga bilaabo maanta Excel

Si aad u hesho taariikh N maalmood laga bilaabo hadda, isticmaalMAANTA waxay shaqaynaysaa inaad soo celiso taariikhda hadda jirta oo aad ku darto tirada maalmaha la rabo

Si aad u hesho taariikh dhacda 30 maalmood laga bilaabo maanta:

> =TODAY()+30>Si loo xisaabiyo 60 maalmood laga bilaabo maanta:

=TODAY()+60

Waa maxay taariikhda hadda laga bilaabo 90 maalmood? Waxaan filayaa in aad hore u garanaysay sida loo helo B3, oo ku dar unuggaas taariikhda hadda jirta:

=TODAY()+B3

Hadda, isticmaalayaashaadu waxay ku qori karaan lambar kasta unugga la tixraacay oo qaacidada ayaa dib u xisaabin doonta si waafaqsan. Tusaale ahaan, aan helno taariikhda dhacda 45 maalmood laga bilaabo maanta:

Sidee u shaqayso qaaciddani

Matelaadkeeda gudaha, Excel waxay u kaydisaa taariikhaha lambarro taxane ah laga bilaabo Janaayo 1, 1900, kuwaas oo waa lambarka 1. Haddaba, qaacidadu waxay si fudud isugu daraysaa labada lambar oo kala ah lambarrada ka dhigan taariikhda maanta iyo tirada maalmaha aad sheegtay. Shaqada MAANTA() waa mid kacsan oo si toos ah ayey u cusbooneysiisaa mar kasta oo xaashida shaqada la furo ama dib loo xisaabiyo - marka marka aad furto buugga shaqada berrito, qaacidadaadu waxay dib u xisaabin doontaa maalinta hadda la joogo

Waqtiga qoraalkan, taariikhda maanta waa Abriil 19, 2018, kaas oo uu matalayo lambarka taxanaha 43209. Si aad u heshid taariikh, waxaad tidhaahdaa, 100 maalmood ka dib, waxaad dhab ahaantii samaynaysaa xisaabinta soo socota:

=TODAY() + 100

= April 19, 2018 + 100 <3

= 43209 + 100

= 43309

U beddel lambarka taxan 43209 Taariikhda qaab, oo waxaad heli doontaa Julaay 28, 2018, oo ah 100 maalmood kadib maanta.

0>Si loo xisaabiyo maalmaha N ka hor maanta, ka jar tirada maalmaha loo baahan yahay laga bilaabo taariikhda hadda jirta. Tusaale ahaan:

90 maalmood ka hor maanta:

> =TODAY()-90

60 maalmood ka hor maanta:

=TODAY()-60

45 maalmood ka hor maanta. :

=TODAY()-45

Ama, samee guud maanta laga jaray maalmaha N oo ku salaysan tixraac unug:

> =TODAY()-B3>In Sawirka hoose, waxaan xisaabineynaa taariikhda dhacday 30 maalmood ka hor maanta.

Sida loo xisaabiyo ganacsiga N ka dib/ maanta ka hor

Sida aad u badan tahay inaad ogtahay, Microsoft Excel waxay leedahay hawlo yar oo lagu xisaabiyo maalmaha shaqada iyadoo lagu saleynayo taariikhda bilawga ah iyo sidoo kale inta u dhaxaysa laba taariikhood oo kasta Waxaad sheegtaa.

Tusaalahan hoose, waxaanu adeegsan doonaa shaqada MAALMAHA SHAQADA, taasoo soo celisa taariikhda dhacda tiro maalmo shaqo ah oo ka horreeya ama ka hor taariikhda bilawga, marka laga reebo sabtida iyo axada (Sabtida iyo Axada) . Haddii maalmaha fasaxaagu ay kala duwan yihiin, ka dib isticmaal shaqada WORKDAY.INTL taas oo u oggolaanaysa cabbirada caadada u ah sabtida iyo axada> MAALINTA SHAQADA(Maanta(), N days )

Waa kuwan dhawr tusaale:

>10 maalmood oo shaqo laga bilaabo maanta> =WORKDAY(TODAY(), 10)>30 maalmaha shaqada laga bilaabo hadda

=WORKDAY(TODAY(), 30)

5 maalmood oo shaqo laga bilaabo maanta

=WORKDAY(TODAY(), 5)

Si aad u hesho taariikh N maalmo shaqo kahormaanta , isticmaal qaacidadan:

SHAQO(MANTA(), - N days)

Oo halkan waxaa ah dhawr hab oo nolosha dhabta ah:

>90 ganacsi maalmo ka hor maanta> =WORKDAY(TODAY(), -90)>15 maalmood oo shaqo ka hor maanta =WORKDAY(TODAY(), -15)Tixraaca unugga, dheh B3:>N maalmaha shaqada laga bilaabo maanta:> =WORKDAY(TODAY(), B3)> Si la mid ah, waxaad ku dari kartaa ama ka jari kartaa maalmaha shaqada taariikhda la siiyay, xisaabiyaha taariikhda Excel wuxuu u ekaan karaa sidan.>Sida loo sameeyo xisaabiyaha taariikhda gudaha Excel<7

Ma xasuusataa Xisaabiyaha Taariikhda Onlaynka ah ee Excel ee lagu soo bandhigay bilowgii casharkan? Hadda waxaad taqaan dhammaan qaaciidooyinka oo si fudud ayaad ugu soo celin kartaa xaashidaada shaqo. Xitaa waxaad samayn kartaa wax aad u faahfaahsan sababtoo ah nooca desktop-ka ee Excel wuxuu bixiyaa karti aad u badan.

Si aan ku siino fikrado, aan naqshadeyno Xisaabiyaha Taariikhda Excel hadda.

Guud ahaan, waxaa jiri kara 3 doorasho ee xisaabinta taariikhaha:

    >
  • Iyadoo ku salaysan taariikhda maanta ama taariikhda gaarka ah
  • >
  • Laga bilaabo ama ka hor taariikhda la cayimay
  • >
  • Tiri dhammaan maalmaha ama maalmaha shaqada oo dhan

Si aan u siino dhammaan dookhyadan isticmaalayaashayada, waxaanu ku darnaa saddex Kooxda kontaroolada ( Developer tab > Geli > Koontaroolada Foomka > Kooxda Kooxda) oo geli laba badhamada raadiyaha sanduuq kasta oo koox kasta. Kadib, waxaad isku xireysaa koox kastaee badhamada unug gaar ah (midig guji batoonka > Qaabka Xakamaynta > Control tab > Cell link ), oo aad hadhoow qarin karto. Tusaalahan, unugyada isku xidhan waa D5, D9 iyo D14 (fadlan eeg sawirka hoose)

Ikhtiyaar ahaan, waxaad geli kartaa qaacidada soo socota ee B6 si aad u geliso taariikhda hadda jirta haddii Taariikhda Maanta badhan ayaa la doortay. Dhab ahaantii lagama maarmaan ma aha qaacidada xisaabinta taariikhda, kaliya ixtiraam yar oo ku socota isticmaalayaashaada si aad u xasuusiso taariikhda maanta ay tahay:

=IF($D$5=1, TODAY(), "")

>Ugu dambeyntii, geli qaacidada soo socota ee B18 ee hubinaysa qiimaha unug kasta oo ku xidhan oo xisaabiya taariikhda ku salaysan doorashooyinka isticmaalaha:>

=IF(AND($D$5=1, $D$9=1, $D$14=1), TODAY()+$B$3, IF(AND($D$5=1, $D$9=1, $D$14=2), WORKDAY(TODAY(),$B$3), IF(AND($D$5=1, $D$9=2, $D$14=1), TODAY()-$B$3, IF(AND($D$5=1, $D$9=2, $D$14=2), WORKDAY(TODAY(),-$B$3), IF(AND($D$5=2, $D$9=1, $D$14=1), $B$7+$B$3, IF(AND($D$5=2, $D$9=1, $D$14=2), WORKDAY($B$7, $B$3), IF(AND($D$5=2, $D$9=2, $D$14=1), $B$7-$B$3, IF(AND($D$5=2, $D$9=2, $D$14=2), WORKDAY($B$7,-$B$3), ""))))))))

Waxay u ekaan kartaa qaacido bahal ah marka la eego aragtida koowaad, laakiin haddii aad u kala qaybiso shakhsi ahaan HADDII Odhaaho, Waxaad si fudud u aqoonsan doontaa qaacidooyinka xisaabinta taariikhda fudud ee aan uga soo hadalnay tusaalayaashii hore.

Hadda, waxaad doorataa xulashooyinka la rabo, dheh, 60 maalmood laga bilaabo hadda , oo hel kuwan soo socda. Natiijo:

Si aad si dhow u eegto qaacidada oo ay u badan tahay in aad dib ugu noqoto-injineer baahidaada, waxaa lagugu soo dhaweynayaa inaad soo dejiso Xisaabiyaha Taariikhda ee Excel.

Aaladaha gaarka ah ee xisaabinta taariikhaha maanta

Haddii aad raadinayso wax xirfad badan, waxaad si dhakhso ah u xisaabin kartaa 90, 60, 45, 30 maalmood laga bilaabo hadda (ama tiro kasta oo maalmo ah oo aad u baahan tahay) qalabkayada Excel.

Taariikhda iyo WaqtigaWizard

Haddii aad fursad u heshay in aad wax kaga bixiso Saaxirkeena Taariikhda iyo Wakhtiga ugu yaraan hal mar, waxaad ogtahay inay isla markiiba ku dari karto ama ka jari karto maalmo, toddobaadyo, bilo ama sannado (ama isku darka cutubyadan) ilaa taariikh cayiman iyo sidoo kale xisaabi farqiga u dhexeeya laba maalmood. Laakiin ma ogtahay in ay sidoo kale xisaabin karto taariikhaha maanta?

Tusaale ahaan, aan ogaano taariikhda 120 maalmood > laga bilaabo >maanta >:

  1. Gali qaacidada MAANTA () unugga qaarkood, dheh B1.
  2. >
  3. Dooro unugga meesha aad rabto inaad natiijada ka soo saarto, B2 kiiskeenna.
  4. 15>guji Taariikhda & Waqtiga Wizard badhanka Alaabada Awooda tab. >>
  5. Marka Ku dar tab, caddee inta maalmood ee aad rabto inaad ku darto taariikhda isha (120 maalmood) Tusaalahan)
  6. >
  7. Riix badhanka Geli caanaha .
  8. > 21>

    Waa taas!

    Sida ka muuqata sawirka kore, qaacidada uu dhisay saaxirku way ka duwan tahay dhammaan qaacidooyinka aan ka hadalnay, laakiin si isku mid ah ayey u shaqeysaa :)

    >Si aad u hesho taariikh dhacday 120 maalmood kahor maanta, u beddel Ka-goynta tab, oo habee isla cabbirada. Ama, geli tirada maalmaha unug kale, oo u tilmaan saaxirka unuggaas:

    Natiijada, waxaad heli doontaa qaacido caalami ah oo si toos ah dib u xisaabinaya mar kasta oo aad gasho tiro cusub oo maalmo ah ee tixraaca unugga.

    Taariikh-dooriyaha Excel

    oo leh Excel-keenaDate Picker, kaliya ma geli kartid taariikho sax ah xaashidaada shaqo hal guji, laakiin sidoo kale xisaabi qaacidooyinka.

    Tusaale ahaan, waa kuwan sida aad ku heli karto taariikh 21 maalmood laga bilaabo maanta:

    1. guji Taariikhda Piker badhanka Alaabada Awoodaha tab si aad awood ugu yeelatid jadwalka hoos-u-dhaca ee Excel kaaga.
    2. >
    3. Mig-guji unugga meesha aad rabto inaad geliso taariikhda la xisaabiyay oo dooro Taariikhda ka dooro jadwalka menu pop-up
    4. >
    5. Jadwalka hoos-u-dhiciddu wuxuu ka muuqan doonaa xaashida shaqada oo ay taariikhda hadda ku caddahay buluug, waxaadna gujisaa badhanka xisaabiyaha ee ku yaal koonaha midig ee sare: >
    6. >
    7. Muraayadda sare, dhagsii unugga Maalinta oo ku qor tirada maalmaha aad ku dari karto, 21 xaaladdeenna. Sida caadiga ah, xisaabiyuhu wuxuu fuliyaa hawlgalka dheeriga ah (fadlan u fiirso calaamadda lagu daray ee muraayadda bandhigga). Haddii aad rabto inaad ka jarto maalmaha maanta, ka dib riix calaamadda laga jaro shayga hoose
    8. >Ugu dambayntii, dhagsii si aad u muujiso taariikhda la xisaabiyay ee jadwalka. Ama, taabo furaha Gelida ama dhagsii si aad taariikhda ugu geliso unug:

    Sida loo iftiimiyo taariikhaha 30, 60 iyo 90 maalmood laga bilaabo maanta

    > Goorma xisaabinta dhicitaanka ama taariikhaha dhicitaanka, waxaa laga yaabaa inaad rabto inaad natiijooyinka ka dhigto mid muuqaal leh adoo midabaynaya taariikhaha iyadoo ku xidhan tirada maalmaha ka horreeya dhicitaanka. Tani waxay kartaaTusaale ahaan, aynu samayno 4 xeer habayn shuruudeed oo ku salaysan qaaciidooyinkan:
    • Cagaar: in ka badan 90 maalmood laga bilaabo hadda
    • <5

=C2>TODAY()+90

  • Jaalle: inta u dhaxaysa 60 iyo 90 maalmood laga bilaabo maanta
  • >

    >

    =C2>TODAY()+60

  • Amber: inta u dhaxaysa 30 iyo 60 maalmood laga bilaabo maanta
  • >

    0> =C2>TODAY()+30
  • Casaan: in ka yar 30 maalmood laga bilaabo hadda
  • =C2

    Where C2 is the topmost expiry date.

    Here are the steps to create a formula-based rule:

    1. Select all the cells with the expiry dates (B2:B10 in this example).
    2. On the Home tab, in the Styles group, click Conditional Formatting > New Rule…
    3. In the New Formatting Rule dialog box, select Use a formula to determine which cells to format .
    4. In the Format values where this formula is true box, enter your formula.
    5. Click Format… , switch to the Fill tab and select the desired color.
    6. Click OK two times to close both windows.

    Important note! For the color codes to apply correctly, the rules should be sorted exactly in this order: green, yellow, amber, red:

    If you don't want to bother about the rules order, use the following formulas that define each condition exactly, and arrange the rules as you please:

    Green: over 90 days from now:

    =C2>TODAY()+90

    Yellow: between 60 and 90 days from today:

    =AND(C2>=TODAY()+60, C2<=TODAY()+90)

    Amber: between 30 and 60 days from today:

    =AND(C2>=TODAY()+30, C2

    Red: less than 30 days from today:

    =C2

    Tip. To include or exclude the boundary values from a certain rule, use the less than (<), less than or equal to (), greater than or equal to (<=) operators as you see fit.

    In a similar manner, you can highlight past dates that occurred 30 , 60 or 90 days ago from today .

    • Red: more than 90 days before today:

    =B2

  • Amber: between 90 and 60 days before today:
  • =AND(B2>=TODAY()-90, B2<=TODAY()-60)

  • Jaalle: inta u dhaxaysa 60 iyo 30 maalmood ka hor maanta:
  • >

    >

    =AND(B2>TODAY()-60, B2<=TODAY()-30)

  • Cagaar: in ka yar 30 maalmood ka hor maanta:
  • =B2>TODAY()-30

    Tusaalo kale oo dheeraad ah oo qaabaynta shuruudaha taariikhaha ayaa laga heli karaa halkan: Sida shuruud ahaan loogu qaabeeyo taariikhaha iyo wakhtiga gudaha Excel

    Si loo tiriyo maalmaha aan laga bilaabo maanta ahayn ee laga bilaabo taariikh kasta, isticmaal maqaalkan: Sida loo xisaabiyo maalmaha tan iyo taariikhda Excel.

    Taasi waa sida waxaad xisaabinaysaa taariikhaha 90, 60, 30 ama n maalmood laga bilaabo/kahor maanta gudaha Excel. Si aad si dhow ugu fiirsato qaacidooyinka iyo xeerarka qaabaynta shuruudaha ee lagaga hadlay casharkan, waxaan kugu martiqaadayaa inaad soo dejiso buug-hawleedkayaga tusaalaha ah ee hoose. Waad ku mahadsan tahay akhrinta oo waxaan rajeynayaa inaan kugu arko blogkeena usbuuca soo socda!

    Ku celceli buugga shaqada ee soo dejinta

    > Xisaabi taariikhaha Excel - tusaalooyin (.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.