Karen Menzie
New Member
Hello Again, still on my staff holiday chart - new headache!
I can find examples which apply to numbers but not text.
I'm looking to count the amount of "H" entries per employee's row, between certain dates.
I have a holiday chart, with 2 columns per day as staff can book a half day off or a full day.
An "H" means a half day holiday (am or pm depending on it's placement in the left or right column) and HH means a full day off.
I've posted a simplified version with just a few staff, and just 3 months (Jan-March 2015)
My holiday display chart is on sheet 2, on sheet 1 I have the summary. It's the summary page where I am looking to enter the formula to summarise the "H"s on sheet 2, per employee, between certain dates (past up to today and future).
I am looking for formulas for my columns F and G on sheet 1.
In my example book:
My columns run seamlessly from Jan 1 (colC) to Dec 31 (colFZ) for 2015, on sheet 2.
And my [made-up] names run down column A, from row 12 to 21
I can total all the holidays booked (thanks to previous help) but my boss has asked me to further show which are past and which are future.
(Because currently, in January, we look at the summary and it only shows the total of holidays booked, a total which will of course include future holidays - so it isn't immediately clear if a person has already used all 23 holidays already or just booked them in for the year ahead).
I know the today's date formula "=today()" , so I've entered that in a cell so that it can be used in a formula and show up as a reference point when printed - and that I will need some sort of greater than and lesser than formula.
My current formula in column E, which shows the total of holidays booked so far for 2015, (per employee row) is:
=COUNTIF(INDEX(Sheet2!$C$12:$FZ$21,MATCH($B6,$B$6:$B$15,0),),"H")/2
Which is copied down column E.
nb: H is divided by 2, as two Hs in one day is equal to one full day off.
Any help much appreciated!
Thanks in advance
I can find examples which apply to numbers but not text.
I'm looking to count the amount of "H" entries per employee's row, between certain dates.
I have a holiday chart, with 2 columns per day as staff can book a half day off or a full day.
An "H" means a half day holiday (am or pm depending on it's placement in the left or right column) and HH means a full day off.
I've posted a simplified version with just a few staff, and just 3 months (Jan-March 2015)
My holiday display chart is on sheet 2, on sheet 1 I have the summary. It's the summary page where I am looking to enter the formula to summarise the "H"s on sheet 2, per employee, between certain dates (past up to today and future).
I am looking for formulas for my columns F and G on sheet 1.
In my example book:
My columns run seamlessly from Jan 1 (colC) to Dec 31 (colFZ) for 2015, on sheet 2.
And my [made-up] names run down column A, from row 12 to 21
I can total all the holidays booked (thanks to previous help) but my boss has asked me to further show which are past and which are future.
(Because currently, in January, we look at the summary and it only shows the total of holidays booked, a total which will of course include future holidays - so it isn't immediately clear if a person has already used all 23 holidays already or just booked them in for the year ahead).
I know the today's date formula "=today()" , so I've entered that in a cell so that it can be used in a formula and show up as a reference point when printed - and that I will need some sort of greater than and lesser than formula.
My current formula in column E, which shows the total of holidays booked so far for 2015, (per employee row) is:
=COUNTIF(INDEX(Sheet2!$C$12:$FZ$21,MATCH($B6,$B$6:$B$15,0),),"H")/2
Which is copied down column E.
nb: H is divided by 2, as two Hs in one day is equal to one full day off.
Any help much appreciated!
Thanks in advance
