GreenLanternX
New Member
- Joined
- Mar 17, 2023
- Messages
- 11
- Office Version
- 365
- 2021
- 2019
- Platform
- Windows
- Web
Hi Team,
I have project plan which has columns for start date, end date, work days and calendar days.
When working the project you can either enter the estimated number of days as a value, along with the start/end date if known. Using the network days.intl this works out the number of whole days from the data.
The problem is most of our tasks for example only take 1hour, some 0.5 (30mins) some 0.25 (15mins), with some taking 1day or 1.5 days etc.
When I try to enter a value less than 1 (I.e. 0.5) in column L or M, the spreadsheet automatically changes this to the nearest whole number.
How can I amend the formula so that it recognises, mins, hours and days instead of just whole days? See formulas below.
Start date (columnQ):
=IF (OR(J115<>"*, G115<>**),MAX(J115, IF(G115<>**,WORKDAY.INTL(MAXIFERRORINDEX$R$11:$R$126,MATCH(G115, 5B$11: 5B$126, 0)) ,0), IFERRORINDEX$R$11: $R$126, MATCH(H115, $B$11: $B$126, 0)), 0), IFERROR(INDEX$R$11: $R$126, MATCHI115, $B$11: $B$126, 0)),0)),1, weekend, holidays),0)), IF (K115<>** , IF (M115<>**, K115-MAX (®, M115-1), WORKDAY. INTL (K115, - (MAXL115, 1) -1), weekend,holidays)),"-"))
Start date (columnR):
=IF (Q115=* - *,* - *, MAX(K115, IF (M115<>**, 0115+MAX(0, M115-1), WORKDAY. INTL (IF (NETWORKDAYS. INTL (Q115, Q115, weekend,holidays) =0, WORKDAY. INTL (Q115,1,weekend, holidays), 0115), MAX(0, L115-1), weekend, holidays))))
Work days (columnS): = IF (OR (NOT(ISNUMBER (Q115)), NOT(ISNUMBER(R115))),* - *, NETWORKDAYS. INTL (Q115, R115, weekend, holidays))
Calendar days (columnT): = IF (OR(NOT (ISNUMBER(Q115)),NOT(ISNUMBER(R115)))," - ",R115-Q115+1)
Any assistance will be greatly appreciated.
Many thanks
I have project plan which has columns for start date, end date, work days and calendar days.
When working the project you can either enter the estimated number of days as a value, along with the start/end date if known. Using the network days.intl this works out the number of whole days from the data.
The problem is most of our tasks for example only take 1hour, some 0.5 (30mins) some 0.25 (15mins), with some taking 1day or 1.5 days etc.
When I try to enter a value less than 1 (I.e. 0.5) in column L or M, the spreadsheet automatically changes this to the nearest whole number.
How can I amend the formula so that it recognises, mins, hours and days instead of just whole days? See formulas below.
Start date (columnQ):
=IF (OR(J115<>"*, G115<>**),MAX(J115, IF(G115<>**,WORKDAY.INTL(MAXIFERRORINDEX$R$11:$R$126,MATCH(G115, 5B$11: 5B$126, 0)) ,0), IFERRORINDEX$R$11: $R$126, MATCH(H115, $B$11: $B$126, 0)), 0), IFERROR(INDEX$R$11: $R$126, MATCHI115, $B$11: $B$126, 0)),0)),1, weekend, holidays),0)), IF (K115<>** , IF (M115<>**, K115-MAX (®, M115-1), WORKDAY. INTL (K115, - (MAXL115, 1) -1), weekend,holidays)),"-"))
Start date (columnR):
=IF (Q115=* - *,* - *, MAX(K115, IF (M115<>**, 0115+MAX(0, M115-1), WORKDAY. INTL (IF (NETWORKDAYS. INTL (Q115, Q115, weekend,holidays) =0, WORKDAY. INTL (Q115,1,weekend, holidays), 0115), MAX(0, L115-1), weekend, holidays))))
Work days (columnS): = IF (OR (NOT(ISNUMBER (Q115)), NOT(ISNUMBER(R115))),* - *, NETWORKDAYS. INTL (Q115, R115, weekend, holidays))
Calendar days (columnT): = IF (OR(NOT (ISNUMBER(Q115)),NOT(ISNUMBER(R115)))," - ",R115-Q115+1)
Any assistance will be greatly appreciated.
Many thanks