I'm trying to use workaround formulas for CountIf and SumIf as they don't work when used in linked spreadsheets if the source workbook is closed. I've tried using SumProduct as well as Count(If) but received #Spill! Errors.
If you had the following data in a SourceData.xlsx:
|LibraryID |FeesDue |Returned
|1 | 0 | Y
|2 |#N/A | Y
|3 |100 |
I then need totala in the other spreadheet MergedData.xlsx
|SumOfFees |TotalCountOfFees |TotalCountOfReturned
| 100 | 1 |2
**I have to use the whole column as a range as the source data will change so I can't specify a range. However, I'm trying to include using column A where not null to help create a dynamic range which is what I think is causing the spill/error messages. Also notice when trying to sum fees there is text in the column. How do you get around that not using a sumif. Also,
Use
=MAX(MATCH(IF({0;1},"Ω",77^77),[SourceData.xlsx]Sheet1!$A:$A))
to determine the last-used cell in column A of the SourceData workbook and incorporate this within your SUMPRODUCT
formulas.