I've been trying to figure out what to do with this formula and decided I've been staring at it long enough on my own. I'm trying to count the YTD total of resolution types of customers with Pick Planner and License Plate function types (customer has to have BOTH). I was able to use a similar formula for YTD total of customers with pick planner and license plate function types and it gave me the exact amount I was expecting. But the resolution type formula is counting wayyy more than it should.
YTD total of customers with pick planner and license plate: =IF(OR(COUNTIFS({Function Type}, "Pick planner", {Customer Name}, [Customer Name]@row, {Year}, [Current Year]#) = 0, COUNTIFS({Function Type}, "License Plate", {Customer Name}, [Customer Name]@row, {Year}, [Current Year]#) = 0), "", COUNTIFS({Function Type}, "Pick planner", {Customer Name}, [Customer Name]@row, {Year}, [Current Year]#) + COUNTIFS({Function Type}, "License Plate", {Customer Name}, [Customer Name]@row, {Year}, [Current Year]#))
YTD total of resolution types of customers with Pick Planner and License Plate function types: =IF(OR(COUNTIFS({Function type}, "Pick Planner", {Resolution type}, [Resolution Type]@row, {Year}, [Current Year]#) = 0, COUNTIFS({Function type}, "License Plate", {Resolution type}, [Resolution Type]@row, {Year}, [Current Year]#) = 0), "", COUNTIFS({Function type}, "Pick Planner", {Resolution type}, [Resolution Type]@row, {Year}, [Current Year]#) + COUNTIFS({Function type}, "License Plate", {Resolution type}, [Resolution Type]@row, {Year}, [Current Year]#))
Example: Code resolution type should be 45, but with the above formula I'm getting 154.