I think I may be a wee bit over my head on this one.
I'm building a budget but I'm having a problem with two worksheets.
One worksheet, titled 'Data' has three columns, as follows:
Col A - 'Date' (date formatted) range = A3:A202
Col B - 'Desig' (general format) range = B3:B202
Col C - 'Amount' (currency format) range = C3:C202
This is the worksheet in which I am inputting data. The 'Desig' column has a dropdown list with the words "Water", "Electricity", "Sewage", etc. These are designations for various utilities and other costs like groceries, etc
The other worksheet, titled 'TOTALS', has 12 colums for each month and rows corresponding to each of the items from the 'Desig' list in the other worksheet.
What I want to do for each cell is reference the 'Data' worksheet and show the sum of the dollar amount which matches a particular item (Water, Electricity, etc.) and which occurs in a particular month (Jan, Feb, etc).
I hope this isn't too confusing.
Thanks
Mike![]()
To best describe or illustrate your problem you would be better off attaching a dummy workbook, the workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.
If needed supply a before and after sheet in the workbook so the person helping you can see what you are trying to achieve.
Doing this will ensure you get the result you need!
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
O.K. I've populated the file with some sample data.
Thank you
Mike
In B5:
=SUMPRODUCT(--(Data!$B$3:$B$202=$A5),--(TEXT(Data!$A$3:$A$202,"mmm yyyy")=B$3&" "&$N$1),Data!$D$3:$D$202)
copied across the matrix
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks