Holiday Record Sheet - Working Out Taken To Date or Running Total

hoonose

New Member
Joined
Apr 20, 2021
Messages
3
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Hello

I have a holiday booking/entitlement spreadsheet that shows holiday taken and booked for the year. This all combines nicely as a total, but I would really love a running total to see what someone has taken to date. Just so I’m prepared in case someone was to leave unexpectedly.

Researching this I found SUMIFS formula. I added dates to row 1 to then add against amounts in each person’s row, starting from row 9.

Formula in cell NL9 =SUMIFS(G9:BM9,$G$1:$BM$1,">="&$A$2,G9:BM9,"<="&$A$3)

My formula is not working and adding the full row not adjusting to the date, I have no idea why and maybe I am going at this the wrong way.

I’ve included my spreadsheet as its difficult to explain fully. Its reduced in size so I can sample it here.

I’d appreciate any assistance as I’m stuck. Thank you



HOLIDAY BOOKING.xlsx
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAHAIAJAKALAMANAOAPAQARASATAUAVAWAXAYAZBABBBCBDBEBFBGBHBIBJBKBLBMBNBOBPBQBRBSBTBUBV
1ANNUAL ENTITLEMENTCARRY OVERTOTAL TO TAKEHOLIDAY REMAININGJanJanJanJanJanJanJanJanJanJanJanJanJanJanJanJanJanJanJanJanJanJanJanJanJanJanJanJanJanJanJanFebFebFebFebFebFebFebFebFebFebFebFebFebFebFebFebFebFebFebFebFebFebFebFebFebFebFebFebTOTAL TAKENBANK HOLIDAYSUNPAID LEAVEMEDICAL TOTAL TAKEN TO DATE ESTIMATED ACCRUALHOLIDAY STARTHOLIDAY END
201/01/2022Jan 22Feb 22
312/02/2022
4FULL DAY1.0
5HALF DAY OFF0.50102030405060708091011121314151617181920212223242526272829303101020304050607080910111213141516171819202122232425262728
6MEDICALTWK10WK11WK12WK13WK14WK15WK16WK17
7UNPAID LEAVEUSSMTWTFSSMTWTFSSMTWTFSSMTWTFSSMTWTFSSMTWTFSSMTWTFSSMTWTFSSM
8BANK HOLIDAYBH00001110010011100010110000000000100011100
9DAVID FROST28.04.032.025.0BH1.01.01.0U1.01.01.06.01106.03.2301/01/2212/02/22
10EDDIE LARGE28.00.028.019.5BH1.01.01.01.01.01.01.00.57.51007.53.2301/01/2212/02/22
11TONY COTTEE28.09.037.036.0BH0.0100-3.2301/01/2212/02/22
12WINONA RYDER28.00.028.026.0BHU1.01.01101.03.2301/01/2212/02/22
2021 2022
Cell Formulas
RangeFormula
A3,BV9:BV12A3=TODAY()
AJ5:BL5,I5:AH5I5=H5+1
BM8,BF8:BJ8,AY8:BC8,AR8:AV8,AK8:AO8,AD8:AH8,W8:AA8,P8:T8,I8:M8I8=COUNTIF(I9:I12,1)
E9:E12E9=C9+D9
F9:F12F9=E9-BN9-BO9
BN9:BN12BN9=SUM(G9:BM9)
BO9:BO12BO9=COUNTIF(G9:BM9,$B$8)
BP9:BP12BP9=COUNTIF(G9:BM9,$B$7)
BQ9:BQ12BQ9=COUNTIF(G9:BM9,$B$6)
BR9:BR12BR9=SUMIFS(G9:BM9,$G$1:$BM$1,">="&$A$2,G9:BM9,"<="&$A$3)
BS9:BS12BS9=DAYS(BV9,BU9)/7*0.538
Cells with Conditional Formatting
CellConditionCell FormatStop If True
F9:F12Cell Value>#REF!textNO
G8:BM8Cell Value>4textNO
G9:BM12Cell Valuecontains "T"textNO
G9:BM12Cell Value=0.5textNO
G9:BM12Cell Value=1textNO
G9:BM12Cell Valuecontains "BH"textNO
G9:BM12Cell Valuecontains "U"textNO
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Hi Hoonose,

You're second range is comparing the number of days off with a date. I suspect you want:

Excel Formula:
=SUMIFS(G9:BM9,$G$1:$BM$1,">="&$A$2,$G$1:$BM$1,"<="&$A$3)
 
Upvote 0
Solution

Forum statistics

Threads
1,223,214
Messages
6,170,772
Members
452,353
Latest member
strainu

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