Hello
I was wondering could you please help write a lookup up formula, currently im counting if a name has been used, i now would like to return the project number.
Query, AD4 lookup V4, Range AE22:AE104, RESULT 24864
many thanks in advance
result:
I was wondering could you please help write a lookup up formula, currently im counting if a name has been used, i now would like to return the project number.
Query, AD4 lookup V4, Range AE22:AE104, RESULT 24864
many thanks in advance
JAY - Labour Schedule - JWS - Live Trial 9.xlsm | |||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | Q | S | T | U | V | W | X | AC | AD | AE | AF | AG | AH | AI | AJ | AK | AL | AM | AN | AO | AP | AQ | AR | AS | AT | AU | AV | AW | |||||||||||||||||||||||
2 | Week No. 43 | Week No. 44 | |||||||||||||||||||||||||||||||||||||||||||||||||
3 | Andrew Ball | AB | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | |||||||||||||||||||||||||||||||||||||||
4 | Kane Brown | KB | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||||||||||||||
5 | Scott Brown | SB | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||||||||||||||
6 | Joe Lacey | JL | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||||||||||||||
7 | Wayne Longdon | WL | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||||||||||||||
8 | Jim Morgan | JM | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||||||||||||||
9 | Kevin Sharman | KS | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||||
10 | Luke Stayte | LS | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||||||||||||||
11 | Conner Nixon | CN | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||||||||||||||
12 | Marc Nixon | MN | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||||||||||||||
13 | |||||||||||||||||||||||||||||||||||||||||||||||||||
14 | > | ||||||||||||||||||||||||||||||||||||||||||||||||||
15 | 10 | ||||||||||||||||||||||||||||||||||||||||||||||||||
16 | <= | Week No. 43 | Week No. 44 | ||||||||||||||||||||||||||||||||||||||||||||||||
17 | 26/10/2021 | 44 | 10 | ||||||||||||||||||||||||||||||||||||||||||||||||
18 | 18-Oct | 19-Oct | 20-Oct | 21-Oct | 22-Oct | 25-Oct | 26-Oct | 27-Oct | 28-Oct | 29-Oct | |||||||||||||||||||||||||||||||||||||||||
19 | Contionious Week | Mon | Tue | Wed | Thu | Fri | Mon | Tue | Wed | Thu | Fri | ||||||||||||||||||||||||||||||||||||||||
20 | |||||||||||||||||||||||||||||||||||||||||||||||||||
21 | Contract Number: | Project Name: | Start Date: | End Date: | Wks: | No. Days | Men: | 10 | 10 | 8 | 8 | 8 | 8 | 8 | 8 | 8 | 6 | ||||||||||||||||||||||||||||||||||
22 | 24864 | KERRINGTON Units C&D | 28/09/21 | 02/11/21 | 5 | 35 | 2 | 2 | WL,JM,SB,KB | 2 | 2 | 2 | 2 | 2 | KS,AB | 2 | KS,AB | 2 | KS | 2 | KS | 2 | |||||||||||||||||||||||||||||
23 | 25027 | TG Beighton Joseph Ash Bilston | 29/09/21 | 08/12/21 | 10 | 70 | 4 | 4 | 4 | 4 | 4 | 4 | 4 | 4 | 4 | 4 | 4 | KS | |||||||||||||||||||||||||||||||||
24 | 25097 | JCC COBHAM RETIREMENT VILLAGE | 0 | 0 | LS | 0 | LS | 0 | LS | 0 | LS | 0 | LS | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||||||||
25 | 25143 | BASTOWS Ashland House, Ashland Place, London, W1U 4AJ | 27/09/21 | 01/10/21 | 0.6 | 4.2 | 4 | ||||||||||||||||||||||||||||||||||||||||||||
26 | 24899 | SANDFORDS WEST BROMWICH | 27/09/21 | 29/09/21 | 0.4 | 2.8 | 4 | ||||||||||||||||||||||||||||||||||||||||||||
Planner1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
AD2,AN2 | AD2 | =AD16 |
AD3:AD12 | AD3 | =COUNTIFS(Week1!$AE$4:$AK$45,V3) |
AF3:AF12 | AF3 | =COUNTIFS(Week1!$AE$46:$AK$87,V3) |
AH3:AH12 | AH3 | =COUNTIFS(Week1!$AE$88:$AK$129,V3) |
AJ3:AJ12 | AJ3 | =COUNTIFS(Week1!$AE$130:$AK$171,V3) |
AL3:AL12 | AL3 | =COUNTIFS(Week1!$AE$172:$AK$213,V3) |
AN3:AN12 | AN3 | =COUNTIFS(Week2!$AE$4:$AK$45,V3) |
AP3:AP12 | AP3 | =COUNTIFS(Week2!$AE$46:$AK$87,V3) |
AR3:AR12 | AR3 | =COUNTIFS(Week2!$AE$88:$AK$129,V3) |
AT3:AT12 | AT3 | =COUNTIFS(Week2!$AE$130:$AK$171,V3) |
AV3:AV12 | AV3 | =COUNTIFS(Week2!$AE$172:$AK$213,V3) |
T3:T12 | T3 | =A108 |
V3:V12 | V3 | =P108 |
AD16,AN16 | AD16 | =WEEKNUM(AD18) |
T17 | T17 | =TODAY() |
V17 | V17 | =WEEKNUM(T17) |
AF18,AH18,AJ18,AL18,AP18,AR18,AT18,AV18 | AF18 | =AD18+1 |
AN18 | AN18 | =AL18+3 |
AD19,AF19,AH19,AJ19,AL19,AN19,AP19,AR19,AT19,AV19 | AD19 | =TEXT((AD18), "ddd") |
AD21,AF21,AH21,AJ21,AL21,AN21,AP21,AR21,AT21,AV21 | AD21 | =SUM(AD22:AD104)+AD106 |
U22:U26 | U22 | =IF(T22="","",T22+W22) |
W22:W26 | W22 | =V22*7 |
AD22:AD26 | AD22 | =IF(AND($AD$18 >= T22, $AD$18 < U22),X22,IF(AND($AD$18 >= Y22, $AD$18 < Z22),AB22,"")) |
AF22:AF26 | AF22 | =IF(AND($AF$18 >= T22, $AF$18 < U22),X22,IF(AND($AF$18 >= Y22, $AF$18 < Z22),AB22,"")) |
AH22:AH26 | AH22 | =IF(AND($AH$18 >= T22, $AH$18 < U22),X22,IF(AND($AH$18 >= Y22, $AH$18 < Z22),AB22,"")) |
AJ22:AJ26 | AJ22 | =IF(AND($AJ$18 >= T22, $AJ$18 < U22),X22,IF(AND($AJ$18 >= Y22, $AJ$18 < Z22),AB22,"")) |
AL22:AL26 | AL22 | =IF(AND($AL$18 >= T22, $AL$18 < U22),X22,IF(AND($AL$18 >= Y22, $AL$18 < Z22),AB22,"")) |
AN22:AN26 | AN22 | =IF(AND($AN$18 >= T22, $AN$18 < U22),X22,IF(AND($AN$18 >= Y22, $AN$18 < Z22),AB22,"")) |
AP22:AP26 | AP22 | =IF(AND($AP$18 >= T22, $AP$18 < U22),X22,IF(AND($AP$18 >= Y22, $AP$18 < Z22),AB22,"")) |
AR22:AR26 | AR22 | =IF(AND($AR$18 >= T22, $AR$18 < U22),X22,IF(AND($AR$18 >= Y22, $AR$18 < Z22),AB22,"")) |
AT22:AT26 | AT22 | =IF(AND($AT$18 >= T22, $AT$18 < U22),X22,IF(AND($AT$18 >= Y22, $AT$18 < Z22),AB22,"")) |
AV22:AV26 | AV22 | =IF(AND($AV$18 >= T22, $AV$18 < U22),X22,IF(AND($AV$18 >= Y22, $AV$18 < Z22),AB22,"")) |
Cells with Conditional Formatting | ||||
---|---|---|---|---|
Cell | Condition | Cell Format | Stop If True | |
AN3:AW12 | Cell Value | =1 | text | NO |
AN3:AW12 | Cell Value | =0 | text | NO |
AD3:AM12 | Cell Value | =1 | text | NO |
AD3:AM12 | Cell Value | =0 | text | NO |
T22:U104 | Cell | contains a blank value | text | NO |
T22:U104 | Cell Value | >=$T$17 | text | NO |
W22:W104 | Cell Value | =0 | text | NO |
AD22:FC104 | Cell Value | =4 | text | NO |
AD22:FC104 | Cell Value | =0 | text | NO |
AD22:FC104 | Cell Value | =3 | text | NO |
AD22:FC104 | Cell Value | =2 | text | NO |
AD22:FC104 | Cell Value | =1 | text | NO |
AD21,AN21,AX21,AF21,AH21,AJ21,AL21,AP21,AR21,AT21,AV21,AZ21,BB21,BD21,BF21,BH21,BJ21,BL21,BN21,BP21,BR21,BT21,BV21,BX21,BZ21,CB21,CD21,CF21,CH21,CJ21,CL21:FC21 | Cell Value | >$X$17 | text | NO |
AD21,AN21,AX21,AF21,AH21,AJ21,AL21,AP21,AR21,AT21,AV21,AZ21,BB21,BD21,BF21,BH21,BJ21,BL21,BN21,BP21,BR21,BT21,BV21,BX21,BZ21,CB21,CD21,CF21,CH21,CJ21,CL21:FC21 | Cell Value | <=$X$15 | text | NO |
result:
JAY - Labour Schedule - JWS - Live Trial 9.xlsm | |||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
S | T | U | V | W | X | AC | AD | AE | AF | AG | AH | AI | AJ | AK | AL | AM | |||||||
1 | |||||||||||||||||||||||
2 | Week No. 43 | ||||||||||||||||||||||
3 | Andrew Ball | AB | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||
4 | Kane Brown | KB | 24864 | 0 | 0 | 0 | 0 | ||||||||||||||||
5 | Scott Brown | SB | 1 | 0 | 0 | 0 | 0 | ||||||||||||||||
6 | Joe Lacey | JL | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||
7 | Wayne Longdon | WL | 1 | 0 | 0 | 0 | 0 | ||||||||||||||||
8 | Jim Morgan | JM | 1 | 0 | 0 | 0 | 0 | ||||||||||||||||
9 | Kevin Sharman | KS | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||
10 | Luke Stayte | LS | 1 | 1 | 1 | 1 | 1 | ||||||||||||||||
11 | Conner Nixon | CN | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||
Planner1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
AD2 | AD2 | =AD16 |
AD3,AD5:AD11 | AD3 | =COUNTIFS(Week1!$AE$4:$AK$45,V3) |
AF3:AF11 | AF3 | =COUNTIFS(Week1!$AE$46:$AK$87,V3) |
AH3:AH11 | AH3 | =COUNTIFS(Week1!$AE$88:$AK$129,V3) |
AJ3:AJ11 | AJ3 | =COUNTIFS(Week1!$AE$130:$AK$171,V3) |
AL3:AL11 | AL3 | =COUNTIFS(Week1!$AE$172:$AK$213,V3) |
T3:T11 | T3 | =A108 |
V3:V11 | V3 | =P108 |
Cells with Conditional Formatting | ||||
---|---|---|---|---|
Cell | Condition | Cell Format | Stop If True | |
AD3:AM12 | Cell Value | =1 | text | NO |
AD3:AM12 | Cell Value | =0 | text | NO |