Hey everyone . . .
Got a question about a few formulas I am trying to work through. I am attempting, unsuccessfully, to create a formula that will first look at a range and make sure the selected dates are within range and then count the occurrences of a cells value that matches within a range. I will need to do something similar, but get the average time from a different column in Sheet B for the formula in Sheet A column E.
Ideal state for the formula in D3 is - countif (D1>=SheetB!K:K and E1<=SheetB!K:K and C1=SheetB!J:J)
Ideal state for the formula in E3 is - averageif(D1>=SheetB!K:K and E1<=SheetB!K:K and C1=SheetB!J:J) using SheetB A:A as the average column.
Any and all help is greatly appreciated.
If possible I would like to keep this out of VBA.
Thanks!
Sheet A has the following info
[TABLE="width: 500"]
<TBODY>[TR]
[TD]C
[/TD]
[TD]D
[/TD]
[TD]E
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]6/4/2012
[/TD]
[TD]6/6/2012
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Transaction
[/TD]
[TD]Average
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Review Flow
[/TD]
[TD]Formula
[/TD]
[TD]Formula
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</TBODY>[/TABLE]
Sheet B has the following info
[TABLE="width: 500"]
<TBODY>[TR]
[TD]A
[/TD]
[TD][/TD]
[TD]J
[/TD]
[TD]K
[/TD]
[/TR]
[TR]
[TD]1.01
[/TD]
[TD][/TD]
[TD]Review Flow
[/TD]
[TD]6/4/2012
[/TD]
[/TR]
[TR]
[TD]22
[/TD]
[TD][/TD]
[TD]ABC
[/TD]
[TD]6/5/2012
[/TD]
[/TR]
[TR]
[TD]109
[/TD]
[TD][/TD]
[TD]DEF
[/TD]
[TD]6/12/2012
[/TD]
[/TR]
</TBODY>[/TABLE]
Got a question about a few formulas I am trying to work through. I am attempting, unsuccessfully, to create a formula that will first look at a range and make sure the selected dates are within range and then count the occurrences of a cells value that matches within a range. I will need to do something similar, but get the average time from a different column in Sheet B for the formula in Sheet A column E.
Ideal state for the formula in D3 is - countif (D1>=SheetB!K:K and E1<=SheetB!K:K and C1=SheetB!J:J)
Ideal state for the formula in E3 is - averageif(D1>=SheetB!K:K and E1<=SheetB!K:K and C1=SheetB!J:J) using SheetB A:A as the average column.
Any and all help is greatly appreciated.
If possible I would like to keep this out of VBA.
Thanks!
Sheet A has the following info
[TABLE="width: 500"]
<TBODY>[TR]
[TD]C
[/TD]
[TD]D
[/TD]
[TD]E
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]6/4/2012
[/TD]
[TD]6/6/2012
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Transaction
[/TD]
[TD]Average
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Review Flow
[/TD]
[TD]Formula
[/TD]
[TD]Formula
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</TBODY>[/TABLE]
Sheet B has the following info
[TABLE="width: 500"]
<TBODY>[TR]
[TD]A
[/TD]
[TD][/TD]
[TD]J
[/TD]
[TD]K
[/TD]
[/TR]
[TR]
[TD]1.01
[/TD]
[TD][/TD]
[TD]Review Flow
[/TD]
[TD]6/4/2012
[/TD]
[/TR]
[TR]
[TD]22
[/TD]
[TD][/TD]
[TD]ABC
[/TD]
[TD]6/5/2012
[/TD]
[/TR]
[TR]
[TD]109
[/TD]
[TD][/TD]
[TD]DEF
[/TD]
[TD]6/12/2012
[/TD]
[/TR]
</TBODY>[/TABLE]