Salt la conținutul principal

Cum se calculează procentajul dintre două date în Excel?

Presupunând că am o listă de sarcini cu data de începere și data de sfârșit, acum vreau să calculez procentul de finalizare a sarcinii pe baza datei de astăzi, după cum se arată în următoarea captură de ecran. Cum ați putea rezolva acest job în Excel?

Calculați procentul de finalizare între două date cu formula


Calculați procentul de finalizare între două date cu formula

Pentru calcularea procentului de finalizare a sarcinii între două date, vă rugăm să aplicați formula de mai jos:

1. Introduceți această formulă într-o celulă goală unde doriți să obțineți rezultatul:

=(DATEDIF(B2,TODAY(),"d")+1)/(DATEDIF(B2,C2,"d")+1)

notițe: În această formulă, B2 este celula datei de începere și C2 este celula de dată de încheiere.

2. Apoi, glisați mânerul de umplere în jos în celulele pe care doriți să le aplicați această formulă și veți obține rezultatul după cum este prezentat mai jos:

3. Continuați să selectați celulele formulei, apoi faceți clic Stil procentual în temeiul Acasă filă din Număr grup, și veți obține valoarea procentuală după cum se arată în următoarea captură de ecran:


Mai multe procente relative de articole:

  • Calculați prețul original din procentul de reducere
  • De obicei, în viața noastră de zi cu zi, există unele produse, care sunt reduse în centrul comercial. Dacă aveți prețul redus și reducerea procentuală, după cum se arată în următoarea captură de ecran, cum ați putea calcula prețul original al produsului respectiv în Excel?
  • Calculați procentajul anului sau lunii trecute
  • Presupunând că aveți o listă de date într-o foaie de lucru, acum doriți să obțineți procentul de an sau lună care a trecut sau a rămas în funcție de data dată. Cum ați putea rezolva acest job în Excel?
  • Creați o diagramă cu procent și valoare
  • Este ușor pentru noi să adăugăm procent sau valoare la diagrama de bare sau coloane, dar ați încercat vreodată să creați o coloană sau o diagramă de bare cu atât procentul cât și valoarea afișate în Excel?
  • Countif Pentru a calcula procentajul în Excel
  • De exemplu, am un raport de sinteză al unei lucrări de cercetare și există trei opțiuni A, B, C, acum vreau să calculez procentul fiecărei teze trei opțiuni. Adică, trebuie să știu opțiunea A pentru procentul tuturor opțiunilor. În acest articol, voi vorbi despre cum să obțineți procentul unei anumite opțiuni dintr-un interval.

  • Super Formula Bar (editați cu ușurință mai multe linii de text și formulă); Layout de citire (citiți și editați cu ușurință un număr mare de celule); Lipiți la interval filtrat...
  • Merge celule / rânduri / coloane și păstrarea datelor; Conținut de celule divizate; Combinați rânduri duplicate și sumă / medie... Prevenirea celulelor duplicate; Comparați gamele...
  • Selectați Duplicat sau Unic Rânduri; Selectați Rânduri goale (toate celulele sunt goale); Super Find și Fuzzy Find în multe cărți de lucru; Selectare aleatorie ...
  • Copie exactă Mai multe celule fără modificarea referinței formulelor; Creați automat referințe la foi multiple; Introduceți gloanțe, Casete de selectare și multe altele ...
  • Formule favorite și inserare rapidă, Gama, Diagrame și Imagini; Criptați celulele cu parola; Creați o listă de corespondență și trimiteți e-mailuri ...
  • Extrageți textul, Adăugați text, eliminați după poziție, Eliminați spațiul; Creați și imprimați subtotaluri de paginare; Convertiți conținutul dintre celule și comentarii...
  • Super Filtru (salvați și aplicați scheme de filtrare altor foi); Sortare avansată după lună / săptămână / zi, frecvență și multe altele; Filtru special cu bold, italic ...
  • Combinați cărți de lucru și foi de lucru; Merge Tables pe baza coloanelor cheie; Împărțiți datele în mai multe foi; Conversia în loturi xls, xlsx și PDF...
  • Gruparea tabelului pivot după numărul săptămânii, ziua săptămânii și multe altele ... Afișați celulele deblocate, blocate prin diferite culori; Evidențiați celulele care au formulă / nume...
fila kte 201905
  • Activați editarea și citirea cu file în Word, Excel, PowerPoint, Publisher, Access, Visio și Project.
  • Deschideți și creați mai multe documente în filele noi ale aceleiași ferestre, mai degrabă decât în ​​ferestrele noi.
  • Vă crește productivitatea cu 50% și reduce sute de clicuri de mouse pentru dvs. în fiecare zi!
fundul officetab
Comments (24)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Hello - Is there a way to combine both these options?

So that the calculation will show O instead of #NUM! if the date is in the future AND stay at 100% if the end date has passed.

That would be the ideal thing.
This comment was minimized by the moderator on the site
Is there a way to incorporate both these items? I would like it to stay at 100% once the date passes and that it shows 0% instead of the #NUM! error if the date is in the future?
This comment was minimized by the moderator on the site
I am using the formula:

=MIN(1, (DATEDIF(B2,TODAY(),"d")+1)/(DATEDIF(B2,C2,"d")+1))

which is working great and leaves the percentage at 100% once the end date has passed.
This comment was minimized by the moderator on the site
How can you calculate a date difference in days using a percentage in excel?

Basically, I'm looking to implement a start date for an activity based on the fraction of 15/52. The idea is that an activity starts 3 weeks from a kick-off date.

However, a series of projects have variable durations. As such I want to represent 15 weeks out of 52 weeks in a formula I can use across all projects to work on the same principle.

The idea is to use a start date and project into the future using a percentage to define the next start date for another activity to commence.
This comment was minimized by the moderator on the site
Qual a formula para não dar mais que cem e menos de zero?
This comment was minimized by the moderator on the site
И как быть, если дата начала не определена, а дата окончания известна. В этом случае по формуле пишет 100%. А хочется чтобы писал 0 или ничего.
This comment was minimized by the moderator on the site
Привет! Спасибо за формулы!

Что добавить в формулу, чтобы не ругался, если дата начала и окончания совпадают? (предполагается, что задача выполняется в теч. дня.
This comment was minimized by the moderator on the site
Привет! Спасибо за формулы!! Весь интернет перерыла, нашла только у вас.
Ругается "параметр 2 не может равняться нулю", когда дата начала и дата окончания одна и та же (заложено, что задача делается в течении дня). Что добавить в формулу?
This comment was minimized by the moderator on the site
kenapa jika tepat waktu hasil nya menjadi tidak 100%?
This comment was minimized by the moderator on the site
Hello,
Gald to help. Please use this formula: =MIN(1, (DATEDIF(B2,TODAY(),"d")+1)/(DATEDIF(B2,C2,"d")+1)).
It will maintain it at 100% instead of 100 over percent if today date is exceed the end date. Please see the screenshots. In cell D2, I use the formula in the article, and the result is 156.25%. In cell E2, I use the new formula I offered in this comment, and the result is 100%. Hope it can solve your problem. Have a nice day.
Sincerely,
Mandy
This comment was minimized by the moderator on the site
Thank you for this, help me a lot. But how to show blank if one of the date is not input yet? Because it keep shows 100%.
This comment was minimized by the moderator on the site
waktunya habis jam 12 tgh malam..jadi 12.01 baru akan bertukar kepada 100%. harap membantu
This comment was minimized by the moderator on the site
Hello,
Gald to help. Please use this formula: =MIN(1, (DATEDIF(B2,TODAY(),"d")+1)/(DATEDIF(B2,C2,"d")+1)). 
It will maintain it at 100% instead of 100 over percent if today date is exceed the end date. Please see the screenshots. In cell D2, I use the formula in the article, and the result is 156.25%. In cell E2, I use the new formula I offered in this comment, and the result is 100%. Hope it can solve your problem. Have a nice day.
Sincerely,
Mandy
This comment was minimized by the moderator on the site
Hi Mandy,
I am trying to exeute =MIN(1, (DATEDIF(B2,TODAY(),"d")+1)/(DATEDIF(B2,C2,"d")+1)) but it gives me always an error.
I am using a MAC, but I don't think is matter of OS.
THANKS
This comment was minimized by the moderator on the site
thank you for the formula, when i use it for a dates in the future it returns #NUM!. is there a way to get it to return a 0.00 or some sort of text return like "Not Started"? it would be cleaner and more informative and i have other formulas based on the response so having the option to return a 0.00 (and or text options) would be greatly appreciated. thanks!
This comment was minimized by the moderator on the site
Hi, Jeff,To solve your problem, please apply the below formula:=IFERROR((DATEDIF(B2,TODAY(),"d")+1)/(DATEDIF(B2,C2,"d")+1),"Not start").
Please try, hope it can help you!

This comment was minimized by the moderator on the site
Hi skyyang, very helpful this one. How about if today date is exceed the end date, how to maintain it at 100% instead of 100 over percent.
This comment was minimized by the moderator on the site
Hello,Gald to help. Please use this formula: =MIN(1, (DATEDIF(B2,TODAY(),"d")+1)/(DATEDIF(B2,C2,"d")+1)). It will maintain it at 100% instead of 100 over percent if today date is exceed the end date. Please see the screenshots. In cell D2, I use the formula in the article, and the result is 156.25%. In cell E2, I use the new formula I offered in this comment, and the result is 100%. Hope it can solve your problem. Have a nice day.Sincerely,Mandy
This comment was minimized by the moderator on the site
Hi skyyang, very helpfull this one. How about if today date is exceed the end date, how to maintain it at 100% instead of 100 over percent.
This comment was minimized by the moderator on the site
Hello,
Gald to help. Please use this formula: =MIN(1, (DATEDIF(B2,TODAY(),"d")+1)/(DATEDIF(B2,C2,"d")+1)). It will maintain it at 100% instead of 100 over percent if today date is exceed the end date. Please see the screenshots. In cell D2, I use the formula in the article, and the result is 156.25%. In cell E2, I use the new formula I offered in this comment, and the result is 100%. Hope it can solve your problem. Have a nice day.
Sincerely,
Mandy
This comment was minimized by the moderator on the site
same here.
This comment was minimized by the moderator on the site
Hello,
Gald to help. Please use this formula: =MIN(1, (DATEDIF(B2,TODAY(),"d")+1)/(DATEDIF(B2,C2,"d")+1)).

It will maintain it at 100% instead of 100 over percent if today date is exceed the end date. Please see the screenshots. In cell D2, I use the formula in the article, and the result is 156.25%. In cell E2, I use the new formula I offered in this comment, and the result is 100%. Hope it can solve your problem. Have a nice day.
Sincerely,
Mandy
This comment was minimized by the moderator on the site
how do i find a 62% percentage date between two dates
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations