I'm trying to create a formula, I think using the SUMIF funtion, but can't seem to get it correct. Have a look at the excel spreadsheet attached to see the issue.
Any help would be great, thank you!
I'm trying to create a formula, I think using the SUMIF funtion, but can't seem to get it correct. Have a look at the excel spreadsheet attached to see the issue.
Any help would be great, thank you!
Use either of the two
=SUMPRODUCT((C9:V9=B6)*C11:V13)
OR
=SUM(IF(C9:V9=B6,C11:V13)) ...array formula -- confirm with Ctrl+Shift+Enter not just Enter
Also, change forumla in Row 9 to =(MONTH(C10)&"."&YEAR(C10))*1 to ensure it is in numeric form
Life's a spreadsheet, Excel!
Say thanks, Click *
Hi,
If you put the date 1/1/2012 in say B7 then
=SUMPRODUCT((C10:V10>=B7)*(C10:V10<=EOMONTH(B7,0))*C11:V13)
Richard Buttrey
RIP - d. 06/10/2022
If any of the responses have helped then please consider rating them by clicking the small star iconbelow the post.
Thanks everyone!
---------- Post added at 07:04 PM ---------- Previous post was at 04:00 PM ----------
After using these sum and sum related formulas (see above) within my workbook, I'm noticing that they have begun to take a great deal of time to calculate and makes the use of the workbook much slower. I basically have around 30 tabs full of data, probably over 20,000 cells filled with data in each tab. I've tried using all the formulas above to slice the data but it seems these formulas may be too CPU intensive.
Does anybody have a more elegant method to solve my problem above without using a formula that will ultimately bog down the workbook so much?
If you are able to change the format of the data, you can use pivot table.
See the example.
And for the change of format see the link below.
http://www.excelforum.com/excel-prog...ose-macro.html
Last edited by oeldere; 08-05-2012 at 09:24 PM. Reason: And for the change of format see the link below.
Notice my main language is not English.
I appreciate it, if you reply on my solution.
If you are satisfied with the solution, please mark the question solved.
You can add reputation by clicking on the star * add reputation.
And how you get the data in that one output tab?
You work with sumif?
Mayby you better use VBA to collect the data in a masters sheet (output tab).
And after that use a pivot table.
I can't help you enough with VBA.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks