Hi All,
I am trying to make YTD excel file. I have Cust ID (unique ID) and monthly cash. No issues in running first month. I am not sure how should it be programmed to put next month in next/new column. So to run 2nd month, I am trying to achieve below
1. Match the cust ID (with new month data), if same then make new column to show the monthly cash
2. If not same, then add the Cust ID at the bottom of file (1st month will be 0) and 2nd month will have value (for example Cust ID C, and M2 has 9000).
| Cust ID | M1 | M2 | M3 |
| A | 8000 | 86 | 450 |
| B | 60 | 4500 | 0 |
| C | 0 | 9000 | 260 |
| D | 0 | 0 | 46 |
Hope my question above make sense.. If not, I will try to explain further