Hi All,
This has me stuck!
I need a formula that will count the number of a certain value ("P") based on a value (the Item) in the same row and between a set of dates.
A version of my data is below.
I will have a second table with each Item, and next to it the count of Ps (or another value). The formula needs to be able to accept an input of the item, and have a variable set of dates so that the parameters "Item 1", "03/07/2018", "05/07/2018" and "P" should return the value of 3 (the number of Ps for Item 1 between 3rd and 5th of July)
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD="width: 46"]Item[/TD]
[TD="width: 22, align: right"]01/07/2018[/TD]
[TD="width: 22, align: right"]02/07/2018[/TD]
[TD="width: 22, align: right"]03/07/2018[/TD]
[TD="width: 22, align: right"]04/07/2018[/TD]
[TD="width: 22, align: right"]05/07/2018[/TD]
[TD="width: 22, align: right"]06/07/2018[/TD]
[/TR]
[TR]
[TD]Item 1[/TD]
[TD][/TD]
[TD]P[/TD]
[TD]P[/TD]
[TD]P[/TD]
[TD]P[/TD]
[TD]P[/TD]
[/TR]
[TR]
[TD]Item 2[/TD]
[TD][/TD]
[TD]P[/TD]
[TD]P[/TD]
[TD]P[/TD]
[TD]P[/TD]
[TD]P[/TD]
[/TR]
[TR]
[TD]Item 3[/TD]
[TD][/TD]
[TD]P[/TD]
[TD]P[/TD]
[TD]P[/TD]
[TD]P[/TD]
[TD]P[/TD]
[/TR]
</tbody>[/TABLE]
Any help would be greatly appreciated!!
This has me stuck!
I need a formula that will count the number of a certain value ("P") based on a value (the Item) in the same row and between a set of dates.
A version of my data is below.
I will have a second table with each Item, and next to it the count of Ps (or another value). The formula needs to be able to accept an input of the item, and have a variable set of dates so that the parameters "Item 1", "03/07/2018", "05/07/2018" and "P" should return the value of 3 (the number of Ps for Item 1 between 3rd and 5th of July)
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD="width: 46"]Item[/TD]
[TD="width: 22, align: right"]01/07/2018[/TD]
[TD="width: 22, align: right"]02/07/2018[/TD]
[TD="width: 22, align: right"]03/07/2018[/TD]
[TD="width: 22, align: right"]04/07/2018[/TD]
[TD="width: 22, align: right"]05/07/2018[/TD]
[TD="width: 22, align: right"]06/07/2018[/TD]
[/TR]
[TR]
[TD]Item 1[/TD]
[TD][/TD]
[TD]P[/TD]
[TD]P[/TD]
[TD]P[/TD]
[TD]P[/TD]
[TD]P[/TD]
[/TR]
[TR]
[TD]Item 2[/TD]
[TD][/TD]
[TD]P[/TD]
[TD]P[/TD]
[TD]P[/TD]
[TD]P[/TD]
[TD]P[/TD]
[/TR]
[TR]
[TD]Item 3[/TD]
[TD][/TD]
[TD]P[/TD]
[TD]P[/TD]
[TD]P[/TD]
[TD]P[/TD]
[TD]P[/TD]
[/TR]
</tbody>[/TABLE]
Any help would be greatly appreciated!!