Hi All,
what's wrong with my table's formula below and how can i amend it?
cell D47: counting "blank", "RDO" & "Request Day Off"cell, the answer expect to be: 8
cell L48: counting without "time value", "Request Day Off", "WRONG" cell, the answer expect to be: 5
thanks so much for your help
what's wrong with my table's formula below and how can i amend it?
cell D47: counting "blank", "RDO" & "Request Day Off"cell, the answer expect to be: 8
cell L48: counting without "time value", "Request Day Off", "WRONG" cell, the answer expect to be: 5
thanks so much for your help
Book1 | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | K | L | |||||||||||
47 | REGULAR DAY OFF | 13 | 6 | |||||||||||||
48 | OTHERS DAY OFF | 3 | 6 | |||||||||||||
51 | A | 3 | 08:45 - 18:15 | 08:45 - 18:15 | 00:00 - 00:00 | (Request Day Off) | ||||||||||
52 | B | 4 | 12:00 - 21:30 | 12:00 - 21:30 | 12:00 - 21:30 | 12:00 - 21:30 | ||||||||||
53 | C | 1 | 12:00 - 21:30 | 12:00 - 21:30 | 08:45 - 18:15 | 08:45 - 18:15 | ||||||||||
54 | D | 4 | 08:45 - 18:15 | 08:45 - 18:15 | 12:00 - 21:30 | 12:00 - 21:30 | ||||||||||
55 | E | 2 | 00:00 - 00:00 | Unpaid Leave Day 1.0 | 00:00 - 00:00 | Unpaid Leave Day 1.0 | ||||||||||
56 | F | 3 | 09:45 - 19:15 | 09:45 - 19:15 | 08:45 - 18:15 | 08:45 - 18:15 | ||||||||||
57 | G | 6 | 12:00 - 21:30 | 12:00 - 21:30 | 08:45 - 18:15 | 08:45 - 18:15 | ||||||||||
58 | H | 1 | 12:00 - 21:30 | 12:00 - 21:30 | ||||||||||||
59 | I | 4 | 08:45 - 18:15 | 08:45 - 18:15 | 12:00 - 21:30 | 12:00 - 21:30 | ||||||||||
60 | J | 5 | 08:45 - 18:15 | 08:45 - 18:15 | RDO | |||||||||||
61 | K | 6 | 12:00 - 21:30 | 12:00 - 21:30 | 08:45 - 18:15 | 08:45 - 18:15 | ||||||||||
62 | L | 3 | 08:45 - 18:15 | 08:45 - 18:15 | ||||||||||||
63 | M | 5 | 08:45 - 18:15 | 08:45 - 18:15 | RDO | |||||||||||
64 | N | 2 | 08:45 - 18:15 | 08:45 - 18:15 | 08:45 - 18:15 | 08:45 - 18:15 | ||||||||||
65 | O | 3 | 00:00 - 00:00 | Vacation Leave Day 1.0 | 00:00 - 00:00 | Vacation Leave Day 1.0 | ||||||||||
66 | P | 1 | 12:00 - 21:30 | 12:00 - 21:30 | 08:45 - 18:15 | 08:45 - 18:15 | ||||||||||
67 | Q | 5 | 12:00 - 21:30 | 12:00 - 21:30 | RDO | |||||||||||
68 | R | 7 | RDO | 12:00 - 21:30 | 12:00 - 21:30 | |||||||||||
69 | S | 2 | 08:45 - 18:15 | 08:45 - 18:15 | 12:00 - 21:30 | 12:00 - 21:30 | ||||||||||
70 | T | 3 | 08:45 - 18:15 | 08:45 - 18:15 | 12:00 - 21:30 | 12:00 - 21:30 | ||||||||||
71 | U | 4 | 12:00 - 21:30 | 12:00 - 21:30 | 00:00 - 00:00 | Vacation Leave Day 1.0 | ||||||||||
72 | V | 5 | 08:45 - 18:15 | 08:45 - 18:15 | 00:00 - 00:00 | WRONG | ||||||||||
73 | W | 6 | 00:00 - 00:00 | AH12 Day 1.0 | 08:45 - 18:15 | 08:45 - 18:15 | ||||||||||
74 | X | 2 | 00:00 - 00:00 | Vacation Leave Day 1.0 | ||||||||||||
75 | Y | 7 | RDO | 00:00 - 00:00 | (Request Day Off) | |||||||||||
76 | Z | 1 | 08:45 - 18:15 | 08:45 - 18:15 | ||||||||||||
77 | AA | 6 | 11:30 - 21:00 | 11:30 - 21:00 | 00:00 - 00:00 | AH01 Day 1.0 | ||||||||||
78 | AB | 1 | 11:30 - 21:00 | 11:30 - 21:00 | 12:00 - 21:30 | 12:00 - 21:30 | ||||||||||
79 | AC | 2 | 10:00 - 19:30 | 10:00 - 19:30 | 11:30 - 21:00 | 11:30 - 21:00 | ||||||||||
80 | AD | 3 | 09:45 - 19:15 | 09:45 - 19:15 | 11:30 - 21:00 | 11:30 - 21:00 | ||||||||||
81 | AE | 4 | 00:00 - 00:00 | (Request Day Off) | 10:00 - 19:30 | 10:00 - 19:30 | ||||||||||
82 | AF | 5 | 09:30 - 19:00 | 09:30 - 19:00 | RDO | |||||||||||
83 | AG | 6 | 09:30 - 19:00 | 09:30 - 19:00 | ||||||||||||
RESULT-1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
D47, L47 | D47 | =COUNTIFS($A$51:$A$100,"*",C$51:C$100,"",D$51:D$100,"")+COUNTIFS($A$51:$A$100,"*",C$51:C$100,"00:00 - 00:00",D$51:D$100,"(request day off)")+COUNTIFS($A$51:$A$100,"*",C$51:C$100,"",D$51:D$100,"*") |
D48, L48 | D48 | =COUNTIFS($A$51:$A$100,"*",C$51:C$100,"00:00 - 00:00",D$51:D$100,"*")-COUNTIFS($A$51:$A$100,"*",C$51:C$100,"00:00 - 00:00",D$51:D$100,"(request day off)") |