T
Thomas
Hello,
I'm looking to count the number of forecasted dates that occur in a week,
per market.
Currently the way I count them I use:
Market1 (In cells BR2 to BR19):
=COUNTIFS(C_Data!$BR2:$BR19,"<" &
DATE(YEAR(A13),MONTH(A13),DAY(A13)+7),C_Data!$BR2:$BR19,">=" &
DATE(YEAR(A13),MONTH(A13),DAY(A13)))
Market2 (In cells BR20 to BR57):
=COUNTIFS(C_Data!$BR20:$BR57,"<" &
DATE(YEAR(E13),MONTH(E13),DAY(E13)+7),C_Data!$BR20:$BR57,">=" &
DATE(YEAR(E13),MONTH(E13),DAY(E13)))
and so on.. A13 and E13 both reference C32 which is where I type in the
first day of the week.
This works fine, until sometone starts resorting the data on the C_Data tab,
so the dates are not matching what's in the formulas above.
For another TAB on my spreadsheet I count the total number of actualized
items using:
=SUMPRODUCT(-(LEFT(C_Data!$B:$B,2)="Market1"),-(C_Data!$BV:$BV<>""))
So I have been trying to combine the two formulas, but have been
unsuccessful so far. Can anyone help with this?
Let me know if I need to provide more information.
Thanks,
Thomas
I'm looking to count the number of forecasted dates that occur in a week,
per market.
Currently the way I count them I use:
Market1 (In cells BR2 to BR19):
=COUNTIFS(C_Data!$BR2:$BR19,"<" &
DATE(YEAR(A13),MONTH(A13),DAY(A13)+7),C_Data!$BR2:$BR19,">=" &
DATE(YEAR(A13),MONTH(A13),DAY(A13)))
Market2 (In cells BR20 to BR57):
=COUNTIFS(C_Data!$BR20:$BR57,"<" &
DATE(YEAR(E13),MONTH(E13),DAY(E13)+7),C_Data!$BR20:$BR57,">=" &
DATE(YEAR(E13),MONTH(E13),DAY(E13)))
and so on.. A13 and E13 both reference C32 which is where I type in the
first day of the week.
This works fine, until sometone starts resorting the data on the C_Data tab,
so the dates are not matching what's in the formulas above.
For another TAB on my spreadsheet I count the total number of actualized
items using:
=SUMPRODUCT(-(LEFT(C_Data!$B:$B,2)="Market1"),-(C_Data!$BV:$BV<>""))
So I have been trying to combine the two formulas, but have been
unsuccessful so far. Can anyone help with this?
Let me know if I need to provide more information.
Thanks,
Thomas