Hi,
I have two Excel files; File A and File B. They are saved to SharePoint. I edit the files with the Excel desktop client (I sync the files via OneDrive).
In File A I use the formula =IF(COUNTIF(!$R:$R, "Text string 1"), "Text", IF(COUNTIF(!$R:$R, "Text string 2"), "Text", IF(COUNTIF(!$R:$R, "Text string 3"), "Text", ""))) and it checks the column R of File B. When I have both files open in the desktop client the formula works.
When I close both files Excel converts the formula to:
=IF(COUNTIF('[Filename on Sharepoint]Workbook'!$R:$R, "Text string 1"), "Text", IF(COUNTIF('[Filename on Sharepoint]Workbook'!$R:$R, "Text string 2"), "Text", IF(COUNTIF('[Filename on Sharepoint]Workbook' !$R:$R, "Text string 3"), "Text", "")))
Probably because the files are saved on SharePoint.
However when I open file A (either in the Desktop client or the online version) the formula no longer works. It returns a #VALUE error.
Does someone know why the formula breaks and how I can fix this?
I came across a similar question (https://answers.microsoft.com/en-us/msoffice/forum/all/excel-online-workbook-references-within-sharepoint/e35d58d7-3d8f-48d1-aa4e-907cf3eb0450), but the proposed solution does not work for me. The SUM function doesn't work for text strings (as far as I know).