Hi,
I am struggling to have a formulas that would count the planning for future months but if it actually occurred, I need to remove them from the future month, if I just use the minus option of the previous month, I may get an error or inaccurate information.
I do not have the option to use XL2BB, hope the tables are pasting well.
Thanks in advance.
TABLE WITH FORMULAS:
TABLE WITH DATA (called RAWDATA):
I am struggling to have a formulas that would count the planning for future months but if it actually occurred, I need to remove them from the future month, if I just use the minus option of the previous month, I may get an error or inaccurate information.
I do not have the option to use XL2BB, hope the tables are pasting well.
Thanks in advance.
TABLE WITH FORMULAS:
Column A | Column B | Column C | Column D | Column E | Column F | Column G | Column H | Column I | |
UID | Person Name | Assigned | Countries | Nb Initial Plan | Nb Current Work | 01-Jan-24 | 01-Feb-24 | 01-Mar-24 | |
IF(COUNTIFS(RAWDATA!$A:$A,$A3,RAWDATA!$AP:$AP,"<=01/31/2024",RAWDATA!$AP:$AP,">=01/01/2024")=0,"",COUNTIFS(RAWDATA!$A:$A,$A3,RAWDATA!$AP:$AP,"<=01/31/2024",RAWDATA!$AP:$AP,">=01/01/2024")) | IF(COUNTIFS(RAWDATA!$A:$A,$A3,RAWDATA!$AO:$AO,"<=02/29/2024",RAWDATA!$AO:$AO,">=02/01/2024")=0,"",COUNTIFS(RAWDATA!$A:$A,$A3,RAWDATA!$AO:$AO,"<=02/29/2024",RAWDATA!$AO:$AO,">=02/01/2024")) | IF(COUNTIFS(RAWDATA!$A:$A,$A3,RAWDATA!$AO:$AO,"<=03/31/2024",RAWDATA!$AO:$AO,">=03/01/2024")=0,"",COUNTIFS(RAWDATA!$A:$A,$A3,RAWDATA!$AO:$AO,"<=03/31/2024",RAWDATA!$AO:$AO,">=03/01/2024")) | |||||||
Canada1234/5678 | 1234/5678 | Canada | 1 | 1 | 1 | <- This needs to be 1 | |||
IF(COUNTIFS(RAWDATA!$A:$A,$A5,RAWDATA!$AP:$AP,"<=01/31/2024",RAWDATA!$AP:$AP,">=01/01/2024")=0,"",COUNTIFS(RAWDATA!$A:$A,$A5,RAWDATA!$AP:$AP,"<=01/31/2024",RAWDATA!$AP:$AP,">=01/01/2024")) | IF(COUNTIFS(RAWDATA!$A:$A,$A5,RAWDATA!$AO:$AO,"<=02/29/2024",RAWDATA!$AO:$AO,">=02/01/2024")=0,"",COUNTIFS(RAWDATA!$A:$A,$A5,RAWDATA!$AO:$AO,"<=02/29/2024",RAWDATA!$AO:$AO,">=02/01/2024")) | IF(COUNTIFS(RAWDATA!$A:$A,$A5,RAWDATA!$AO:$AO,"<=03/31/2024",RAWDATA!$AO:$AO,">=03/01/2024")=0,"",COUNTIFS(RAWDATA!$A:$A,$A5,RAWDATA!$AO:$AO,"<=03/31/2024",RAWDATA!$AO:$AO,">=03/01/2024")) | |||||||
Colombia1234/5678 | 1234/5678 | Colombia | 14 | 2 | 12 | 14 | <- This should return 2 |
TABLE WITH DATA (called RAWDATA):
Column A | Column B | Column C | Column D | Column AP | Column AO |
UID | Date Plan | Date Actual | |||
Colombia1234/5678 | Colombia | 1234/5678 | 19-Mar-2024 | ||
Colombia1234/5678 | Colombia | 1234/5678 | 20-Mar-2024 | ||
Colombia1234/5678 | Colombia | 1234/5678 | 05-Mar-2024 | 30-Jan-2024 | |
Colombia1234/5678 | Colombia | 1234/5678 | 08-Mar-2024 | 31-Jan-2024 | |
Colombia1234/5678 | Colombia | 1234/5678 | 08-Mar-2024 | 31-Jan-2024 | |
Colombia1234/5678 | Colombia | 1234/5678 | 11-Mar-2024 | 31-Jan-2024 | |
Colombia1234/5678 | Colombia | 1234/5678 | 11-Mar-2024 | 31-Jan-2024 | |
Colombia1234/5678 | Colombia | 1234/5678 | 12-Mar-2024 | 31-Jan-2024 | |
Colombia1234/5678 | Colombia | 1234/5678 | 12-Mar-2024 | 31-Jan-2024 | |
Colombia1234/5678 | Colombia | 1234/5678 | 13-Mar-2024 | 31-Jan-2024 | |
Colombia1234/5678 | Colombia | 1234/5678 | 13-Mar-2024 | 31-Jan-2024 | |
Colombia1234/5678 | Colombia | 1234/5678 | 14-Mar-2024 | 31-Jan-2024 | |
Colombia1234/5678 | Colombia | 1234/5678 | 14-Mar-2024 | 31-Jan-2024 | |
Colombia1234/5678 | Colombia | 1234/5678 | 15-Mar-2024 | 31-Jan-2024 | |
Canada1234/5678 | Canada | 1234/5678 | 13-Mar-2024 | ||
Canada1234/5678 | Canada | 1234/5678 | 21-Mar-2022 | 21-Mar-2022 | |
Canada1234/5678 | Canada | 1234/5678 | 23-Jan-2023 | 20-Jan-2023 | |
Canada1234/5678 | Canada | 1234/5678 | 02-Sep-2022 | 01-Sep-2022 | |
Canada1234/5678 | Canada | 1234/5678 | 07-Sep-2022 | 05-Sep-2022 | |
Canada1234/5678 | Canada | 1234/5678 | 17-Feb-2023 | 09-Jan-2023 | |
Canada1234/5678 | Canada | 1234/5678 | 12-Sep-2022 | 12-Sep-2022 | |
Canada1234/5678 | Canada | 1234/5678 | 16-Sep-2022 | 15-Sep-2022 | |
Canada1234/5678 | Canada | 1234/5678 | 20-Sep-2022 | 20-Sep-2022 | |
Canada1234/5678 | Canada | 1234/5678 | 22-May-2023 | 19-May-2023 |