leearmitage
New Member
- Joined
- May 14, 2014
- Messages
- 8
- Office Version
- 2016
- Platform
- Windows
I have the following formula which works correctly. It counts the number of times the word "error" is found in column A when column B is equal to a particular date held in cell $D$2, and Column C is equal to any value in a table called lu_tbl_branch. That table is dynamic, so sometimes it may have 1 entry, other times it could be 30 or more (so I can't hard code the values)
=SUMPRODUCT(COUNTIFS(
loading_Appended_Source[Column A],"*error*",
loading_Appended_Source[Column B],D$2,
loading_Appended_Source[Column C],lu_tbl_branch))
I would like to adjust the formula so that I can also refer to other dynamic tables (called lu_tbl_exec and lu_tbl_from). I've tried the following but no success, so hoping you can help me!
=SUMPRODUCT(COUNTIFS(
loading_Appended_Source[[Column A],"*error*",
loading_Appended_Source[[Column B],D$2,
loading_Appended_Source[[Column C],lu_tbl_branch,
loading_Appended_Source[[Column D],lu_tbl_exec,
loading_Appended_Source[[Column E],lu_tbl_from))
=SUMPRODUCT(COUNTIFS(
loading_Appended_Source[Column A],"*error*",
loading_Appended_Source[Column B],D$2,
loading_Appended_Source[Column C],lu_tbl_branch))
I would like to adjust the formula so that I can also refer to other dynamic tables (called lu_tbl_exec and lu_tbl_from). I've tried the following but no success, so hoping you can help me!
=SUMPRODUCT(COUNTIFS(
loading_Appended_Source[[Column A],"*error*",
loading_Appended_Source[[Column B],D$2,
loading_Appended_Source[[Column C],lu_tbl_branch,
loading_Appended_Source[[Column D],lu_tbl_exec,
loading_Appended_Source[[Column E],lu_tbl_from))