Hello,
I'm trying to make a formula that counts values from Sheet A against multiple columns in Sheet B, if only 1 total match is found, then lookup values from Sheet A against Sheet B and based on the result, pull in the value from a Status column. If either too many same results or no results are found return a text value "Not Found" (this is temporary).
The closest I have gotten is the following formula (The formula is in Sheet A, "Projects Tracker X" is Sheet B):
=IF(COUNTIFS({Projects Tracker Establishment}, Location@row, {Projects Tracker Project ID}, [Project ID]@row, {Projects Tracker Project Name}, [Project Name]@row) = 1, (COLLECT({Projects Tracker Project Status}, {Projects Tracker Establishment}, Location@row, {Projects Tracker Project ID}, [Project ID]@row, {Projects Tracker Project Name}, [Project Name]@row), "Not Found")
Currently the formula works for the "Not Found" section, but returns #INVALID COLUMN VALUE if only 1 match is found.
Is anyone able to help me fix this please?
Thanks