Hi Everyone,
I am wondering if anyone can help in the following excel riddle.
I do many extractions from the system at the end of the month. And Extractions look like below format. Cost centre starting from S and U representing two different entities. And frequency of these Cost centre is not fixed sometimes its 40 or 60 in numbers. I request you provide some formula or macro that every time i do these extractions i simply run the macro or apply the formula to get the desired result as shown below on the right side. Formula or macro must calculate total amount under one cost centre type and provide it right below where a particular cost centre line item finishes. And again check for the next type of cost centre and provide total right below after that cost centre line time finishes.
Cost centre Amount Cost centre Amount
S1234 3444.44 S1234 3444.44
S2345 2343.67 S2345 2343.67
S2332 9344.44 S2332 9344.44
S2223 9877.66 S2223 9877.66
U1234 3444.44 Total xxxxxx
U3452 2343.67 U1234 3444.44
U2332 9344.44 U3452 2343.67
U2223 9877.66 U2332 9344.44
U2223 9877.66
Total xxxxxx
Many Thanks in Advance
I am wondering if anyone can help in the following excel riddle.
I do many extractions from the system at the end of the month. And Extractions look like below format. Cost centre starting from S and U representing two different entities. And frequency of these Cost centre is not fixed sometimes its 40 or 60 in numbers. I request you provide some formula or macro that every time i do these extractions i simply run the macro or apply the formula to get the desired result as shown below on the right side. Formula or macro must calculate total amount under one cost centre type and provide it right below where a particular cost centre line item finishes. And again check for the next type of cost centre and provide total right below after that cost centre line time finishes.
Cost centre Amount Cost centre Amount
S1234 3444.44 S1234 3444.44
S2345 2343.67 S2345 2343.67
S2332 9344.44 S2332 9344.44
S2223 9877.66 S2223 9877.66
U1234 3444.44 Total xxxxxx
U3452 2343.67 U1234 3444.44
U2332 9344.44 U3452 2343.67
U2223 9877.66 U2332 9344.44
U2223 9877.66
Total xxxxxx
Many Thanks in Advance