adding cells based on day of the week

jbrown021286

Board Regular
Joined
Mar 13, 2023
Messages
61
Office Version
  1. 365
Platform
  1. Windows
hours log.xlsx
ABCDEFGHIJKLMNOPQRS
1
2datenotesROstatusSUMDaignosisCODEJOBFLAG TIMEADJUSTMENTColumn1
34/8/202462083835.4micu keyless reciver and battery  5.4don’t countWaitingincorect
44/8/20246208727 door glass  000Check List
54/8/202462089272.0rotors  2TotalNot VerifyedVerifyed0.0
64/8/202462089270.2cfcabin filter0.212.612.60
74/8/202462089275.0timing cover resaeal  5
8    DayHoursAverage
9    Monday
10    Tuesday
11    Wednesday
12    Thursday
13    Friday
14    Saturday
15    
16    
17    
18    
LOG
Cell Formulas
RangeFormula
I3:I18I3=IF(H3="","",INDEX($X$3:$X$91,MATCH(H3,$W$3:$W$91,0),1))
J3:J18J3=IF(I3="","",INDEX($Y$3:$Y$91,MATCH(H3,$W$3:$W$91,0),1))
M4M4=SUMIF(E:E,"N",F:F)+SUMIF(E:E,"cnf",F:F)
N4N4=SUMIF(E:E,"w",F:F)
O4O4=SUMIF(E:E,"x",F:F)
R5R5=SUM(U:U)
M6M6=SUM(F:F,)-SUMIF(E:E,"N",F:F)-SUMIF(E:E,"nf",F:F)-N2
N6N6=SUMIF(E:E,"",F:F)+SUMIF(E:E,"c",F:F)
O6O6=SUMIF(E:E,"G",F:F)-N2
B3:B18B3=IF([@RO]<>"",IF(B3="",TODAY(),B3),"")
F3:F18F3=SUMIF(Table111[@[FLAG TIME]:[ADJUSTMENT]],"<>",Table111[@[FLAG TIME]:[ADJUSTMENT]])
Cells with Conditional Formatting
CellConditionCell FormatStop If True
N36,N83,D3:D280,K22:K52Expression=COUNTIF(T:T,D3)>0textNO
B3Expression=" =COUNTIFS(D:D,A1,E:E,J2)>0"textNO
A2Expression=" =COUNTIFS(D:D,A1,E:E,J2)>0"textNO
E3:E280Cell Value=$M$39textNO
G5:G7Cell Value=$M$38textNO
G5:G7Cell Value=$M$37textNO
G5:G7Cell Value=$M$36textNO
G5:G7Cell Value=$M$35textNO
G5:G7Cell Value=$M$34textNO
G5:G7Cell Value=$M$33textNO
E3:E280Cell Value=$M$38textNO
E3:F280Cell Value=$M$37textNO
E3:F280Cell Value=$M$36textNO
E3:F280Cell Value=$M$35textNO
E3:F280Cell Value=$M$34textNO
E3:F280Cell Value=$M$33textNO
F3:F280Expression=" =COUNTIFS(D:D,A1,E:E,J2)>0"textNO
K3:L5,U3:U280,L6:L7Expression=COUNTIFS(XEX:XEX,J3,XEZ:XEZ,K3)>0textNO
F3:F280Expression=COUNTIFS(T:T,D3,U:U,F3)>0textNO
A2Expression=COUNTIFS(K:K,XEY3,#REF!,A2)>0textNO
B3Expression=COUNTIFS(K:K,XEY4,#REF!,B3)>0textNO

i am wanting to add column F based on the day of the week in column B if the date is a Monday i want to have the sum in cell N9 if it is Tuesday N10 and so on. is there a good way of achieving this?
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Your formulas mostly produced errors in my sheet, so I pasted the cells as values and worked from that. I added a helper column to the table next to the date to show weekdays and used that in the countif in cells N9:N14. I'm not sure what your average formula entails, so I didn't put anything there.

Book1
ABCDEFGHIJKLMNOP
1
2dateWeekdaynotesROstatusSUMDaignosisCODEJOBFLAG TIMEADJUSTMENTColumn1
308-04-24Monday62083835.4micu keyless reciver and battery5.4don’t countWaitingincorect
408-04-24Monday62087270door glass000
509-04-24Tuesday62089272rotors2TotalNot VerifyedVerifyed
609-04-24Tuesday62089270.2cfcabin filter0.212.612.60
710-04-24Wednesday62089275timing cover resaeal5
810-04-24Wednesday0DayHoursAverage
911-04-24Thursday0Monday5.4
1011-04-24Thursday0Tuesday2.2
1112-04-24Friday0Wednesday5
1212-04-24Friday0Thursday0
1313-04-24Saturday0Friday0
1413-04-24Saturday0Saturday0
1514-04-24Sunday0
1614-04-24Sunday0
1715-04-24Monday0
1815-04-24Monday0
Sheet1
Cell Formulas
RangeFormula
O9:O14O9=SUMIF(Sheet1!$C$3:$C$18,N9,Sheet1!$G$3:$G$18)
C3:C18C3=TEXT(WEEKDAY(Sheet1!$B3),"Dddd")
 
Upvote 0
Solution

Forum statistics

Threads
1,215,214
Messages
6,123,660
Members
449,114
Latest member
aides

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