Return a value based on multiple criteria
Hi Formula gurus
I am looking for formula which returns a value from a single column based on multiple criteria. So from one sheet I have a part number column a Order no column and I want to return the purchase order no from another sheet which has the fields part number and order no fields in it too for the match.
Hoping someone can help :-) #uselessatformulas
Answers
-
Hi @GM185220
See if this helps you out. IF not let me know and I should be able to help.
=Index(Collect({Purchase Order Ref},{Part Number Ref},[Part Number]@row,{Order Number Ref},[Order Number]@row),0)
If you found this comment helpful. Please respond with any of the buttons below. Awesome🖤, Insightful💡, Upvote⬆️, or accepted answer. Not only will this help others searching for the same answer, but help me as well. Thank you.
-
@Mark Poole - Can I use an index match I am more familiar with that?
-
@GM185220 index match only lets you use one criteria. Thus index(collect()). Just copy that formula and replace the part where is said… ref with what ever your references are. Personally I think index collect is more strait forward then index match. And your rows that correspond with where I put at row. If I knew your actual ref names and your actual column names I could just build the whole formula for you
If you found this comment helpful. Please respond with any of the buttons below. Awesome🖤, Insightful💡, Upvote⬆️, or accepted answer. Not only will this help others searching for the same answer, but help me as well. Thank you.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.1K Get Help
- 380 Global Discussions
- 212 Industry Talk
- 444 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 450 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 290 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!