Good morning everybody,
After years of going to this forum as a shadow, I have decided to create an account.
I am struggling to come up with a formula, which some of you are probably going to find quite simple! But for me, the struggle is real! I have tried to look around Google, but either I am not using the right key words, or no one had that problem before (which I would find surprising).
So to explain it in an easy way: I have this table, with different dates for different projects. What I am trying to do, is to count how many times a date within a specific column occurs per month in say the month of January.
I have used the below formula which works perfectly fine:
(the table looks pretty like this)
[TABLE="width: 500"]
<tbody>[TR]
[TD]B[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]Project A[/TD]
[TD]01/01/2018[/TD]
[/TR]
[TR]
[TD]Project B[/TD]
[TD]01/01/2018[/TD]
[/TR]
[TR]
[TD]Project C[/TD]
[TD]01/02/2018[/TD]
[/TR]
</tbody>[/TABLE]
=SUMPRODUCT(1*(MONTH('Projects sheet'!$B$9:$B$25)=C$22)*(YEAR('Projects sheet'!$B$9:$B$25)=$D$21))
B = is the column where the dates are;
C22 = Month of January;
D21 = Year 2018
However, I would like to bring a new tweak to this table, by only counting occurrences of "Live" projects.
With this in mind, there would be a new column against each project names, stating if a project is Live.
[TABLE="width: 500"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]Live[/TD]
[TD]Project A[/TD]
[TD]01/01/2018[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Project B[/TD]
[TD]01/01/2018[/TD]
[/TR]
[TR]
[TD]Live[/TD]
[TD]Project C[/TD]
[TD]01/02/2018[/TD]
[/TR]
</tbody>[/TABLE]
Therefore, I would be grateful if someone could give me some pointers on how to tweak the original formula so it can take into account column A in the counting.
Does anyone have any idea?
After years of going to this forum as a shadow, I have decided to create an account.
I am struggling to come up with a formula, which some of you are probably going to find quite simple! But for me, the struggle is real! I have tried to look around Google, but either I am not using the right key words, or no one had that problem before (which I would find surprising).
So to explain it in an easy way: I have this table, with different dates for different projects. What I am trying to do, is to count how many times a date within a specific column occurs per month in say the month of January.
I have used the below formula which works perfectly fine:
(the table looks pretty like this)
[TABLE="width: 500"]
<tbody>[TR]
[TD]B[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]Project A[/TD]
[TD]01/01/2018[/TD]
[/TR]
[TR]
[TD]Project B[/TD]
[TD]01/01/2018[/TD]
[/TR]
[TR]
[TD]Project C[/TD]
[TD]01/02/2018[/TD]
[/TR]
</tbody>[/TABLE]
=SUMPRODUCT(1*(MONTH('Projects sheet'!$B$9:$B$25)=C$22)*(YEAR('Projects sheet'!$B$9:$B$25)=$D$21))
B = is the column where the dates are;
C22 = Month of January;
D21 = Year 2018
However, I would like to bring a new tweak to this table, by only counting occurrences of "Live" projects.
With this in mind, there would be a new column against each project names, stating if a project is Live.
[TABLE="width: 500"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]Live[/TD]
[TD]Project A[/TD]
[TD]01/01/2018[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Project B[/TD]
[TD]01/01/2018[/TD]
[/TR]
[TR]
[TD]Live[/TD]
[TD]Project C[/TD]
[TD]01/02/2018[/TD]
[/TR]
</tbody>[/TABLE]
Therefore, I would be grateful if someone could give me some pointers on how to tweak the original formula so it can take into account column A in the counting.
Does anyone have any idea?