AusSteelMan
Board Regular
- Joined
- Sep 4, 2009
- Messages
- 208
Hi everyone,
Firstly, thanks for reading my question.
I have an issue where I would like to count the number of classes per subject that have occurred since a date.
This table shows the subjects that I would like to count:
Sheet1
<colgroup><col style="font-weight:bold; width:30px; "><col style="width:64px;"><col style="width:137px;"><col style="width:137px;"><col style="width:137px;"><col style="width:137px;"><col style="width:137px;"><col style="width:137px;"></colgroup><tbody>
[TD="bgcolor: #cacaca, align: center"]1[/TD]
[TD="bgcolor: #666699, align: center"]Date[/TD]
[TD="bgcolor: #cacaca, align: center"]2[/TD]
[TD="bgcolor: #dce6f1, align: right"]29/01/2016[/TD]
[TD="bgcolor: #cacaca, align: center"]3[/TD]
[TD="align: right"]1/02/2016[/TD]
[TD="bgcolor: #cacaca, align: center"]4[/TD]
[TD="bgcolor: #dce6f1, align: right"]2/02/2016[/TD]
[TD="bgcolor: #cacaca, align: center"]5[/TD]
[TD="align: right"]3/02/2016[/TD]
[TD="bgcolor: #cacaca, align: center"]6[/TD]
[TD="bgcolor: #dce6f1, align: right"]4/02/2016[/TD]
[TD="bgcolor: #00ccff"]PDH[/TD]
[TD="bgcolor: #cacaca, align: center"]7[/TD]
[TD="align: right"]5/02/2016[/TD]
[TD="bgcolor: #cacaca, align: center"]8[/TD]
[TD="bgcolor: #dce6f1, align: right"]8/02/2016[/TD]
[TD="bgcolor: #cacaca, align: center"]9[/TD]
[TD="align: right"]9/02/2016[/TD]
[TD="bgcolor: #cacaca, align: center"]10[/TD]
[TD="bgcolor: #dce6f1, align: right"]10/02/2016[/TD]
[TD="bgcolor: #00ccff"]PDH[/TD]
[TD="bgcolor: #cacaca, align: center"]11[/TD]
[TD="align: right"]11/02/2016[/TD]
[TD="bgcolor: #cacaca, align: center"]12[/TD]
[TD="bgcolor: #dce6f1, align: right"]12/02/2016[/TD]
[TD="bgcolor: #cacaca, align: center"]13[/TD]
[TD="align: right"]15/02/2016[/TD]
[TD="bgcolor: #cacaca, align: center"]14[/TD]
[TD="bgcolor: #dce6f1, align: right"]16/02/2016[/TD]
[TD="bgcolor: #cacaca, align: center"]15[/TD]
[TD="align: right"]17/02/2016[/TD]
[TD="bgcolor: #cacaca, align: center"]16[/TD]
[TD="bgcolor: #dce6f1, align: right"]18/02/2016[/TD]
[TD="bgcolor: #00ccff"]PDH[/TD]
[TD="bgcolor: #cacaca, align: center"]17[/TD]
[TD="align: right"]19/02/2016[/TD]
[TD="bgcolor: #cacaca, align: center"]18[/TD]
[TD="bgcolor: #dce6f1, align: right"]22/02/2016[/TD]
[TD="bgcolor: #cacaca, align: center"]19[/TD]
[TD="align: right"]23/02/2016[/TD]
[TD="bgcolor: #ffcc00"]Inv Maths[/TD]
[TD="bgcolor: #cacaca, align: center"]20[/TD]
[TD="bgcolor: #dce6f1, align: right"]24/02/2016[/TD]
[TD="bgcolor: #00ccff"]PDH[/TD]
[TD="bgcolor: #cacaca, align: center"]21[/TD]
[TD="align: right"]25/02/2016[/TD]
[TD="bgcolor: #c0c0c0"]Sport[/TD]
[TD="bgcolor: #c0c0c0"]Sport[/TD]
[TD="bgcolor: #cacaca, align: center"]22[/TD]
[TD="bgcolor: #dce6f1, align: right"]26/02/2016[/TD]
[TD="bgcolor: #ffcc00"]Inv Maths[/TD]
[TD="bgcolor: #cacaca, align: center"]23[/TD]
[TD="bgcolor: #dce6f1, align: right"]1/03/2016[/TD]
[TD="bgcolor: #c0c0c0"]Sport[/TD]
[TD="bgcolor: #ffcc00"]Inv Maths[/TD]
[TD="bgcolor: #cacaca, align: center"]24[/TD]
[TD="bgcolor: #dce6f1, align: right"]2/03/2016[/TD]
[TD="bgcolor: #c0c0c0"]Sport[/TD]
[TD="bgcolor: #cacaca, align: center"]25[/TD]
[TD="bgcolor: #dce6f1, align: right"]3/03/2016[/TD]
[TD="bgcolor: #00ccff"]PDH[/TD]
[TD="bgcolor: #cacaca, align: center"]26[/TD]
[TD="bgcolor: #dce6f1, align: right"]4/03/2016[/TD]
[TD="bgcolor: #ffff00"]Maths[/TD]
[TD="bgcolor: #ffcc00"]Inv Maths[/TD]
[TD="bgcolor: #99cc00"]Graphics[/TD]
[TD="bgcolor: #99cc00"]Graphics[/TD]
[TD="bgcolor: #c0c0c0"]CAT[/TD]
[TD="bgcolor: #cacaca, align: center"]27[/TD]
[TD="bgcolor: #dce6f1, align: right"]7/03/2016[/TD]
[TD="bgcolor: #99cc00"]Graphics[/TD]
[TD="bgcolor: #969696"]HSIE[/TD]
[TD="bgcolor: #ffcc00"]Inv Maths[/TD]
[TD="bgcolor: #ffcc00"]Inv Maths[/TD]
[TD="bgcolor: #cacaca, align: center"]28[/TD]
[TD="bgcolor: #dce6f1, align: right"]8/03/2016[/TD]
[TD="bgcolor: #ffff00"]Maths[/TD]
[TD="bgcolor: #ffcc00"]Inv Maths[/TD]
[TD="bgcolor: #99cc00"]Graphics[/TD]
[TD="bgcolor: #969696"]HSIE[/TD]
[TD="bgcolor: #cacaca, align: center"]29[/TD]
[TD="bgcolor: #dce6f1, align: right"]9/03/2016[/TD]
[TD="bgcolor: #ffff00"]Maths[/TD]
[TD="bgcolor: #00ccff"]PDH[/TD]
[TD="bgcolor: #969696"]HSIE[/TD]
[TD="bgcolor: #c0c0c0"]CAT[/TD]
[TD="bgcolor: #cacaca, align: center"]30[/TD]
[TD="bgcolor: #dce6f1, align: right"]10/03/2016[/TD]
[TD="bgcolor: #ffff00"]Maths[/TD]
[TD="bgcolor: #c0c0c0"]CAT[/TD]
[TD="bgcolor: #c0c0c0"]Sport[/TD]
[TD="bgcolor: #c0c0c0"]Sport[/TD]
[TD="bgcolor: #cacaca, align: center"]31[/TD]
[TD="bgcolor: #dce6f1, align: right"]11/03/2016[/TD]
[TD="bgcolor: #ffff00"]Maths[/TD]
[TD="bgcolor: #ffcc00"]Inv Maths[/TD]
[TD="bgcolor: #99cc00"]Graphics[/TD]
[TD="bgcolor: #969696"]HSIE[/TD]
[TD="bgcolor: #cacaca, align: center"]32[/TD]
[TD="bgcolor: #dce6f1, align: right"]14/03/2016[/TD]
[TD="bgcolor: #969696"]HSIE[/TD]
[TD="bgcolor: #ffcc00"]Inv Maths[/TD]
[TD="bgcolor: #c0c0c0"]CAT[/TD]
[TD="bgcolor: #ffff00"]Maths[/TD]
[TD="bgcolor: #cacaca, align: center"]33[/TD]
[TD="bgcolor: #dce6f1, align: right"]15/03/2016[/TD]
[TD="bgcolor: #ffff00"]Maths[/TD]
[TD="bgcolor: #969696"]HSIE[/TD]
[TD="bgcolor: #c0c0c0"]Sport[/TD]
[TD="bgcolor: #ffcc00"]Inv Maths[/TD]
[TD="bgcolor: #99cc00"]Graphics[/TD]
[TD="bgcolor: #cacaca, align: center"]34[/TD]
[TD="bgcolor: #dce6f1, align: right"]16/03/2016[/TD]
[TD="bgcolor: #ffff00"]Maths[/TD]
[TD="bgcolor: #c0c0c0"]Sport[/TD]
[TD="bgcolor: #969696"]HSIE[/TD]
[TD="bgcolor: #99cc00"]Graphics[/TD]
[TD="bgcolor: #cacaca, align: center"]35[/TD]
[TD="bgcolor: #dce6f1, align: right"]17/03/2016[/TD]
[TD="bgcolor: #00ccff"]PDH[/TD]
[TD="bgcolor: #969696"]HSIE[/TD]
[TD="bgcolor: #ffff00"]Maths[/TD]
[TD="bgcolor: #c0c0c0"]CAT[/TD]
[TD="bgcolor: #cacaca, align: center"]36[/TD]
[TD="bgcolor: #dce6f1, align: right"]18/03/2016[/TD]
[TD="bgcolor: #ffff00"]Maths[/TD]
[TD="bgcolor: #ffcc00"]Inv Maths[/TD]
[TD="bgcolor: #99cc00"]Graphics[/TD]
[TD="bgcolor: #99cc00"]Graphics[/TD]
[TD="bgcolor: #c0c0c0"]CAT[/TD]
[TD="bgcolor: #cacaca, align: center"]37[/TD]
[TD="bgcolor: #dce6f1, align: right"]21/03/2016[/TD]
[TD="bgcolor: #99cc00"]Graphics[/TD]
[TD="bgcolor: #969696"]HSIE[/TD]
[TD="bgcolor: #ffcc00"]Inv Maths[/TD]
[TD="bgcolor: #ffcc00"]Inv Maths[/TD]
[TD="bgcolor: #cacaca, align: center"]38[/TD]
[TD="bgcolor: #dce6f1, align: right"]22/03/2016[/TD]
</tbody>
Excel tables to the web >> Excel Jeanie HTML 4
This table shows each subject, the last date (i.e. I want to count each subject that falls after this date), the column where I have been trying to calculate it and finally the results that I think I should have (colour coded from the first table just to make it easier to see. it serves no other purpose)
Sheet1
<colgroup><col style="font-weight:bold; width:30px; "><col style="width:68px;"><col style="width:136px;"><col style="width:252px;"><col style="width:134px;"></colgroup><tbody>
[TD="bgcolor: #cacaca, align: center"]1[/TD]
[TD="bgcolor: #cacaca, align: center"]2[/TD]
[TD="align: right"]3/03/2016[/TD]
[TD="bgcolor: #ffff00, align: right"]10[/TD]
[TD="bgcolor: #cacaca, align: center"]3[/TD]
[TD="align: right"]21/03/2016[/TD]
[TD="align: right"]0[/TD]
[TD="bgcolor: #cacaca, align: center"]4[/TD]
[TD="align: right"]21/03/2016[/TD]
[TD="align: right"]0[/TD]
[TD="bgcolor: #cacaca, align: center"]5[/TD]
[TD="align: right"]22/02/2016[/TD]
[TD="bgcolor: #ffcc00, align: right"]13[/TD]
[TD="bgcolor: #cacaca, align: center"]6[/TD]
[TD="align: right"]2/03/2016[/TD]
[TD="bgcolor: #99cc00, align: right"]10[/TD]
[TD="bgcolor: #cacaca, align: center"]7[/TD]
[TD="align: right"]3/03/2016[/TD]
[TD="bgcolor: #969696, align: right"]9[/TD]
[TD="bgcolor: #cacaca, align: center"]8[/TD]
[TD="align: right"]3/03/2016[/TD]
[TD="bgcolor: #c0c0c0, align: right"]6[/TD]
[TD="bgcolor: #cacaca, align: center"]9[/TD]
[TD="bgcolor: #00ccff, align: right"]7[/TD]
[TD="bgcolor: #cacaca, align: center"]10[/TD]
[TD="align: right"]17/02/2016[/TD]
[TD="bgcolor: #c0c0c0, align: right"]8[/TD]
</tbody>
<tbody>
</tbody>
Excel tables to the web >> Excel Jeanie HTML 4
I will note that in the real workbook:
Can anybody please help out with fixing the formula so it works?
I have tried the first part of the formula (counting all occurrences of each subject) by itself and it works OK.
I have tried a few variants of the date portion but just can't get it.
I have tried using on a fixed date without any greater than or greater than equal to where I know a subject exists (so should get a count of 1) but still doesn't work at all.
I have searched this site and others but just can't find anything that works
If I need to use helper columns etc, that is OK. For a number of reasons I'd prefer to avoid any VBA.
The "Never" "Last Date" can easily be replaced with a real date (such as 28/1/2016)
Many thanks in advance.
Cheers,
Darren
Firstly, thanks for reading my question.
I have an issue where I would like to count the number of classes per subject that have occurred since a date.
This table shows the subjects that I would like to count:
Sheet1
* | A | B | C | D | E | F | G |
Missed classes_P1 | Missed classes_P2 | Missed classes_P3 | Missed classes_P4 | Missed classes_P5 | Missed classes_P6 | ||
* | * | * | * | * | * | ||
* | * | * | * | English | Maths | ||
* | * | * | * | Inv Maths | Graphics | ||
* | * | * | * | HSIE | Graphics | ||
English | Science | HSIE | Maths | CAT | |||
Maths | Inv Maths | Graphics | Graphics | CAT | English | ||
* | * | * | * | Science | English | ||
Maths | Inv Maths | Science | English | Graphics | HSIE | ||
English | Maths | HSIE | Science | CAT | |||
Science | Maths | English | CAT | Sport | Sport | ||
* | English | Inv Maths | Science | Graphics | HSIE | ||
* | * | * | * | English | Maths | ||
* | * | * | * | Inv Maths | Graphics | ||
* | * | * | Science | HSIE | Graphics | ||
English | Science | HSIE | Maths | CAT | |||
* | * | * | * | CAT | English | ||
* | * | * | * | Science | English | ||
Maths | Science | English | Graphics | HSIE | |||
English | Maths | HSIE | Science | CAT | |||
Science | Maths | English | CAT | ||||
Maths | English | Science | Graphics | HSIE | |||
Maths | HSIE | * | Graphics | ||||
Maths | English | * | * | * | |||
English | Science | * | * | * | |||
English | |||||||
Science | English | ||||||
Science | English | ||||||
English | Science | ||||||
Science | English | ||||||
English | Science | ||||||
Science | English | ||||||
Science | |||||||
English | Science | ||||||
English | Science | ||||||
English | |||||||
* | * | ||||||
* | * | * | * | * | * |
<colgroup><col style="font-weight:bold; width:30px; "><col style="width:64px;"><col style="width:137px;"><col style="width:137px;"><col style="width:137px;"><col style="width:137px;"><col style="width:137px;"><col style="width:137px;"></colgroup><tbody>
[TD="bgcolor: #cacaca, align: center"]1[/TD]
[TD="bgcolor: #666699, align: center"]Date[/TD]
[TD="bgcolor: #cacaca, align: center"]2[/TD]
[TD="bgcolor: #dce6f1, align: right"]29/01/2016[/TD]
[TD="bgcolor: #cacaca, align: center"]3[/TD]
[TD="align: right"]1/02/2016[/TD]
[TD="bgcolor: #cacaca, align: center"]4[/TD]
[TD="bgcolor: #dce6f1, align: right"]2/02/2016[/TD]
[TD="bgcolor: #cacaca, align: center"]5[/TD]
[TD="align: right"]3/02/2016[/TD]
[TD="bgcolor: #cacaca, align: center"]6[/TD]
[TD="bgcolor: #dce6f1, align: right"]4/02/2016[/TD]
[TD="bgcolor: #00ccff"]PDH[/TD]
[TD="bgcolor: #cacaca, align: center"]7[/TD]
[TD="align: right"]5/02/2016[/TD]
[TD="bgcolor: #cacaca, align: center"]8[/TD]
[TD="bgcolor: #dce6f1, align: right"]8/02/2016[/TD]
[TD="bgcolor: #cacaca, align: center"]9[/TD]
[TD="align: right"]9/02/2016[/TD]
[TD="bgcolor: #cacaca, align: center"]10[/TD]
[TD="bgcolor: #dce6f1, align: right"]10/02/2016[/TD]
[TD="bgcolor: #00ccff"]PDH[/TD]
[TD="bgcolor: #cacaca, align: center"]11[/TD]
[TD="align: right"]11/02/2016[/TD]
[TD="bgcolor: #cacaca, align: center"]12[/TD]
[TD="bgcolor: #dce6f1, align: right"]12/02/2016[/TD]
[TD="bgcolor: #cacaca, align: center"]13[/TD]
[TD="align: right"]15/02/2016[/TD]
[TD="bgcolor: #cacaca, align: center"]14[/TD]
[TD="bgcolor: #dce6f1, align: right"]16/02/2016[/TD]
[TD="bgcolor: #cacaca, align: center"]15[/TD]
[TD="align: right"]17/02/2016[/TD]
[TD="bgcolor: #cacaca, align: center"]16[/TD]
[TD="bgcolor: #dce6f1, align: right"]18/02/2016[/TD]
[TD="bgcolor: #00ccff"]PDH[/TD]
[TD="bgcolor: #cacaca, align: center"]17[/TD]
[TD="align: right"]19/02/2016[/TD]
[TD="bgcolor: #cacaca, align: center"]18[/TD]
[TD="bgcolor: #dce6f1, align: right"]22/02/2016[/TD]
[TD="bgcolor: #cacaca, align: center"]19[/TD]
[TD="align: right"]23/02/2016[/TD]
[TD="bgcolor: #ffcc00"]Inv Maths[/TD]
[TD="bgcolor: #cacaca, align: center"]20[/TD]
[TD="bgcolor: #dce6f1, align: right"]24/02/2016[/TD]
[TD="bgcolor: #00ccff"]PDH[/TD]
[TD="bgcolor: #cacaca, align: center"]21[/TD]
[TD="align: right"]25/02/2016[/TD]
[TD="bgcolor: #c0c0c0"]Sport[/TD]
[TD="bgcolor: #c0c0c0"]Sport[/TD]
[TD="bgcolor: #cacaca, align: center"]22[/TD]
[TD="bgcolor: #dce6f1, align: right"]26/02/2016[/TD]
[TD="bgcolor: #ffcc00"]Inv Maths[/TD]
[TD="bgcolor: #cacaca, align: center"]23[/TD]
[TD="bgcolor: #dce6f1, align: right"]1/03/2016[/TD]
[TD="bgcolor: #c0c0c0"]Sport[/TD]
[TD="bgcolor: #ffcc00"]Inv Maths[/TD]
[TD="bgcolor: #cacaca, align: center"]24[/TD]
[TD="bgcolor: #dce6f1, align: right"]2/03/2016[/TD]
[TD="bgcolor: #c0c0c0"]Sport[/TD]
[TD="bgcolor: #cacaca, align: center"]25[/TD]
[TD="bgcolor: #dce6f1, align: right"]3/03/2016[/TD]
[TD="bgcolor: #00ccff"]PDH[/TD]
[TD="bgcolor: #cacaca, align: center"]26[/TD]
[TD="bgcolor: #dce6f1, align: right"]4/03/2016[/TD]
[TD="bgcolor: #ffff00"]Maths[/TD]
[TD="bgcolor: #ffcc00"]Inv Maths[/TD]
[TD="bgcolor: #99cc00"]Graphics[/TD]
[TD="bgcolor: #99cc00"]Graphics[/TD]
[TD="bgcolor: #c0c0c0"]CAT[/TD]
[TD="bgcolor: #cacaca, align: center"]27[/TD]
[TD="bgcolor: #dce6f1, align: right"]7/03/2016[/TD]
[TD="bgcolor: #99cc00"]Graphics[/TD]
[TD="bgcolor: #969696"]HSIE[/TD]
[TD="bgcolor: #ffcc00"]Inv Maths[/TD]
[TD="bgcolor: #ffcc00"]Inv Maths[/TD]
[TD="bgcolor: #cacaca, align: center"]28[/TD]
[TD="bgcolor: #dce6f1, align: right"]8/03/2016[/TD]
[TD="bgcolor: #ffff00"]Maths[/TD]
[TD="bgcolor: #ffcc00"]Inv Maths[/TD]
[TD="bgcolor: #99cc00"]Graphics[/TD]
[TD="bgcolor: #969696"]HSIE[/TD]
[TD="bgcolor: #cacaca, align: center"]29[/TD]
[TD="bgcolor: #dce6f1, align: right"]9/03/2016[/TD]
[TD="bgcolor: #ffff00"]Maths[/TD]
[TD="bgcolor: #00ccff"]PDH[/TD]
[TD="bgcolor: #969696"]HSIE[/TD]
[TD="bgcolor: #c0c0c0"]CAT[/TD]
[TD="bgcolor: #cacaca, align: center"]30[/TD]
[TD="bgcolor: #dce6f1, align: right"]10/03/2016[/TD]
[TD="bgcolor: #ffff00"]Maths[/TD]
[TD="bgcolor: #c0c0c0"]CAT[/TD]
[TD="bgcolor: #c0c0c0"]Sport[/TD]
[TD="bgcolor: #c0c0c0"]Sport[/TD]
[TD="bgcolor: #cacaca, align: center"]31[/TD]
[TD="bgcolor: #dce6f1, align: right"]11/03/2016[/TD]
[TD="bgcolor: #ffff00"]Maths[/TD]
[TD="bgcolor: #ffcc00"]Inv Maths[/TD]
[TD="bgcolor: #99cc00"]Graphics[/TD]
[TD="bgcolor: #969696"]HSIE[/TD]
[TD="bgcolor: #cacaca, align: center"]32[/TD]
[TD="bgcolor: #dce6f1, align: right"]14/03/2016[/TD]
[TD="bgcolor: #969696"]HSIE[/TD]
[TD="bgcolor: #ffcc00"]Inv Maths[/TD]
[TD="bgcolor: #c0c0c0"]CAT[/TD]
[TD="bgcolor: #ffff00"]Maths[/TD]
[TD="bgcolor: #cacaca, align: center"]33[/TD]
[TD="bgcolor: #dce6f1, align: right"]15/03/2016[/TD]
[TD="bgcolor: #ffff00"]Maths[/TD]
[TD="bgcolor: #969696"]HSIE[/TD]
[TD="bgcolor: #c0c0c0"]Sport[/TD]
[TD="bgcolor: #ffcc00"]Inv Maths[/TD]
[TD="bgcolor: #99cc00"]Graphics[/TD]
[TD="bgcolor: #cacaca, align: center"]34[/TD]
[TD="bgcolor: #dce6f1, align: right"]16/03/2016[/TD]
[TD="bgcolor: #ffff00"]Maths[/TD]
[TD="bgcolor: #c0c0c0"]Sport[/TD]
[TD="bgcolor: #969696"]HSIE[/TD]
[TD="bgcolor: #99cc00"]Graphics[/TD]
[TD="bgcolor: #cacaca, align: center"]35[/TD]
[TD="bgcolor: #dce6f1, align: right"]17/03/2016[/TD]
[TD="bgcolor: #00ccff"]PDH[/TD]
[TD="bgcolor: #969696"]HSIE[/TD]
[TD="bgcolor: #ffff00"]Maths[/TD]
[TD="bgcolor: #c0c0c0"]CAT[/TD]
[TD="bgcolor: #cacaca, align: center"]36[/TD]
[TD="bgcolor: #dce6f1, align: right"]18/03/2016[/TD]
[TD="bgcolor: #ffff00"]Maths[/TD]
[TD="bgcolor: #ffcc00"]Inv Maths[/TD]
[TD="bgcolor: #99cc00"]Graphics[/TD]
[TD="bgcolor: #99cc00"]Graphics[/TD]
[TD="bgcolor: #c0c0c0"]CAT[/TD]
[TD="bgcolor: #cacaca, align: center"]37[/TD]
[TD="bgcolor: #dce6f1, align: right"]21/03/2016[/TD]
[TD="bgcolor: #99cc00"]Graphics[/TD]
[TD="bgcolor: #969696"]HSIE[/TD]
[TD="bgcolor: #ffcc00"]Inv Maths[/TD]
[TD="bgcolor: #ffcc00"]Inv Maths[/TD]
[TD="bgcolor: #cacaca, align: center"]38[/TD]
[TD="bgcolor: #dce6f1, align: right"]22/03/2016[/TD]
</tbody>
Excel tables to the web >> Excel Jeanie HTML 4
This table shows each subject, the last date (i.e. I want to count each subject that falls after this date), the column where I have been trying to calculate it and finally the results that I think I should have (colour coded from the first table just to make it easier to see. it serves no other purpose)
Sheet1
* | I | J | K | L |
Subject | Last Date | Lessons missed since last attendance | Answer should be | |
Maths | #VALUE! | |||
English | #VALUE! | |||
Science | #VALUE! | |||
Inv Maths | #VALUE! | |||
Graphics | #VALUE! | |||
HSIE | #VALUE! | |||
CAT | #VALUE! | |||
PDH | Never | #VALUE! | ||
Sport | #VALUE! |
<colgroup><col style="font-weight:bold; width:30px; "><col style="width:68px;"><col style="width:136px;"><col style="width:252px;"><col style="width:134px;"></colgroup><tbody>
[TD="bgcolor: #cacaca, align: center"]1[/TD]
[TD="bgcolor: #cacaca, align: center"]2[/TD]
[TD="align: right"]3/03/2016[/TD]
[TD="bgcolor: #ffff00, align: right"]10[/TD]
[TD="bgcolor: #cacaca, align: center"]3[/TD]
[TD="align: right"]21/03/2016[/TD]
[TD="align: right"]0[/TD]
[TD="bgcolor: #cacaca, align: center"]4[/TD]
[TD="align: right"]21/03/2016[/TD]
[TD="align: right"]0[/TD]
[TD="bgcolor: #cacaca, align: center"]5[/TD]
[TD="align: right"]22/02/2016[/TD]
[TD="bgcolor: #ffcc00, align: right"]13[/TD]
[TD="bgcolor: #cacaca, align: center"]6[/TD]
[TD="align: right"]2/03/2016[/TD]
[TD="bgcolor: #99cc00, align: right"]10[/TD]
[TD="bgcolor: #cacaca, align: center"]7[/TD]
[TD="align: right"]3/03/2016[/TD]
[TD="bgcolor: #969696, align: right"]9[/TD]
[TD="bgcolor: #cacaca, align: center"]8[/TD]
[TD="align: right"]3/03/2016[/TD]
[TD="bgcolor: #c0c0c0, align: right"]6[/TD]
[TD="bgcolor: #cacaca, align: center"]9[/TD]
[TD="bgcolor: #00ccff, align: right"]7[/TD]
[TD="bgcolor: #cacaca, align: center"]10[/TD]
[TD="align: right"]17/02/2016[/TD]
[TD="bgcolor: #c0c0c0, align: right"]8[/TD]
</tbody>
Spreadsheet Formulas | ||||
<tbody> </tbody> |
<tbody>
</tbody>
Excel tables to the web >> Excel Jeanie HTML 4
I will note that in the real workbook:
- the "Last date" is a calculated answer
- the "Missed classes_Pn" are calculated
- Both tables are Excel Tables not just pretty formatting
Can anybody please help out with fixing the formula so it works?
I have tried the first part of the formula (counting all occurrences of each subject) by itself and it works OK.
I have tried a few variants of the date portion but just can't get it.
I have tried using on a fixed date without any greater than or greater than equal to where I know a subject exists (so should get a count of 1) but still doesn't work at all.
I have searched this site and others but just can't find anything that works
If I need to use helper columns etc, that is OK. For a number of reasons I'd prefer to avoid any VBA.
The "Never" "Last Date" can easily be replaced with a real date (such as 28/1/2016)
Many thanks in advance.
Cheers,
Darren