I am using EXCEL to keep and manage our household expenditure; each time we spend money, the DATE, category CODE, AMOUNT and which family PERSON are stored on an EXCEL row of the EXPENDITURE sheet.
I am wanting EXCEL to do the following ....
1. sort the data on DATE, then CODE and finally on PERSON .... I have been able to do this using the SORT command.
2. for each CODE, I want the subtotal calculating ..... EXCEL has to find which rows are applicable, then sum the AMOUNTs ....
2a. I can use MATCH function to calculate the first occurrence of each CODE;
2b. then use COUNTIF to determine how many rows each CODE are on;
2c. then use AGGREGATE to sum the AMOUNTs for each CODE.
3. BUT the final function, AGGREGATE needs the start and ending reference numbers AND I can not get EXCEL to automatically do 2a and 2b to automatically do 2c.
I have attached part of the EXCEL file as a .txt file .... hopefully it can be converted back into EXCEL!!
Any suggestions will be gratefully accepted
williamkhall
I am wanting EXCEL to do the following ....
1. sort the data on DATE, then CODE and finally on PERSON .... I have been able to do this using the SORT command.
2. for each CODE, I want the subtotal calculating ..... EXCEL has to find which rows are applicable, then sum the AMOUNTs ....
2a. I can use MATCH function to calculate the first occurrence of each CODE;
2b. then use COUNTIF to determine how many rows each CODE are on;
2c. then use AGGREGATE to sum the AMOUNTs for each CODE.
3. BUT the final function, AGGREGATE needs the start and ending reference numbers AND I can not get EXCEL to automatically do 2a and 2b to automatically do 2c.
I have attached part of the EXCEL file as a .txt file .... hopefully it can be converted back into EXCEL!!
Any suggestions will be gratefully accepted
williamkhall