Require formula help. There are columns heading with monthly dates e.g Jan 20, Feb 2020 and so forth up to 2021. Value of 1 will be entered depending on dates.
Rows have details on resources together with 4 date columns for each resource. Example for Resource A
START DATE = 31/01/2020
END DATE = 31/12/2021
LEAVING DATE = 31/05/2020
NEW JOINER DATE = 31/08/2020
Criteria as follows required for formula
- Value of 1 will be entered in the monthly columns if START DATE = 01/01/2020 and END DATE = 31/12/2021 for resource A. Reflects resource working.
- If LEAVING DATE = 31/05/2020 and new JOINER DATE = 31/08/2020 then value of 0 should be entered from May 2020 up to Jul 2020. Aug 20 should have 1 as it reflects resource re-starting again.
Is there a formula in excel can execute the above or is VBA required?
Rows have details on resources together with 4 date columns for each resource. Example for Resource A
START DATE = 31/01/2020
END DATE = 31/12/2021
LEAVING DATE = 31/05/2020
NEW JOINER DATE = 31/08/2020
Criteria as follows required for formula
- Value of 1 will be entered in the monthly columns if START DATE = 01/01/2020 and END DATE = 31/12/2021 for resource A. Reflects resource working.
- If LEAVING DATE = 31/05/2020 and new JOINER DATE = 31/08/2020 then value of 0 should be entered from May 2020 up to Jul 2020. Aug 20 should have 1 as it reflects resource re-starting again.
Is there a formula in excel can execute the above or is VBA required?