combining multiple cell Calculations

HappyChappy

Active Member
Joined
Jan 26, 2013
Messages
383
Office Version
  1. 2019
  2. 2010
  3. 2007
Platform
  1. Windows
Cell Formulas
RangeFormula
D50:D56D50=IF(COUNT(B50:C50)=2,C50-B50+(B50>C50),0)
E50,E54:E56E50=MIN(MAX(0,D50-TIME(8,45,0)),X50)
F50:F56F50=MAX(TIME(8,0,0),+D50-E50)*(D50>0)
G50:G56G50=MAX(0,MIN(F50,Y50-SUMIF($AB$1:AB49,AB50,$G$1:$G49)))
H50:H56H50=IF(OR(B50="",C50=""),"",(1/48))
I50:I56I50=IF(OR(B50="",C50=""),"",G50+H50)
J50:J56J50=+F50-G50
K50:K56K50=IF(D50>0,IF(B50<C50,MAX(0,TIME(7,0,0)-B50)+MAX(0,C50-TIME(17,0,0)),MAX(0,MIN(TIME(7,0,0),C50)+1-MAX(TIME(17,0,0),B50))),0)
L50:L56L50=IF(OR(B50="",C50=""),"",SUM(N50:R50))
M50M50=IF(OR(B50="",C50=""),"",I50+H50)
N50:N56N50=IF(OR(B50="",C50=""),"",24*$I50*VLOOKUP(WEEKDAY($A50,2),Tabel1,3,1))
O50:O56O50=24*$J50*VLOOKUP(WEEKDAY($A50,2),Tabel1,4,1)
P50:P56P50=K50*1*24
Q50:Q56Q50=IF(OR(B50="",C50=""),"",S50-T50)
R50:R56R50=IF(OR(D50="",E50=""),"",$U50*VLOOKUP(WEEKDAY($A50,2),Tabel1,6,1))
S50:S56S50=IF(OR(C50="",D50=""),"",24*$M50*VLOOKUP(WEEKDAY($A50,2),Tabel1,5,1))
T50:T56T50=IF(OR(E50="",F50=""),"",24*$V50*VLOOKUP(WEEKDAY($A50,2),Tabel1,5,1))
E51:E53E51=MIN(MAX(0,D51-TIME(7,45,0)),X51)
M51:M56M51=IF(OR(B51="",C51=""),"",G51+J51)
Z50:Z56Z50=IFERROR(+N50/G50/24,"-")
AA50:AA56AA50=IFERROR(+O50/J50/24,"-")
AB50:AB56AB50=IF(A50="",AB49,"wk_"& TEXT(A50-WEEKDAY(A50)+1,"dd.mm.yyd"))
A50A50=A48+1
A51:A56A51=A50+1
D57:Q57,S57:T57,Z57:AA57D57=SUBTOTAL(109,D50:D56)
R57R57=SUM(R51:R55)
U57U57=SUM(U50:U56)
AC50:AC57AC50=IF(A50="","T","D")
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A57:B57Expression=AND($A57<>"",MOD(ROW($A57),2)=0)textNO
A50:AB56,D57:AB57Expression=AND($A50<>"",MOD(ROW($A50),2)=0)textNO
N50:W57Expression=AND($A50<>"",N50=0,1)textNO
D50:K57Expression=AND($A50<>"",D50=0,1)textNO
Cells with Data Validation
CellAllowCriteria
B50:C56Whole numberbetween 0 and 1

Cant work out how to do the following calculations can anyone help.
need to figure out how to make L show a default figure of £100 if W=Holiday
Need cell I to deduct 30minutes if it see's any information in cell V
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Try these
For L
Excel Formula:
=IF(W50="Holiday",100,IF(OR(B50="",C50=""),"",SUM(N50:R50)))

For I
Excel Formula:
=IF(OR(B50="",C50=""),"",G50+H50-IF(V50="",0,TIME(0,30,0)))
 
Upvote 0
Solution

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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