• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
    • Password Reset
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

Calculating the % complete based on dates|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / Calculating the % complete based on dates|General Excel Questions & Answers|Excel Forum|My Online Training Hub
Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search|Last Search Results
Search
Forum Scope




Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Search Search
sp_RankInfo
Lost password?
sp_CrumbsHome HomeExcel ForumGeneral Excel Questions & Answe…Calculating the % complete based on…
sp_PrintTopic sp_TopicIcon
Calculating the % complete based on dates
Avatar
david coates

Active Member
Members
Level 0
Forum Posts: 3
Member Since:
February 17, 2023
sp_UserOfflineSmall Offline
1
February 17, 2023 - 3:10 am
sp_Permalink sp_Print

I have the following formula: =IF(U$1<$E14,0,IF(U$1>$F14,1,(U$1-$E14)/($F14-$E14))) which works when there are dates in all the cells, however, when cell F14 is blank it returns 100%. When F14 is blank I want it to return the % complete based on the date in cell U1 - I know I probably need another IF statement in there but can't get it to work.

Avatar
Riny van Eekelen
Örnsköldsvik, Sweden
Moderator
Members


Trusted Members

Moderators

Power BI
Level 0
Forum Posts: 440
Member Since:
January 31, 2022
sp_UserOfflineSmall Offline
2
February 17, 2023 - 4:53 pm
sp_Permalink sp_Print

I find it difficult to visualise the issue. Can you please attach a file with dates and describe what each of these represent? I can make some assumptions myself, like that U1 contains the current date, E14 the start date and F14 the end date. But, I prefer that you confirm or correct these assumptions.

Avatar
Anders Sehlstedt
Eskilstuna, Sweden

VIP
Members


Trusted Members
Level 3
Forum Posts: 870
Member Since:
December 7, 2016
sp_UserOfflineSmall Offline
3
February 18, 2023 - 2:58 am
sp_Permalink sp_Print

Hello,

Based on your formula, the section I have highlighted with red text, I can only assume that the date in U1 is greater than the date in F14, thus giving you 100%, especially so when F14 is empty.

=IF(U$1<$E14,0,IF(U$1>$F14,1,(U$1-$E14)/($F14-$E14)))

You need to handle the scenario when F14 is empty.

Br,
Anders

Avatar
david coates

Active Member
Members
Level 0
Forum Posts: 3
Member Since:
February 17, 2023
sp_UserOfflineSmall Offline
4
February 20, 2023 - 6:42 pm
sp_Permalink sp_Print

The attached file shows an example of the issue, but you have an actual start and finish dates and a month date. Some times there won't be a finish date as the work is ongoing, but I would like to show current % complete. Hope that makes sense. 

Avatar
Velouria
London or thereabouts
Moderator
Members


Trusted Members

Moderators
Level 4
Forum Posts: 613
Member Since:
November 1, 2018
sp_UserOfflineSmall Offline
5
February 21, 2023 - 7:56 pm
sp_Permalink sp_Print

I can't access your file for some reason but, if there is no finish date, how do you calculate the total duration to work out a percentage?

Avatar
Hans Hallebeek
the Netherlands
Member
Members
Level 0
Forum Posts: 70
Member Since:
October 17, 2018
sp_UserOfflineSmall Offline
6
February 22, 2023 - 2:44 am
sp_Permalink sp_Print

I would suggest you base the duration using the current data if there is nothing else

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Andy Kirby, Brian Daly, Ivica Cvetkovski
Guest(s) 8
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 870
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 219
A.Maurizio: 202
Jessica Stewart: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
Ivica Cvetkovski
Blaine Cox
Shankar Srinivasan
riyepa fdgf
Hannah Cave
Len Matthews
Kristine Arthy
Michelle Neven
Andrew Kuhn
Angela Paul
Forum Stats:
Groups: 3
Forums: 24
Topics: 6206
Posts: 27202

 

Member Stats:
Guest Posters: 49
Members: 31875
Moderators: 3
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Velouria, Riny van Eekelen
© Simple:Press —sp_Information

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook
 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate

Support

  • Contact
  • Forum
  • Helpdesk - For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.