Hello. I think this one will be a lay-up for a lot of you, but I just can't seem to get it to work. I am trying to do a SUM IF formula where the formula searches a defined range and sums the values from another range as long as values from a 3rd list are not found in the searched range. The formula I am trying to get to work is:
{=SUM(IF(BPTestGLAccountNumber<>ExcludedGLAccounts,BPTestCl1GLAccountBalance,""))}
Where:
BPTestGLAccountNumber is the range of cells to search on the main tab (A15:A1000 on sheet 1)
ExcludedGLAccounts is a range/list of values to be excluded from the search of BPTest4500GLAccountNumber (D15:D1000 on sheet 2)
BPTestCl1GLAccountBalance is the list of values to be summed (F15:F1000 on sheet 1)
Upon searching other posts, I have also tried to apply the following, which did not work:
=IF(COUNTIF(ExcludedGLAccounts,BPTest4500GLAccountNumber),"",SUM(BPTest4500Cl1GLAccountBalance))
Thanks!
{=SUM(IF(BPTestGLAccountNumber<>ExcludedGLAccounts,BPTestCl1GLAccountBalance,""))}
Where:
BPTestGLAccountNumber is the range of cells to search on the main tab (A15:A1000 on sheet 1)
ExcludedGLAccounts is a range/list of values to be excluded from the search of BPTest4500GLAccountNumber (D15:D1000 on sheet 2)
BPTestCl1GLAccountBalance is the list of values to be summed (F15:F1000 on sheet 1)
Upon searching other posts, I have also tried to apply the following, which did not work:
=IF(COUNTIF(ExcludedGLAccounts,BPTest4500GLAccountNumber),"",SUM(BPTest4500Cl1GLAccountBalance))
Thanks!