INDEX(COLLECT Returning #Invalid Value
Hello,
I am getting #invalid value witht he following formula:
=INDEX(COLLECT({Purchase Quantity}, {DepartmentConsolidation}, "112", {Consumables}, $[Product Description]@row, {Purchase Date}, >=[Week Start Date]@row, {Purchase Date}, <=[Week End Date]@row), 1)
There is definitely a match on the sheet and if I remove " {DepartmentConsolidation}, "112"" from the formula it works. Ayhelp would be most appreciated
Answers
-
Double check the source data in the {DepartmentConsolidation} range to see if that error is present in any cell.
-
Thanks Paul,
The error is not present in any cell. What's weird is I am using essentially the exact same formula in a separate sheet which is working perfectly. The only discrepancy is that the reference is for {Department} a separate column, that formula is as follows
=IFERROR(INDEX(COLLECT({Purchase Quantity}, {Consumables}, $[Product Description]@row, {Department}, "Eureka-Manufacturing", {Purchase Date}, >=[Week Start Date]251, {Purchase Date}, <=[Week End Date]251), 1), " ")
if I change the formula in the sheet I am working on to match it except changing {Department} to "112-Warehouse" I get #INCORRECT ARGUMENT:
=INDEX(COLLECT({Purchase Quantity}, {Consumables}, $[Product Description]@row, {Department}, "112-Warehouse", {Purchase Date}, >=[Week Start Date]@row, {Purchase Date}, <=[Week End Date]@row), 1)
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 437 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!