My below formula references the Finish date column, {Sales Pipeline Range 5}, and works perfectly. (This column feeds off the Duration column from the date in the Start date column).
=IFERROR(SUMIFS({Sales Pipeline Range 1}, {Sales Pipeline Range 2}, [Account Name]@row, {Sales Pipeline Range 3}, OR(@cell = "Schedule", @cell = "In Progress", @cell = "Not Started"), {Sales Pipeline Range 5}, AND(MONTH(@cell) = 10, YEAR(@cell) = 2021)), 0)
However, if I change the Finish column to another date column, {Sales Pipeline Range 4}, it now doesn't work. (The dates are typed into this new column or selected from the calendar function in that column.
=IFERROR(SUMIFS({Sales Pipeline Range 1}, {Sales Pipeline Range 2}, [Account Name]@row, {Sales Pipeline Range 3}, OR(@cell = "Schedule", @cell = "In Progress", @cell = "Not Started"), {Sales Pipeline Range 4}, AND(MONTH(@cell) = 12, YEAR(@cell) = 2021)), 0)
I have done a test row with all columns blank except the four ranges referenced, and then it works. I also tried deleting all the sheet references and starting again, but it does not rectify the Range 4 issue. How can I get this formula to work?