colinmitton
Technical User
I have a spreadsheet which has sales data imported in. I'm trying to take these figures and give a break down of Year to Date and month to date (plus historical months).
The year to date was easy using the Sumif formula on the attached spreadsheet.
To help get the monthly figures I took the Month from the date and gave it a number so I could use it simply in a formula.
I'm now stuck as I need to do a sumif on two criteria, first by sales person then by month.
so it should get some thing like :
Any Ideas?
The year to date was easy using the Sumif formula on the attached spreadsheet.
To help get the monthly figures I took the Month from the date and gave it a number so I could use it simply in a formula.
I'm now stuck as I need to do a sumif on two criteria, first by sales person then by month.
Code:
sales person Inv Date Inv Tot Month
101 01/04/2004 £1,527.50 4
102 01/04/2004 £785.00 4
103 01/04/2004 £188.00 4
101 01/05/2004 £156.86 5
102 01/05/2004 £559.30 5
103 01/05/2004 £1,527.50 5
so it should get some thing like :
Code:
sales person YTD 4 5
101 £1684.36 £1,527.50 £156.86
102 £1344.30 £785.00 £559.30
103 £1715.50 £188.00 £1,527.50
Any Ideas?