Formula for Calculation and Sorting Matched Words based on date and sorting within 4 weeks

playaller

New Member
Joined
Oct 2, 2013
Messages
36
I need help with a Error Spot Check excel document for checking errors in processing.

Each month I have to check a agents work for errors.
When checking I have a Userform that will fill row A through G per check.

Column C and G are import as:
- Column C: Logs the date the agent did the process
- Column G: Will log the Reason for the Error if there is one

ABCDEFG
5Spot Check DateChecked ByDate ProcessedID NumberWork TypeErrorReason for the Error
610/30/2013 - 4:07 PMC.M10/1/2013657327588COCCNo
710/30/2013 - 4:07 PMC.M10/7/2013657339594COCCYes COCC less than 63 days

<tbody>
</tbody>

I only check for errors 4 weeks (5 business days per week) out of a month so I have a formula area on the same page starting in columns P6 and Q6 that will determine if I should start checking the first 4 weeks or the last 4 weeks of the month that looks like so:

PQ Formula in Column Q
1st of Current Month:10/1/2013=C6-DAY(C6)+1
First Day of Month:2=WEEKDAY((DATEVALUE(MONTH(Q6)&"/1/"&YEAR(Q6))),2)
Days in Week:7
Count First Week?TRUE=IF(Q7>=3,FALSE,TRUE)

<tbody>
</tbody>

If the above Booleen is True I will start checking on the 1st day of the first week. If not it will be the first day of the second week.

Finally I have the Error log in Columns I through N that list the matching error reason and sums up each error for for each error type and week but I have to update this manually by hand as I don't know a formula that would match the errors and sum them up by week. This is the Error log:



IJK L MN
6INDIVIDUAL ASR QA BEHAVIOR SUMMARYError Count
7week1week2week3week4Total
8Cancellations (CXL)
9 Billing date not removed
10 Wrong inactive date 1 12
11 Paid through date incorrect 1 1
12 Cancelled Plan in error
13 Cancelled wrong plan
14 Confirmation email not sent
15 Cancellation document not attached
16 Wrong document attached as cancellation
17 Did not cancel the plan
and so on.. Did not cancel dependents
Did not check claim status
Checked claim status with wrong entity
Enrollment fee not refunded where appropriate or approved
Refund not set to pay
Refund date not entered
Refund amount incorrect
Refund Update tracking field not set (YES) (NO)
Refund Provided date/info not removed
OLE notes missing
Did not forward template to correct queue(s)
Total
Policy Change Requests (PCR or MAG)
Did not process upgrade/downgrade
Did not change active/inactive date
Wrong billing date
Did not process correct plan
Did not add dependent information
Did not remove dependents
Did not refund premium difference
Did not transfer funds to new plan
Did not transfer correct amount
Did not pro-rate member
Did not attach request to member file
OLE notes missing
Total
Letters of Membership (LOM)
LOC not issued
Wrong inactive date
Wrong effective date
Wrong member ID#
Wrong member information
Did not mail/email/fax to member as requested
Did not attach LOC to OLE11
OLE notes missing
Total11
Certificates of Creditable Coverage (COCC)
Did not attach to member file
OLE notes missing11
Did not forward to carrier
Did not issue letter
COCC less than 63 days11
COCC more than 63 days
Total112

<tbody>
</tbody>



I need a formula to place in each of the error count cells above that will:
- First check Column C for the date processed to determine if the erorr (If One) will go within that week
- Secondly it will check that same row in Column F to determin if Yes there is an error and if so...
- Third it will check column G to match the reason for the error and..
- Lastly if the error matches the erorr phrase on the left in column I within the range of the Error type, Sum it up with all the matching errors within the week.


A formula to put in each cell would seem more convenient as I don't know if a macro would be a easy go for this.

I have the spreadsheet but didnt see a way to attach it.

Any help here would be greatly appreciated. Thanks in advance.
 
Last edited:

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

Forum statistics

Threads
1,215,741
Messages
6,126,591
Members
449,320
Latest member
Antonino90

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