I'm getting an invalid value error but I'm not sure why with the following formula:
=IF([Journal Source]@row = "Supplier Invoice", INDEX(COLLECT({Forecast Sheet Row Number}, {Forecast Sheet Supplier}, Supplier@row, {Forecast Sheet Month}, [2023 Month]@row), 1))
Referenced Sheet:
Original Sheet (With Formula in the matching forecast column):
Here's my attempted logic with the formula:
If Journal source is Supplier invoice, then return the row number on the condition that the supplier and month match.
Ideally I want the formula to lookin within the other sheet to find that match. But the invalid value is throwing me off
Q's:
- Why do we have an invalid value and how can I fix it?
- Am I using the right formula for my logic?