GarryFreeman
New Member
- Joined
- Apr 17, 2020
- Messages
- 42
- Office Version
- 365
- Platform
- Windows
Hello, I am hoping this is easy for someone but I cannot get my head around it.
My customer works in periods that are not calendar months but I need to report / forecast them in my own business in the calendar months.
I have managed to total the value using sumif but I am looking for a formula that will just populate the month based on the date ranges.
Using the example below the first line should return the month July as it falls between the customers dates of 25/06 and 22/07, however the second would fall into August as all sales between 23/07 and 19/08 from the customer are reported in their August figures.
Is there a simple formula that I could use to quickly reference what sales are falling into what months when they send me their orders based on expected delivery date (in the future)
For this I could assume that the below starts (QTY) in cell A1
Thanks in advance
Garry
My customer works in periods that are not calendar months but I need to report / forecast them in my own business in the calendar months.
I have managed to total the value using sumif but I am looking for a formula that will just populate the month based on the date ranges.
Using the example below the first line should return the month July as it falls between the customers dates of 25/06 and 22/07, however the second would fall into August as all sales between 23/07 and 19/08 from the customer are reported in their August figures.
Is there a simple formula that I could use to quickly reference what sales are falling into what months when they send me their orders based on expected delivery date (in the future)
For this I could assume that the below starts (QTY) in cell A1
Thanks in advance
Garry
Qty | Due Date | Invoice Month | Starts | Ends | ||
5 | 12/07/2021 | January | 01/01/2021 | 21/01/2021 | ||
29 | 30/07/2021 | February | 22/01/2021 | 18/02/2021 | ||
26 | 30/07/2021 | March | 19/02/2021 | 25/03/2021 | ||
10 | 30/07/2021 | April | 26/03/2021 | 22/04/2021 | ||
13 | 30/07/2021 | May | 23/04/2021 | 20/05/2021 | ||
11 | 30/07/2021 | June | 21/05/2021 | 24/06/2021 | ||
32 | 02/08/2021 | July | 25/06/2021 | 22/07/2021 | ||
12 | 02/08/2021 | August | 23/07/2021 | 19/08/2021 | ||
14 | 02/08/2021 | September | 20/08/2021 | 23/09/2021 | ||
250 | 03/08/2021 | October | 24/09/2021 | 21/10/2021 | ||
300 | 03/08/2021 | November | 22/10/2021 | 18/11/2021 | ||
20 | 23/08/2021 | December | 19/11/2021 | 23/12/2021 | ||
249 | 23/08/2021 | |||||
5 | 23/08/2021 | |||||
4 | 23/08/2021 | |||||
22 | 08/11/2021 | |||||
308 | 08/11/2021 | |||||
4 | 08/11/2021 | |||||
2 | 08/11/2021 |