I currently have if functions to count and sum how many wins a rep has however we are now introducing teams into the mix. I was wondering if i could have it sum anything that has either a sales rep name or team name.
the 2 formulas i have now are below with the rep or teams name (dynamic).
can i have it search for either a match in the rep or the team column rather than having to change the formula each time i change it from a rep to team or visa versa?
=SUMIFS([Quote Value Ex GST]:[Quote Value Ex GST], [Sales Rep]:[Sales Rep], =$[M-1]@row, [Won Date]:[Won Date], AND(IFERROR(YEAR(@cell), 0) = $[M-1]$17, IFERROR(MONTH(@cell), 0) = $[M-7]$23))
=SUMIFS([Quote Value Ex GST]:[Quote Value Ex GST], [Team]:[Team], =$[M-1]@row, [Won Date]:[Won Date], AND(IFERROR(YEAR(@cell), 0) = $[M-1]$17, IFERROR(MONTH(@cell), 0) = $[M-7]$23))