How to avoid circular reference?
I am trying to sum purchase orders based on where the items are coming from.
=SUMIFS([Bag - 55 Gal Trash]:[Bag - 55 Gal Trash], [Were these provided by the Warehouse or Job?]:[Were these provided by the Warehouse or Job?], "Warehouse")
=SUMIFS([Bag - 55 Gal Trash]:[Bag - 55 Gal Trash], [Were these provided by the Warehouse or Job?]:[Were these provided by the Warehouse or Job?], "Job")
I am trying to put these formulas in the top rows of the Bag column in order to sum all of the order for bags based on where it is being fulfilled. It works if I put the formulas in another column but for the visual aid, I would like it in this location.
Theoretically these formulas don't reference each other because Warehouse and Job will never be in the same cell so there is no overlap of data. Is there another combination of formulas I can use?
Answers
-
If the sheet will have a set number of rows to look at or never go above a certain number of rows you can do the formula as
=SUMIFS([Bag - 55 Gal Trash]3:[Bag - 55 Gal Trash]whatever max row number would be, [Were these provided by the Warehouse or Job?]:[Were these provided by the Warehouse or Job?], "Warehouse")
This should prevent it from looking at the first and second row and prevent the error.
-
Unfortunately this sheet will populate from an order form so there will be an undetermined number of rows.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 439 Global Discussions
- 138 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!