I have the two example sheets below:
sheet2.JPG
sheet3.PNG
(The example table above is highly simplified for this question)
I'm trying to write a formula that adds the total occurrences of A under the year 2017 (Answer is 3)
This formula works if I add two COUNTIF together for each sheet:
I tried to combine them into a single formula below. However I'm getting a #Value error. "Sheets" is a named range consisting of {Sheet2, Sheet3}.
Why is the above formula giving me an error when I try to use the named range?
I have attached the example excel file. Appreciate any help.
Bookmarks