I have a lot of records that look like the list below. Its the data from entries to our film club. At the end of the year there will be 40,000 records. The list gets added to every week. I need to know the number of valid entries for each week and day. The week is the penultimate field (51 in this case) and the day is the last record. I also want to ignore the MULTI and INVALID. So the answers in this example would be:
51 1 =5
51 2 =3
51 3 =3
I have been doing the hard way by sort by "OK" and then using a basic COUNTIF formula for each week but I'd like a formula that I can apply the the whole file. So in mid year we would be up to week 26 and I'd like to just apply a formula to those 20,000 records .
Richard
844 191216 OK 311767812 6271 Deborah Gray S 51 1
844 191216 OK 1646107652 4681 Julie Wilson S 51 1
844 191216 OK 311764996 2140 Paul Haigh S 51 1
844 191216 OK 311763204 1369 Richard Neal S 51 1
844 191216 OK 4049245444 7005 Preprinted card5 S 51 1
839 201216 OK 311769092 6266 Barbara Ruttelle S 51 2
839 201216 OK 311768580 6308 Katrina Steriovich S 51 2
839 201216 MULTI 311763204 1369 Richard Neal S 51 2
839 201216 INVALID 1653583620 S 51 2
839 201216 MULTI 4049245444 7005 Preprinted card5 S 51 2
839 201216 OK 4055260420 2093 Leley Breeze S 51 2
829 211216 MULTI 311763204 1369 Richard Neal S 51 3
830 211216 MULTI 311764996 2140 Paul Haigh S 51 3
830 211216 OK 4050878724 7001 Preprinted card1 S 51 3
830 211216 OK 311697668 4753 Kathryn Cuthbertson S 51 3
830 211216 OK 311766532 919 Jaqui Stacey S 51 3
51 1 =5
51 2 =3
51 3 =3
I have been doing the hard way by sort by "OK" and then using a basic COUNTIF formula for each week but I'd like a formula that I can apply the the whole file. So in mid year we would be up to week 26 and I'd like to just apply a formula to those 20,000 records .
Richard
844 191216 OK 311767812 6271 Deborah Gray S 51 1
844 191216 OK 1646107652 4681 Julie Wilson S 51 1
844 191216 OK 311764996 2140 Paul Haigh S 51 1
844 191216 OK 311763204 1369 Richard Neal S 51 1
844 191216 OK 4049245444 7005 Preprinted card5 S 51 1
839 201216 OK 311769092 6266 Barbara Ruttelle S 51 2
839 201216 OK 311768580 6308 Katrina Steriovich S 51 2
839 201216 MULTI 311763204 1369 Richard Neal S 51 2
839 201216 INVALID 1653583620 S 51 2
839 201216 MULTI 4049245444 7005 Preprinted card5 S 51 2
839 201216 OK 4055260420 2093 Leley Breeze S 51 2
829 211216 MULTI 311763204 1369 Richard Neal S 51 3
830 211216 MULTI 311764996 2140 Paul Haigh S 51 3
830 211216 OK 4050878724 7001 Preprinted card1 S 51 3
830 211216 OK 311697668 4753 Kathryn Cuthbertson S 51 3
830 211216 OK 311766532 919 Jaqui Stacey S 51 3