Hi All,
Having a bit of a problem with one of the longer formulas I am using for a new template that I am building.
Long story short I'm looking to return a value based on 3 different criteria from three different ranges that are determined by the days of the month. e.g. I want to find out what customer dealt with what client, the nature of their business and I want it to be determined by the day in question.
So I have written the following and it is returning 0.
=COUNT(IF((INDIRECT("Input!H"&L6&":H"&L7)=G$1)*(INDIRECT("Input!I"&L6&":I"&L7)=$A4)*(INDIRECT("Input!J"&L6&":J"&L7)=$A$3),(INDIRECT("Input!K"&L6&":K"&L7))))
I have a formula that I am already using
=COUNT(IF((Input!$I$2:$I$1982=Consolidated!$A4)*(Input!$H$2:$H$1978=Consolidated!F$1)*(Input!$J$2:$J$1977=Consolidated!$A$3),Input!$K$2:$K$1985))
which is returning the value that I want, but it is the total for the month rather than the days in question. Hence the attempted INDIRECT in the first formula above.
So if anyone can help me I would appreciate greatly. I'm sure its something relatively simple, but I cant see it.
Guys I appreciate any help you can give and if you need me to provide more colour on the above formulas to help you help me, then I will! :-)
All the best
Simon
Bookmarks