therealjdj
New Member
- Joined
- Jul 8, 2013
- Messages
- 20
- Office Version
- 365
- Platform
- Windows
Hello teams,
So thanks to some of you, I have been using Power Query. It's a fantastic tool. I have used some of your help and by reading and watching videos have been able to do what I was set out to do. I have just one issue left and I can not figure this one out. Hoping you guys can come to the rescue once again.
Let's say I am selling cookies. And after pulling a few sheets together I have information on my customer, how large his order is, when he wants the cookies, and how many cookies I can make for him max that month.
So if you order 5 cookies starting in August, but I can only make 3 a month for you, I would sell you 3 in August and 2 in September. The amount of cookies I make for you does not impact the other customers. So I could make a max of 3 cookies for as many customers as I want.
I need this data to be transformed into single lines showing sales per month so I can Pivot Table it.
Hoping you guys can help...
So thanks to some of you, I have been using Power Query. It's a fantastic tool. I have used some of your help and by reading and watching videos have been able to do what I was set out to do. I have just one issue left and I can not figure this one out. Hoping you guys can come to the rescue once again.
Let's say I am selling cookies. And after pulling a few sheets together I have information on my customer, how large his order is, when he wants the cookies, and how many cookies I can make for him max that month.
So if you order 5 cookies starting in August, but I can only make 3 a month for you, I would sell you 3 in August and 2 in September. The amount of cookies I make for you does not impact the other customers. So I could make a max of 3 cookies for as many customers as I want.
I need this data to be transformed into single lines showing sales per month so I can Pivot Table it.
Hoping you guys can help...
Book1 | ||||||
---|---|---|---|---|---|---|
A | B | C | D | |||
1 | Customer Name | Cookie Qty | Start Date | Max Cookies per Month | ||
2 | David | 7 | 9/1/2023 | 3 | ||
3 | Michael | 1 | 8/1/2023 | 5 | ||
4 | Marie | 14 | 12/1/2023 | 3 | ||
5 | ||||||
6 | ||||||
7 | Customer Name | Month | Year | Cookies | ||
8 | David | September | 2023 | 3 | ||
9 | David | October | 2023 | 3 | ||
10 | David | November | 2023 | 1 | ||
11 | Michael | August | 2023 | 1 | ||
12 | Marie | December | 2023 | 3 | ||
13 | Marie | January | 2024 | 3 | ||
14 | Marie | February | 2024 | 3 | ||
15 | Marie | March | 2024 | 3 | ||
16 | Marie | April | 2024 | 2 | ||
Sheet1 |