Claims Closed per Month - Sumproduct

SarAExcel

New Member
Joined
Mar 23, 2014
Messages
42
Hi all,

I’m doing a monthly claims summary.

  • Column A: Month (in order from July through to June)
  • Column B: Number of claims closed

-The data for this financial year is on worksheet: “13-14”
-Column “R” contains the date the claim was closed (if it has been closed yet)

So to work out the number of claims closed for each month of 2013-2014, I’ve used the following formula:
=SUMPRODUCT(1*(MONTH('13-14'!R$4:R$200)=7))
(The last number changes depending on the month. The above example is for the month of July “7”)

The problem is, some claims from the previous financial years were only closed this year. So I need to include these as well.
The other worksheets/years that I need to include are labelled: “11-12” & “12-13”
I only want to count the claims closed from these years if the claims were closed this financial year (July 2013 – June 2014).
Can anyone suggest how I can do this??
Thanks in advance,
Aimee
 
Sorry columns are saving all over the place. Columns across the top should be spaced from A-M and rows down the side should be 1-17
 
Upvote 0

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
view

Hi there

I'm hoping you'll be able to assist me.
Here's a link to a screenshot of the spreadsheet I'm having trouble with.
1.JPG - Google Drive

As I mentioned in my previous message, I'm trying to update this spreadsheet to add the new financial year. Something is wrong though as it's showing 1 claim closed for both Oct (K9) and Dec (K11) (obviously incorrect as we are only in August).

The formula I have entered for cell K9 is:
=SUM(IF(TEXT(N(OFFSET(INDIRECT("'"&TRANSPOSE(SheetList2)&"'!R4:R500"),ROW($S$4:$S$500)-ROW($S$4),0,1)),"mmmyy")=$A9&IF(ISNUMBER(MATCH($A9,{"Jul","Aug","Sep","Oct","Nov","Dec"},0)),K$2,K$3),1))

The formula I have entered for cell K11 is:
=SUM(IF(TEXT(N(OFFSET(INDIRECT("'"&TRANSPOSE(SheetList2)&"'!R4:R500"),ROW($S$4:$S$500)-ROW($S$4),0,1)),"mmmyy")=$A11&IF(ISNUMBER(MATCH($A11,{"Jul","Aug","Sep","Oct","Nov","Dec"},0)),K$2,K$3),1))


Would be great to have your thoughts!
Thanks in advance


 
Upvote 0
You are welcome.

Hi there

I'm hoping you'll be able to assist me.
Here's a link to a screenshot of the spreadsheet I'm having trouble with.
1.JPG - Google Drive

As I mentioned in my previous message, I'm trying to update this spreadsheet to add the new financial year. Something is wrong though as it's showing 1 claim closed for both Oct (K9) and Dec (K11) (obviously incorrect as we are only in August).

The formula I have entered for cell K9 is:
=SUM(IF(TEXT(N(OFFSET(INDIRECT("'"&TRANSPOSE(SheetList2)&"'!R4:R500"),ROW($S$4:$S$500)-ROW($S$4),0,1)),"mmmyy")=$A9&IF(ISNUMBER(MATCH($A9,{"Jul","Aug","Sep","Oct","Nov","Dec"},0)),K$2,K$3),1))

The formula I have entered for cell K11 is:
=SUM(IF(TEXT(N(OFFSET(INDIRECT("'"&TRANSPOSE(SheetList2)&"'!R4:R500"),ROW($S$4:$S$500)-ROW($S$4),0,1)),"mmmyy")=$A11&IF(ISNUMBER(MATCH($A11,{"Jul","Aug","Sep","Oct","Nov","Dec"},0)),K$2,K$3),1))


Would be great to have your thoughts!
Thanks in advance
 
Upvote 0
A couple of questions:

1. Do these formula differ from the one I suggested?

2. Care to provide the data in an Excel readable here directly here instead of a .jpg, which requires retyping?
 
Upvote 0
Hi there
So sorry to waste your time. I've just worked out the problem....2 dates from the other sheets had been entered incorrectly. It's now working perfectly. Thanks so much for getting back to me.
Have a great day
Cheers
 
Upvote 0
Hi there
So sorry to waste your time. I've just worked out the problem....2 dates from the other sheets had been entered incorrectly. It's now working perfectly. Thanks so much for getting back to me.
Have a great day
Cheers

Great, relieved. Thanks for the update.
 
Upvote 0
claimopenedclosed
C101/06/201203/03/2013
C224/07/201218/04/2013problem statement
C315/09/201203/06/2013
C407/11/201219/07/2013count how many claims were closed
C530/12/201203/09/2013between july 1 2015 and june 30 2016
C621/02/2013
C715/04/201304/12/2013
C807/06/201319/01/2014
C930/07/201306/03/201401/07/2015
C1021/09/201330/06/2016
C1113/11/201306/06/2014
C1205/01/201422/07/2014
C1327/02/201406/09/20145=SUMPRODUCT(($C$2:$C$41>=$F$10)*($C$2:$C$41<=$F$11))
C1421/04/2014
C1513/06/201407/12/2014
C1605/08/201422/01/2015
C1727/09/201409/03/2015if you put all your data in one sheet (maybe by automatic extraction from other sheets)
C1819/11/2014it becomes a very simple calculation
C1911/01/201509/06/2015
C2005/03/201525/07/2015x
C2127/04/2015
C2219/06/201525/10/2015x
C2311/08/201510/12/2015x
C2403/10/2015
C2525/11/201511/03/2016x
C2617/01/201626/04/2016x
C2710/03/2016
C2802/05/201627/07/2016
C2924/06/2016
C3016/08/201627/10/2016
C3108/10/201612/12/2016
C3230/11/2016
C3322/01/201714/03/2017
C3416/03/2017
C3508/05/2017
C3630/06/2017
C3722/08/2017
C3814/10/2017
C3906/12/2017
C4028/01/2018

<colgroup><col><col span="2"><col span="2"><col><col span="10"></colgroup><tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,215,291
Messages
6,124,093
Members
449,142
Latest member
championbowler

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top