Jul 02 2019 04:01 AM
Hi,
I´m struggling a bit with the formula to calculate my conditions. I´ve attached an example file to giv an understanding.
My conditions are two date columns (A & B) and one date row (H6:ID6). I have four hypothetical sales persons (C6:F6) whom get marked with an "x" (C7:F7 and down) if they do a sale within the given date range in my columns.
My headache is how to calculate the number of "ongoing sales" per day each salesman have (HI:ID4).
So the critera of an "x" within a date range needs to meet that the dates in the date row occurs during the range and then calcuate the number of occurrences of "x" during that specific date.
Anyone that has some valuable input on how to build this formula?
Kind regards,
Viktor
Jul 02 2019 09:32 PM
SolutionIn the attached file, the formula in H1 is:
=COUNTIFS($A$8:$A$334,"<="&H$6,
$B$8:$B$334,">="&H$6,
$C$8:$C$334,"x")
The formulas in H2:H4 are similar, then copied across columns until Column ID.
Jul 03 2019 04:08 AM
Jul 02 2019 09:32 PM
SolutionIn the attached file, the formula in H1 is:
=COUNTIFS($A$8:$A$334,"<="&H$6,
$B$8:$B$334,">="&H$6,
$C$8:$C$334,"x")
The formulas in H2:H4 are similar, then copied across columns until Column ID.