Jyggalag

Active Member
Joined
Mar 8, 2021
Messages
445
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Hi all,

I have an overview that looks like this:
Days since beginning / ended?Start dateEnd date
01-10-201901-11-2023
01-10-201701-11-2025
01-10-201801-11-2028
01-10-201601-11-2021
01-10-201501-11-2018

And in Excel:
1719840479194.png


I want to create a formula in column A that does the following:
1) If the end date IS after our current date (as seen in C2 AND C5), the formula should respond with the amount of months that have passed since the project began
2) If the end date IS NOT after our current date, i want the formula to return with the value "COMPLETED".

Additionally, please see the following for column B:
1719840647753.png


If anybody can make a 2nd formula for column B above showing the process based on amount of days/months passed that would be amazing. So if a project has start date 01-06-2024 and end date 01-08-2024, it should be at around 50% as of today (01-07-2024) in the format "DD-MM-YYYY".

This is a complex task, but if anybody can help me with it, it would be greatly appreciated! :)
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
This, I think does what you ask, but I think there may be something overlooked. The last record shows as completed, when it isn't. And you say C6 and C10 should have a number of months only, but C9 also does.

the column B calculation just uses straight days, and not months. But the DateDif function can work with that as well.

Please take a look:

Book1
ABCD
1Current Date01-Jul-2024
2
3
4
5Start dateEnd date
64901-Oct-201901-Nov-2023
7Completed01-Oct-201701-Nov-2025
8Completed01-Oct-201801-Nov-2028
96101-Oct-201601-Nov-2021
103701-Oct-201501-Nov-2018
11Completed49.18%01-Jun-202401-Aug-2024
Sheet1
Cell Formulas
RangeFormula
A6:A11A6=IF(D6<=$B$1,DATEDIF(C6,D6,"m"),"Completed")
B11B11=($B$1-C11)/(D11-C11)
 
Upvote 0
I read it a little differently & think it may be this?

24 07 02.xlsm
ABCD
1Current Date02-Jul-24
2
3
4
5Start dateEnd date
6Completed 01-Oct-1901-Nov-23
78183.51%01-Oct-1701-Nov-25
86957.03%01-Oct-1801-Nov-28
9Completed 01-Oct-1601-Nov-21
10Completed 01-Oct-1501-Nov-18
11150.82%01-Jun-2401-Aug-24
Completion
Cell Formulas
RangeFormula
B1B1=TODAY()
A6:A11A6=IF(B$1<D6,DATEDIF(C6,B$1,"m"),"Completed")
B6:B11B6=IF(A6="Completed","",(B$1-C6)/(D6-C6))
 
Upvote 0
Solution
I read it a little differently & think it may be this?

24 07 02.xlsm
ABCD
1Current Date02-Jul-24
2
3
4
5Start dateEnd date
6Completed 01-Oct-1901-Nov-23
78183.51%01-Oct-1701-Nov-25
86957.03%01-Oct-1801-Nov-28
9Completed 01-Oct-1601-Nov-21
10Completed 01-Oct-1501-Nov-18
11150.82%01-Jun-2401-Aug-24
Completion
Cell Formulas
RangeFormula
B1B1=TODAY()
A6:A11A6=IF(B$1<D6,DATEDIF(C6,B$1,"m"),"Completed")
B6:B11B6=IF(A6="Completed","",(B$1-C6)/(D6-C6))
Hi both of you!

Sorry for my late reply!

This formula worked, thank you so much for your input, truly appreciated!!! :)
 
Upvote 0

Forum statistics

Threads
1,223,841
Messages
6,174,976
Members
452,596
Latest member
Anabaric

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top